ESock::CSelectionRequest Class Reference

#include <comms-infras/ss_connselect.h>

class ESock::CSelectionRequest : public CBase, public Messages::ASimpleNodeIdBase, public ESock::MPlatsecApiExt, protected NetInterfaces::TInterfaceControl, private ESock::MPlatsecApiExt, public CBase, public Messages::ASimpleNodeIdBase, public ESock::MPlatsecApiExt, protected NetInterfaces::TInterfaceControl, private ESock::MPlatsecApiExt

Inherits from

Public Member Functions
virtual ~CSelectionRequest()
voidCancel()
virtual TInt CheckPolicy(const TSecurityPolicy &)
voidCommsBinderResponse(const TCFServiceProvider::TCommsBinderResponse &)
virtual NetInterfaces::TInterfaceControl *FetchNodeInterfaceControlL(TInt)
virtual TBool HasCapability(const TCapability)
typedefITFHIERARCHY_1(CSelectionRequest, MPlatsecApiExt)
voidJoinComplete(const Messages::TNodeId &, TCFPeer::TJoinComplete &)
CSelectionRequest *NewL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &)
voidProvision(const Meta::SMetaData *)
voidReturnInterfacePtrL(MPlatsecApiExt *&)
virtual TInt SecureId(TSecureId &)
voidSelect(const TSelectionPrefs &)
voidSelectComplete(const Messages::TNodeId &, const Messages::TNodeId &, const TProviderInfo &)
voidSelectConnPrefList(const RConnPrefList &)
virtual TInt VendorId(TVendorId &)
Protected Member Functions
CSelectionRequest(const Messages::TRuntimeCtxId &, const Messages::TNodeId &)
virtual voidReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)
Inherited Attributes
ESock::MPlatsecApiExt::KInterfaceId
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()
ESock::MPlatsecApiExt::GetProcessAndThreadId(TProcessId &,TThreadId &)const
Messages::ANode::FetchNodeInterfaceL(TInt)
Messages::ANodeId::ANodeId(ANode &)
Messages::ANodeId::ANodeId(TAny *)
Messages::ANodeId::Id()const
Messages::ANodeId::UnregisterSelf()
Messages::ASimpleNodeIdBase::ASimpleNodeIdBase()
Messages::ASimpleNodeIdBase::NodeId()const
NetInterfaces::TInterfaceControl::FetchInterface(TInt)
NetInterfaces::TInterfaceControl::FetchInterfaceL(TInt)
NetInterfaces::TInterfaceControl::TInterfaceControl()

Detailed Description

Connection selection request.

Constructor & Destructor Documentation

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

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

~CSelectionRequest ( )

~CSelectionRequest()[virtual]

Member Function Documentation

Cancel ( )

voidCancel()

CheckPolicy ( const TSecurityPolicy & )

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

Reimplemented from ESock::MPlatsecApiExt::CheckPolicy(const TSecurityPolicy &)const

Checks the client process for a match against the policy aPolicy

Parameters
aPolicyA security policy that must be matched
Return Value
KErrNone if the call succeeds. KErrPermissionDenied if the client process fails the policy check. Otherwise one of the other system-wide error codes.

CommsBinderResponse ( const TCFServiceProvider::TCommsBinderResponse & )

voidCommsBinderResponse(const TCFServiceProvider::TCommsBinderResponse &aMsg)

FetchNodeInterfaceControlL ( TInt )

NetInterfaces::TInterfaceControl *FetchNodeInterfaceControlL(TIntaInterfaceId)[virtual]

Reimplemented from Messages::ANode::FetchNodeInterfaceControlL(TInt)

HasCapability ( const TCapability )

TBool HasCapability(const TCapabilityaCapability)const [virtual]

Reimplemented from ESock::MPlatsecApiExt::HasCapability(const TCapability)const

Checks the client process for the capability aCapability

Parameters
aCapabilityThe capability to be checked for
Return Value
KErrNone if the call succeeds. KErrPermissionDenied if the client process does not have the capability. Otherwise one of the other system-wide error codes.

ITFHIERARCHY_1 ( CSelectionRequest, MPlatsecApiExt )

typedefITFHIERARCHY_1(CSelectionRequest,
MPlatsecApiExt
)

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

voidJoinComplete(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]

Provision ( const Meta::SMetaData * )

voidProvision(const Meta::SMetaData *aProvisionConfig)

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

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

Reimplemented from Messages::ANode::ReceivedL(const TRuntimeCtxId &,const TNodeId &,TSignatureBase &)

ReturnInterfacePtrL ( MPlatsecApiExt *& )

voidReturnInterfacePtrL(MPlatsecApiExt *&aInterface)

SecureId ( TSecureId & )

TInt SecureId(TSecureId &aResult)const [virtual]

Reimplemented from ESock::MPlatsecApiExt::SecureId(TSecureId &)const

Obtains the TSecureId of the client process

Parameters
aResultIf the call is successful, the TSecureId.
Return Value
KErrNone if the call succeeds. Otherwise one of the other system-wide error codes.

Select ( const TSelectionPrefs & )

voidSelect(const TSelectionPrefs &aSelectionPreferences)

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

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

SelectConnPrefList ( const RConnPrefList & )

voidSelectConnPrefList(const RConnPrefList &aConnPrefList)

VendorId ( TVendorId & )

TInt VendorId(TVendorId &aResult)const [virtual]

Reimplemented from ESock::MPlatsecApiExt::VendorId(TVendorId &)const

Obtains the TVendorId of the client process

Parameters
aResultIf the call is successful, the TVendorId.
Return Value
KErrNone if the call succeeds. Otherwise one of the other system-wide error codes.