ESock::CSelectionRequest Class Reference

class ESock::CSelectionRequest : public CBase

Connection selection request.

Inherits from

Public Member Functions
~CSelectionRequest ()
void Cancel ()
TInt CheckPolicy (const TSecurityPolicy &)
void CommsBinderResponse (const TCFServiceProvider::TCommsBinderResponse &)
NetInterfaces::TInterfaceControl * FetchNodeInterfaceControlL ( TInt )
TBool HasCapability (const TCapability )
typedef ITFHIERARCHY_1 ( CSelectionRequest , MPlatsecApiExt )
void JoinComplete (const Messages::TNodeId &, TCFPeer::TJoinComplete &)
CSelectionRequest * NewL (const Messages::TRuntimeCtxId &, const Messages::TNodeId &)
void Provision (const Meta::SMetaData *)
void ReturnInterfacePtrL ( MPlatsecApiExt *&)
TInt SecureId ( TSecureId &)
void Select (const TSelectionPrefs &)
void SelectComplete (const Messages::TNodeId &, const Messages::TNodeId &, const TProviderInfo &)
void SelectConnPrefList (const RConnPrefList &)
TInt VendorId ( TVendorId &)
Protected Member Functions
CSelectionRequest (const Messages::TRuntimeCtxId &, const Messages::TNodeId &)
void ReceivedL (const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)
Private Member Functions
void CommsBinderRequestError (const Messages::TRuntimeCtxId &, Messages::TEBase::TError &)
TInt FindActiveRequest (const Messages::TRuntimeCtxId &)
void HandleProviderSelection (const Messages::TNodeId &)
void InitialiseDestroy ()
void PostError (const Messages::TNodeSignal::TMessageId &, TInt )
void ProviderSelectionFinished (const Messages::TRuntimeCtxId &)
void SelectionError (const Messages::TRuntimeCtxId &, TInt )
void SelectionFinished ()
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
RArray < Messages::RNodeInterface > iActiveRequests
RConnPrefList iConnPrefList
TUint iDestroying
TUint iJoined
TInt iOriginalError
ASubSessionPlatsecApiExt * iPlatsecApiExt
const Meta::SMetaData * iProvision
Messages::RRequestOriginator iRequest
Messages::RNodeInterface iRequestingNode
TSelectionPrefs iSelectionPreferences
TUint iSelectionStatus
Messages::TNodeId iTierManagerId
Messages::TNodeId iTopMcprId
TProviderInfo iTopMcprInfo

Constructor & Destructor Documentation

CSelectionRequest(const Messages::TRuntimeCtxId &, const Messages::TNodeId &)

CSelectionRequest ( const Messages::TRuntimeCtxId & aRequestingClient,
const Messages::TNodeId & aTierManagerId
) [protected, explicit]

Parameters

const Messages::TRuntimeCtxId & aRequestingClient
const Messages::TNodeId & aTierManagerId

~CSelectionRequest()

~CSelectionRequest ( ) [virtual]

Member Functions Documentation

Cancel()

void Cancel ( )

CheckPolicy(const TSecurityPolicy &)

TInt CheckPolicy ( const TSecurityPolicy & aPolicy ) const [virtual]

Parameters

const TSecurityPolicy & aPolicy

CommsBinderRequestError(const Messages::TRuntimeCtxId &, Messages::TEBase::TError &)

void CommsBinderRequestError ( const Messages::TRuntimeCtxId & aSenderId,
Messages::TEBase::TError & aCFMessage
) [private]

Parameters

const Messages::TRuntimeCtxId & aSenderId
Messages::TEBase::TError & aCFMessage

CommsBinderResponse(const TCFServiceProvider::TCommsBinderResponse &)

void CommsBinderResponse ( const TCFServiceProvider::TCommsBinderResponse & aMsg )

Parameters

const TCFServiceProvider::TCommsBinderResponse & aMsg

FetchNodeInterfaceControlL(TInt)

NetInterfaces::TInterfaceControl * FetchNodeInterfaceControlL ( TInt aInterfaceId ) [virtual]

Parameters

TInt aInterfaceId

FindActiveRequest(const Messages::TRuntimeCtxId &)

TInt FindActiveRequest ( const Messages::TRuntimeCtxId & aMcprId ) [private]

Parameters

const Messages::TRuntimeCtxId & aMcprId

HandleProviderSelection(const Messages::TNodeId &)

void HandleProviderSelection ( const Messages::TNodeId & aMcprId ) [private]

Parameters

const Messages::TNodeId & aMcprId

HasCapability(const TCapability)

TBool HasCapability ( const TCapability aCapability ) const [virtual]

Parameters

const TCapability aCapability

ITFHIERARCHY_1(CSelectionRequest, MPlatsecApiExt)

typedef ITFHIERARCHY_1 ( CSelectionRequest ,
MPlatsecApiExt
)

InitialiseDestroy()

void InitialiseDestroy ( ) [private]

JoinComplete(const Messages::TNodeId &, TCFPeer::TJoinComplete &)

void JoinComplete ( const Messages::TNodeId & aSender,
TCFPeer::TJoinComplete & aCFMessage
)

Parameters

const Messages::TNodeId & aSender
TCFPeer::TJoinComplete & aCFMessage

NewL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &)

CSelectionRequest * NewL ( const Messages::TRuntimeCtxId & aRequestingClient,
const Messages::TNodeId & aTierManagerId
) [static]

Parameters

const Messages::TRuntimeCtxId & aRequestingClient
const Messages::TNodeId & aTierManagerId

PostError(const Messages::TNodeSignal::TMessageId &, TInt)

void PostError ( const Messages::TNodeSignal::TMessageId & aMessageId,
TInt aError
) [private]

Parameters

const Messages::TNodeSignal::TMessageId & aMessageId
TInt aError

ProviderSelectionFinished(const Messages::TRuntimeCtxId &)

void ProviderSelectionFinished ( const Messages::TRuntimeCtxId & aMcprId ) [private]

Parameters

const Messages::TRuntimeCtxId & aMcprId

Provision(const Meta::SMetaData *)

void Provision ( const Meta::SMetaData * aProvisionConfig )

Parameters

const Meta::SMetaData * aProvisionConfig

ReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)

void ReceivedL ( const Messages::TRuntimeCtxId & aSender,
const Messages::TNodeId & aRecipient,
Messages::TSignatureBase & aMessage
) [protected, virtual]

Parameters

const Messages::TRuntimeCtxId & aSender
const Messages::TNodeId & aRecipient
Messages::TSignatureBase & aMessage

ReturnInterfacePtrL(MPlatsecApiExt *&)

void ReturnInterfacePtrL ( MPlatsecApiExt *& aInterface )

Parameters

MPlatsecApiExt *& aInterface

SecureId(TSecureId &)

TInt SecureId ( TSecureId & aResult ) const [virtual]

Parameters

TSecureId & aResult

Select(const TSelectionPrefs &)

void Select ( const TSelectionPrefs & aSelectionPreferences )

Parameters

const TSelectionPrefs & aSelectionPreferences

SelectComplete(const Messages::TNodeId &, const Messages::TNodeId &, const TProviderInfo &)

void SelectComplete ( const Messages::TNodeId & aSenderId,
const Messages::TNodeId & aMcprId,
const TProviderInfo & aMcprInfo
)

Parameters

const Messages::TNodeId & aSenderId
const Messages::TNodeId & aMcprId
const TProviderInfo & aMcprInfo

SelectConnPrefList(const RConnPrefList &)

void SelectConnPrefList ( const RConnPrefList & aConnPrefList )

Parameters

const RConnPrefList & aConnPrefList

SelectionError(const Messages::TRuntimeCtxId &, TInt)

void SelectionError ( const Messages::TRuntimeCtxId & aSenderId,
TInt aError
) [private]

Parameters

const Messages::TRuntimeCtxId & aSenderId
TInt aError

SelectionFinished()

void SelectionFinished ( ) [private]

VendorId(TVendorId &)

TInt VendorId ( TVendorId & aResult ) const [virtual]

Parameters

TVendorId & aResult

Member Data Documentation

RArray< Messages::RNodeInterface > iActiveRequests

RArray < Messages::RNodeInterface > iActiveRequests [private]

RConnPrefList iConnPrefList

RConnPrefList iConnPrefList [private]

TUint iDestroying

TUint iDestroying [private]

TUint iJoined

TUint iJoined [private]

TInt iOriginalError

TInt iOriginalError [private]

ASubSessionPlatsecApiExt * iPlatsecApiExt

ASubSessionPlatsecApiExt * iPlatsecApiExt [private]

const Meta::SMetaData * iProvision

const Meta::SMetaData * iProvision [private]

Messages::RRequestOriginator iRequest

Messages::RRequestOriginator iRequest [private]

Messages::RNodeInterface iRequestingNode

Messages::RNodeInterface iRequestingNode [private]

TSelectionPrefs iSelectionPreferences

TSelectionPrefs iSelectionPreferences [private]

TUint iSelectionStatus

TUint iSelectionStatus [private]

Messages::TNodeId iTierManagerId

Messages::TNodeId iTierManagerId [private]

Messages::TNodeId iTopMcprId

Messages::TNodeId iTopMcprId [private]

TProviderInfo iTopMcprInfo

TProviderInfo iTopMcprInfo [private]