CSipClientResolverUtils Class Reference

class CSipClientResolverUtils : public CBase

Utility class to handle SIP client resolver cenrep table.

      iSipClientResolver = CSipClientResolverUtils::NewL();
      iSipClientResolver->RegisterClientWithUserL( 
              KImplementation, iContactHeaderUser, KResolver );
      delete iSipClientResolver;
ipapputils.lib
Since
S60 v3.2

Inherits from

  • CSipClientResolverUtils

Constructor & Destructor Documentation

CSipClientResolverUtils()

CSipClientResolverUtils()[private]

C++ default constructor.

~CSipClientResolverUtils()

IMPORT_C~CSipClientResolverUtils()[virtual]

Destructor.

Member Functions Documentation

CallProviderUidsL(RArray< TUint > &)

voidCallProviderUidsL(RArray< TUint > &aUidArray)const [private]

Gets call provider Uids.

Parameters

RArray< TUint > & aUidArrayArray containing all call provider Uids.

CheckImplementationUidL(const TUint32 &, const TUid &)

TBool CheckImplementationUidL(const TUint32 &aKey,
const TUid &aImplementation
)const [private]

Checks if implementation uid found by key in repository matches given uid.

Since
S60 5.0

Parameters

const TUint32 & aKeyunique key identifieng row in repository
const TUid & aImplementationimplementation uid

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreateNewKeyL(TUint32 &)

voidCreateNewKeyL(TUint32 &aNewKey)const [private]

Creates unique key

Since
S60 3.2

Parameters

TUint32 & aNewKeyNew unique key to be used when inserting row to table

GetAllImplementationUidsWithUserL(const TDesC8 &, RArray< TUid > &)

IMPORT_C voidGetAllImplementationUidsWithUserL(const TDesC8 &aProfileContactHeaderUser,
RArray< TUid > &aImplementationUids
)const

Return all implementation Uids bases on contact header

Since
S60 5.0

Parameters

const TDesC8 & aProfileContactHeaderUserGlobally unique identifier of SIP profile
RArray< TUid > & aImplementationUidsUIDs of clients which handle incoming session

GetClientWithUserL(const TDesC8 &, RArray< TUint32 > &)

voidGetClientWithUserL(const TDesC8 &aProfileContactHeaderUser,
RArray< TUint32 > &aFoundKeys
)const [private]

Finds all rows that match given search criterias.

Since
S60 3.2

Parameters

const TDesC8 & aProfileContactHeaderUserGlobally unique identifier of SIP profile
RArray< TUint32 > & aFoundKeysOn return contains keys that matched requested rows

GetImplementationUidWithUserL(const TDesC8 &, TUid &)

IMPORT_C voidGetImplementationUidWithUserL(const TDesC8 &aProfileContactHeaderUser,
TUid &aImplementation
)const

Resolve implementation Uid for incoming session.

Since
S60 3.2

Parameters

const TDesC8 & aProfileContactHeaderUserGlobally unique identifier of SIP profile
TUid & aImplementationUID of client who handles incoming session

NewL()

IMPORT_C CSipClientResolverUtils *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CSipClientResolverUtils *NewLC()[static]

Two-phased constructor.

RegisterClientWithUserL(const TUid &, const TDesC8 &, const TUid &)

IMPORT_C voidRegisterClientWithUserL(const TUid &aImplementation,
const TDesC8 &aProfileContactHeaderUser,
const TUid &aResolver
)const

Register to SIP client resolver to be able to receive incoming sessions.

Since
S60 3.2

Parameters

const TUid & aImplementationUID of client who handles incoming session
const TDesC8 & aProfileContactHeaderUserGlobally unique identifier of SIP profile
const TUid & aResolverUID of client resolver plug-in

UnRegisterClientWithUserL(const TUid &, const TDesC8 &)

IMPORT_C voidUnRegisterClientWithUserL(const TUid &aImplementation,
const TDesC8 &aProfileContactHeaderUser
)const

Un-register from SIP client resolver to deny accepting incoming sessions.

Since
S60 3.2

Parameters

const TUid & aImplementationUID of client who handles incoming session
const TDesC8 & aProfileContactHeaderUserGlobally unique identifier of SIP profile

Member Data Documentation

CRepository * iRepository

CRepository *iRepository[private]

Instance of central repository Own.