CSIPProfileITC Class Reference

class CSIPProfileITC : public CBase

The class provides simplified ITC access for client

sipprofilecli.lib

Inherits from

Public Member Functions
~CSIPProfileITC()
voidAddALRObserverL()
voidAddSIPProfileL(CSIPConcreteProfile &)
voidAllowMigrationL(TUint32, TUint32)
voidDeleteSIPProfileL(TUint32)
TInt DisableSIPProfileL(TUint32)
voidDisallowMigrationL(TUint32, TUint32)
TInt EnableSIPProfileL(TUint32)
TInt ForceDisableSIPProfileL(TUint32)
voidNegotiatedSecurityMechanismL(CSIPConcreteProfile &)
CSIPProfileITC *NewL(RSIPProfile &)
CSIPProfileITC *NewLC(RSIPProfile &)
voidRefreshIapAvailabilityL(TUint32)
voidRegisteredAORsL(CSIPConcreteProfile &)
voidRemoveALRObserver()
voidRemoveSIPProfileL(TUint32)
CSIPConcreteProfile *SIPCreateProfileL(const TSIPProfileTypeInfo &)
TUint SIPProfileDefaultIdL()
voidSIPProfileDefaultL(TUint &, TUint32 &)
CSIPConcreteProfile *SIPProfileL(TUint32, TUint)
CSIPProfilePlugins *SIPProfilePluginsL()
CSIPConcreteProfile *SIPProfileRefreshL(TUint32, TUint)
TInt SIPProfileUsageL(TUint32)
CSIPConcreteProfileHolder *SIPProfilesByAORL(const TDesC8 &)
CSIPConcreteProfileHolder *SIPProfilesByTypeL(const TSIPProfileTypeInfo &)
CSIPConcreteProfileHolder *SIPProfilesL()
voidUpdateSIPProfileL(CSIPConcreteProfile &)
Private Member Functions
CSIPProfileITC(RSIPProfile &)
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *iEmptyContent
CSIPProfileITCHelper iHelper
TIpcArgs iITCMsgArgs

Constructor & Destructor Documentation

CSIPProfileITC(RSIPProfile &)

CSIPProfileITC(RSIPProfile &aSip)[private]

Constructor

Parameters

RSIPProfile & aSipa client providing connection to SIP profile server.

~CSIPProfileITC()

~CSIPProfileITC()

Destructor.

Member Functions Documentation

AddALRObserverL()

voidAddALRObserverL()

Informs the server side that ALR controller has been created.

AddSIPProfileL(CSIPConcreteProfile &)

voidAddSIPProfileL(CSIPConcreteProfile &aProfile)
Add profile into persistent storage of profile server.
Pre-condition
aProfile.Id() = 0
Post-condition
aProfile.Id() > 0

Parameters

CSIPConcreteProfile & aProfileprofile to be added

AllowMigrationL(TUint32, TUint32)

voidAllowMigrationL(TUint32aProfileId,
TUint32aIapId
)

Allows SIP Profile Agent to start the migration from the old IAP to the new one.

Parameters

TUint32 aProfileIdthe SIP profile id
TUint32 aIapIdthe new IAP id.

ConstructL()

voidConstructL()[private]

Symbian 2nd phase constructor

DeleteSIPProfileL(TUint32)

voidDeleteSIPProfileL(TUint32aProfileId)

Inform profile server that local instance of profile is deleted

Parameters

TUint32 aProfileIdid of retrieved profile

DisableSIPProfileL(TUint32)

TInt DisableSIPProfileL(TUint32aProfileId)

Disable the profile after being used

Parameters

TUint32 aProfileIdid of retrieved profile

DisallowMigrationL(TUint32, TUint32)

voidDisallowMigrationL(TUint32aProfileId,
TUint32aIapId
)

Disallows SIP Profile Agent to start the migration from the old IAP to the new one.

Parameters

TUint32 aProfileIdthe SIP profile id
TUint32 aIapIdthe new IAP id.

EnableSIPProfileL(TUint32)

TInt EnableSIPProfileL(TUint32aProfileId)

Enable the profile for use

Parameters

TUint32 aProfileIdid of retrieved profile

ForceDisableSIPProfileL(TUint32)

TInt ForceDisableSIPProfileL(TUint32aProfileId)

Force disable the profile after being used

Parameters

TUint32 aProfileIdid of retrieved profile

NegotiatedSecurityMechanismL(CSIPConcreteProfile &)

voidNegotiatedSecurityMechanismL(CSIPConcreteProfile &aProfile)

Updates SIP profile value for negotiated security mechanism; leaves on failure

Parameters

CSIPConcreteProfile & aProfilea SIP profile

NewL(RSIPProfile &)

CSIPProfileITC *NewL(RSIPProfile &aSipProfile)[static]

Two-phased constructor.

Parameters

RSIPProfile & aSipProfilea client providing connection to SIP profile server.

NewLC(RSIPProfile &)

CSIPProfileITC *NewLC(RSIPProfile &aSipProfile)[static]

Two-phased constructor.

Parameters

RSIPProfile & aSipProfilea client providing connection to SIP profile server.

RefreshIapAvailabilityL(TUint32)

voidRefreshIapAvailabilityL(TUint32aProfileId)

Refreshes the list of available IAPs for a profile.

Parameters

TUint32 aProfileId

RegisteredAORsL(CSIPConcreteProfile &)

voidRegisteredAORsL(CSIPConcreteProfile &aProfile)

Updates SIP profile value for registered AORs; leaves on failure

Parameters

CSIPConcreteProfile & aProfilea SIP profile

RemoveALRObserver()

voidRemoveALRObserver()

Informs the server side that ALR controller has been destroyed.

RemoveSIPProfileL(TUint32)

voidRemoveSIPProfileL(TUint32aProfileId)

Remove profile from persistent storage of profile server.

Parameters

TUint32 aProfileIdid of the profile to be removed

SIPCreateProfileL(const TSIPProfileTypeInfo &)

CSIPConcreteProfile *SIPCreateProfileL(const TSIPProfileTypeInfo &aType)

Retrieve new empty profile of given type with default values. Profile is not stored into server.

Parameters

const TSIPProfileTypeInfo & aTypetype of retrived profiles

SIPProfileDefaultIdL()

TUint SIPProfileDefaultIdL()

Retrieve id of default profile from profile server

SIPProfileDefaultL(TUint &, TUint32 &)

voidSIPProfileDefaultL(TUint &aSize,
TUint32 &aProfileId
)

Retrieve id and size of default profile from profile server

Parameters

TUint & aSizereturned size of default profile
TUint32 & aProfileIdreturned id of default profile

SIPProfileL(TUint32, TUint)

CSIPConcreteProfile *SIPProfileL(TUint32aProfileId,
TUintaSize = 0
)

Retrieve single SIP profile from profile server

Parameters

TUint32 aProfileIdid of retrieved profile
TUint aSize = 0returned size of retrieved profile

SIPProfilePluginsL()

CSIPProfilePlugins *SIPProfilePluginsL()

Retrieve profile plugins from profile server.

SIPProfileRefreshL(TUint32, TUint)

CSIPConcreteProfile *SIPProfileRefreshL(TUint32aProfileId,
TUintaSize = 0
)

Refresh already previously retrieved SIP profile from profile server

Parameters

TUint32 aProfileIdid of retrieved profile
TUint aSize = 0returned size of retrieved profile

SIPProfileUsageL(TUint32)

TInt SIPProfileUsageL(TUint32aProfileId)

Retrieve number of users of a profile

Parameters

TUint32 aProfileIdid of retrieved profile

SIPProfilesByAORL(const TDesC8 &)

CSIPConcreteProfileHolder *SIPProfilesByAORL(const TDesC8 &aAOR)

Retrieve multiple SIP profiles based on AOR from profile server

Parameters

const TDesC8 & aAORAOR of retrived profiles

SIPProfilesByTypeL(const TSIPProfileTypeInfo &)

CSIPConcreteProfileHolder *SIPProfilesByTypeL(const TSIPProfileTypeInfo &aType)

Retrieve multiple SIP profiles based on type from profile server

Parameters

const TSIPProfileTypeInfo & aTypetype of retrived profiles

SIPProfilesL()

CSIPConcreteProfileHolder *SIPProfilesL()

Retrieve all SIP profiles from profile server

UpdateSIPProfileL(CSIPConcreteProfile &)

voidUpdateSIPProfileL(CSIPConcreteProfile &aProfile)
Update profile into persistent storage of profile server.
Pre-condition
aProfile.Id() > 0

Parameters

CSIPConcreteProfile & aProfileprofile to be added

Member Data Documentation

HBufC8 * iEmptyContent

HBufC8 *iEmptyContent[private]

CSIPProfileITCHelper iHelper

CSIPProfileITCHelper iHelper[private]

TIpcArgs iITCMsgArgs

TIpcArgs iITCMsgArgs[private]