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

Constructor & Destructor Documentation

CSipClientResolverUtils()

CSipClientResolverUtils ( ) [private]

C++ default constructor.

~CSipClientResolverUtils()

IMPORT_C ~CSipClientResolverUtils ( ) [virtual]

Destructor.

Member Functions Documentation

CallProviderUidsL(RArray< TUint > &)

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

Gets call provider Uids.

Parameters

RArray < TUint > & aUidArray Array 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 & aKey unique key identifieng row in repository
const TUid & aImplementation implementation uid

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

CreateNewKeyL(TUint32 &)

void CreateNewKeyL ( TUint32 & aNewKey ) const [private]

Creates unique key

Since
S60 3.2

Parameters

TUint32 & aNewKey New unique key to be used when inserting row to table

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

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

Return all implementation Uids bases on contact header

Since
S60 5.0

Parameters

const TDesC8 & aProfileContactHeaderUser Globally unique identifier of SIP profile
RArray < TUid > & aImplementationUids UIDs of clients which handle incoming session

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

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

Finds all rows that match given search criterias.

Since
S60 3.2

Parameters

const TDesC8 & aProfileContactHeaderUser Globally unique identifier of SIP profile
RArray < TUint32 > & aFoundKeys On return contains keys that matched requested rows

GetImplementationUidWithUserL(const TDesC8 &, TUid &)

IMPORT_C void GetImplementationUidWithUserL ( const TDesC8 & aProfileContactHeaderUser,
TUid & aImplementation
) const

Resolve implementation Uid for incoming session.

Since
S60 3.2

Parameters

const TDesC8 & aProfileContactHeaderUser Globally unique identifier of SIP profile
TUid & aImplementation UID 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 void RegisterClientWithUserL ( 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 & aImplementation UID of client who handles incoming session
const TDesC8 & aProfileContactHeaderUser Globally unique identifier of SIP profile
const TUid & aResolver UID of client resolver plug-in

UnRegisterClientWithUserL(const TUid &, const TDesC8 &)

IMPORT_C void UnRegisterClientWithUserL ( 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 & aImplementation UID of client who handles incoming session
const TDesC8 & aProfileContactHeaderUser Globally unique identifier of SIP profile

Member Data Documentation

CRepository * iRepository

CRepository * iRepository [private]

Instance of central repository Own.