CSIPProfileRegistryBase Class Reference
class CSIPProfileRegistryBase : public CBase |
The class functions for retrieving SIP profiles from permanent storage. It enables retrieval of single or more profiles from permanent storage located in profile server.
The class enables also the query of supported profile types.
This class is an abstract class and cannot be instantiated.
sipprofilecli.lib
Constructor & Destructor Documentation
CSIPProfileRegistryBase(MSIPProfileRegistryObserver &)
~CSIPProfileRegistryBase()
IMPORT_C | ~CSIPProfileRegistryBase | ( | ) | |
Member Functions Documentation
AddProfileL(CSIPProfile &)
AddedL(TUint32)
SIP profile creation event.
Parameters
TUint32 aProfileId | id of new SIP Profile |
BaseConstructL()
void | BaseConstructL | ( | ) | [protected] |
Symbian 2nd phase base class constructor
CrashRevert(TAny *)
void | CrashRevert | ( | TAny * | aItem | ) | [static] |
Roll back in case of failure
Parameters
TAny * aItem | object to be cleaned |
DefaultProfileL()
Gets the default profile
- leave
- KErrNotFound if profile not found
- leave
- KErrNoMemory if out of memory
- capability
- ReadUserData
DisableProfileL(CSIPProfile &)
EnableProfileL(CSIPProfile &)
ErrorOccurredL(TUint32, TInt, TInt)
An asynchronous error has occurred related to SIP profile
Parameters
TUint32 aProfileId | the id of failed profile |
TInt aStatus | |
TInt aError | a error code |
ForceDisableProfileL(CSIPProfile &)
Force disable profile All Profile related activities will be stopped ungracefully
IsDefaultProfileL(const CSIPProfile &)
Checks whether profile is default or not
Itc()
Gets the ITC member variable. The owneship of ITC is not transferred.
ItcReceiver()
Gets the ITC receiver member variable. The owneship of ITC receiver is not transferred.
LastRegistrationError(const CSIPProfile &)
Gets the last occurred error during registration
LocalCrashRevert(TAny *)
void | LocalCrashRevert | ( | TAny * | aItem | ) | [static] |
Roll back in case of failure
Parameters
TAny * aItem | object to be cleaned |
NegotiatedSecurityMechanismL(CSIPConcreteProfile &)
Updates SIP profile value for negotiated security mechanism; leaves on failure
ProfileDeleted(CSIPProfile &)
Informs destruction of local profile object instance
ProfileIndex(TUint)
TInt
| ProfileIndex | ( | TUint | aProfileId | ) | [protected] |
Gets profile cache item index
Parameters
TUint aProfileId | a profile id to be found |
ProfileItemByIndex(TUint)
Gets profile cache item by index
Parameters
TUint aIndex | a index of the profile to be found |
ProfileItemL(TUint)
Parameters
TUint aProfileId | a profile id to be found |
ProfileL(TUint32)
Gets SIP profile identified by the Id The owneship of profile is transferred.
- leave
- KErrNotFound if profile is not found
- capability
- ReadUserData
ProfilesCommonL(RPointerArray< CSIPProfile > &, CSIPConcreteProfileHolder *)
ProfilesL(RPointerArray< CSIPProfile > &)
Gets all SIP profiles
- Pre-condition
- aProfiles.Count() == 0
- leave
- KErrNoMemory if out of memory
- capability
- ReadUserData
Parameters
RPointerArray< CSIPProfile > & aProfiles | a reference to a client-owned array, which on return is filled with all existing SIP profiles |
ProfilesL(const TSIPProfileTypeInfo &, RPointerArray< CSIPProfile > &)
Gets all SIP profiles of particular type The owneship of profiles are transferred.
- Pre-condition
- aProfiles.Count() == 0
- leave
- KErrNoMemory if out of memory
- capability
- ReadUserData
ProfilesL(const TDesC8 &, RPointerArray< CSIPProfile > &)
Gets SIP profile for a particular SIP AOR The owneship of profiles are transferred.
- Pre-condition
- aProfiles.Count() == 0
- leave
- KErrNoMemory if out memory
- capability
- ReadUserData
Parameters
const TDesC8 & aAOR | a SIP AOR e.g. |
RPointerArray< CSIPProfile > & aProfiles | a reference to a client-owned array, which on return is filled with profiles of the given type. |
RegisteredAORsL(CSIPConcreteProfile &)
Updates SIP profile value for registered AORs; leaves on failure
RegistrationStatusChangedL(TUint32, TInt, TUint32)
SIP profile registration status changed event
Parameters
TUint32 aProfileId | id of profile which registration status has been changed. |
TInt aStatus | new status of the profile |
TUint32 aStatusId | id related to registration |
RemoveProfileL(CSIPProfile &)
Remove profile
- Pre-condition
- UsageL(aProfile) == 0
RemovedL(TUint32)
SIP profile destruction event.
Parameters
TUint32 aProfileId | id of profile which was destroyed |
SIPProfileL(TUint32, TInt)
Gets SIP profile identified by the Id; leaves on failure The owneship of profile is transferred.
Parameters
TUint32 aId | a SIP profile Id |
TInt aSize = 0 | of profile if known |
StoreArrayL(RPointerArray< CSIPConcreteProfile > &, RPointerArray< CSIPProfile > &)
Store array of profiles into client cache
StoreProfileL(CSIPProfileCleanupItem *)
Store profile into client cache
SupportedProfileTypesL(RArray< TSIPProfileTypeInfo > &)
Gets supported profile types The owneship of returned objects are transferred.
- Pre-condition
- aSupportedProfileTypes.Count() == 0
- leave
- KErrNoMemory if out of memory
Parameters
RArray< TSIPProfileTypeInfo > & aSupportedProfileTypes | a reference to client-owned array, which on return is filled with supported profile types. Any existing data in the array is destroyed. |
UpdateProfileL(CSIPProfile &)
UpdatedL(TUint32, TUint)
SIP profile information update event
Parameters
TUint32 aProfileId | id of updated SIP Profile |
TUint aSize | size of updated SIP Profile |
UsageL(const CSIPProfile &)
Gets count of clients that have a profile enabled
Member Data Documentation
CSIPProfileItem * iFindEntry
CSIPProfileITCReceiver * iITCReceiver
MSIPProfileRegistryObserver & iObserver
CSIPProfilePlugins * iProfilePlugins
RPointerArray< CSIPProfileItem > iProfiles
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.