ESock::TProviderInfo Class Reference

class ESock::TProviderInfo

Information used by provider factories to uniquely identify providers.

Constructor & Destructor Documentation

TProviderInfo()

TProviderInfo ( ) [inline]

TProviderInfo(TUid, TUint32, TAny *)

TProviderInfo ( TUid aTierId,
TUint32 aAPId,
TAny * aInstance = NULL
) [inline]

Parameters

TUid aTierId Tier on which the provider is created
TUint32 aAPId Access point id of the provider
TAny * aInstance = NULL Unique information used to deferenciate providers with the same aAPId and aTierId (used for legacy selection)

Member Functions Documentation

APId()

TUint APId ( ) const [inline]

APId(const)

TUid APId ( const TInt ) const [inline]

Parameters

const TInt

Instance()

TAny * Instance ( ) const [inline]

NullProviderInfo()

IMPORT_C const TProviderInfo & NullProviderInfo ( ) [static]

SetInstance(TAny *)

void SetInstance ( TAny * aInstance ) [inline]

Set the instance information of the provider

Parameters

TAny * aInstance The information used to uniquely identify the instance.

TierId()

TUid TierId ( ) const [inline]

operator==(const TProviderInfo &)

TBool operator== ( const TProviderInfo & aRHS ) const [inline]

Do a binary comparison of this against another instance of TProviderInfo

Parameters

const TProviderInfo & aRHS The other TProviderInfo

Member Data Documentation

const TProviderInfo *const KNullProviderInfo

const TProviderInfo *const KNullProviderInfo [static]

Pointer to the null provider info instance

TUint iAPId

TUint iAPId [private]

TAny * iInstance

TAny * iInstance [private]

TUid iTierId

TUid iTierId [private]