CommsFW::CCommsTransport Class Reference

class CommsFW::CCommsTransport : public CBase

Inherits from

Public Member Functions
~CCommsTransport ()
IMPORT_C void DeregisterAddress ( Messages::TRuntimeCtxId &)
IMPORT_C TInt DropTransportToPeer ( TWorkerId )
IMPORT_C TInt EstablishTransportToPeer ( TWorkerId , const RCFChannelMsgQueues &, const RCFChannelMsgQueues &)
IMPORT_C Messages::MTransportReceiver & GetReceiver ()
IMPORT_C Messages::MTransportSender & GetSender ()
IMPORT_C TBool IsDropTransportPending ( TWorkerId )
IMPORT_C CommsFW::TId LastRequestIdConcerningPeer ( TWorkerId )
IMPORT_C CCommsTransport * NewL ( MWorkerThreadRegister &, const Meta::CMetaDataVirtualCtorInPlace *, CCFTransportHooks *)
IMPORT_C TBool PeerReachable ( TWorkerId )
IMPORT_C void PostMessage (const TCFMessage &)
IMPORT_C void RegisterAddress ( Messages::TRuntimeCtxId &)
IMPORT_C void RegisterLegacyInterface ( MLegacyMessageReceiver *)
IMPORT_C TInt RegisteredCount ()
IMPORT_C void SetDropTransportPending ( TWorkerId , TBool )
IMPORT_C void SetLastRequestIdConcerningPeer ( TWorkerId , CommsFW::TId )
IMPORT_C TWorkerId WorkerId ()
Private Member Functions
CCommsTransport ()
IMPORT_C void PostMessage (const Messages::TRuntimeCtxId &, const Messages::TRuntimeCtxId &, const TDesC8 &)
IMPORT_C void SendMessageSync (const TCFMessage &)
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
CCommsTransportImpl * iImpl

Constructor & Destructor Documentation

CCommsTransport()

CCommsTransport ( ) [private, inline]

~CCommsTransport()

IMPORT_C ~CCommsTransport ( )

Member Functions Documentation

DeregisterAddress(Messages::TRuntimeCtxId &)

IMPORT_C void DeregisterAddress ( Messages::TRuntimeCtxId & aCookie )

Parameters

Messages::TRuntimeCtxId & aCookie

DropTransportToPeer(TWorkerId)

IMPORT_C TInt DropTransportToPeer ( TWorkerId aPeerId )

Parameters

TWorkerId aPeerId

EstablishTransportToPeer(TWorkerId, const RCFChannelMsgQueues &, const RCFChannelMsgQueues &)

IMPORT_C TInt EstablishTransportToPeer ( TWorkerId aPeerId,
const RCFChannelMsgQueues & aInboundQueues,
const RCFChannelMsgQueues & aOutboundQueues
)

Parameters

TWorkerId aPeerId
const RCFChannelMsgQueues & aInboundQueues
const RCFChannelMsgQueues & aOutboundQueues

GetReceiver()

IMPORT_C Messages::MTransportReceiver & GetReceiver ( )

GetSender()

IMPORT_C Messages::MTransportSender & GetSender ( )

IsDropTransportPending(TWorkerId)

IMPORT_C TBool IsDropTransportPending ( TWorkerId aPeerId ) const

Parameters

TWorkerId aPeerId

LastRequestIdConcerningPeer(TWorkerId)

IMPORT_C CommsFW::TId LastRequestIdConcerningPeer ( TWorkerId aPeerId ) const

Parameters

TWorkerId aPeerId

NewL(MWorkerThreadRegister &, const Meta::CMetaDataVirtualCtorInPlace *, CCFTransportHooks *)

IMPORT_C CCommsTransport * NewL ( MWorkerThreadRegister & aThreadRegister,
const Meta::CMetaDataVirtualCtorInPlace * aVirtCtor,
CCFTransportHooks * aHooksWalker
) [static]

Parameters

MWorkerThreadRegister & aThreadRegister
const Meta::CMetaDataVirtualCtorInPlace * aVirtCtor
CCFTransportHooks * aHooksWalker

PeerReachable(TWorkerId)

IMPORT_C TBool PeerReachable ( TWorkerId aPeerId ) const

Parameters

TWorkerId aPeerId

PostMessage(const TCFMessage &)

IMPORT_C void PostMessage ( const TCFMessage & aMessage )

Parameters

const TCFMessage & aMessage

PostMessage(const Messages::TRuntimeCtxId &, const Messages::TRuntimeCtxId &, const TDesC8 &)

IMPORT_C void PostMessage ( const Messages::TRuntimeCtxId & aPostFrom,
const Messages::TRuntimeCtxId & aPostTo,
const TDesC8 & aMessage
) [private]

Parameters

const Messages::TRuntimeCtxId & aPostFrom
const Messages::TRuntimeCtxId & aPostTo
const TDesC8 & aMessage

RegisterAddress(Messages::TRuntimeCtxId &)

IMPORT_C void RegisterAddress ( Messages::TRuntimeCtxId & aCookie )

Parameters

Messages::TRuntimeCtxId & aCookie

RegisterLegacyInterface(MLegacyMessageReceiver *)

IMPORT_C void RegisterLegacyInterface ( MLegacyMessageReceiver * aLegacyInterface )

Parameters

MLegacyMessageReceiver * aLegacyInterface

RegisteredCount()

IMPORT_C TInt RegisteredCount ( ) const

SendMessageSync(const TCFMessage &)

IMPORT_C void SendMessageSync ( const TCFMessage & aMessage ) [private]

Parameters

const TCFMessage & aMessage

SetDropTransportPending(TWorkerId, TBool)

IMPORT_C void SetDropTransportPending ( TWorkerId aPeerId,
TBool aDropPending
)

Parameters

TWorkerId aPeerId
TBool aDropPending

SetLastRequestIdConcerningPeer(TWorkerId, CommsFW::TId)

IMPORT_C void SetLastRequestIdConcerningPeer ( TWorkerId aPeerId,
CommsFW::TId aRequestId
)

Parameters

TWorkerId aPeerId
CommsFW::TId aRequestId

WorkerId()

IMPORT_C TWorkerId WorkerId ( ) const

Member Data Documentation

CCommsTransportImpl * iImpl

CCommsTransportImpl * iImpl [private]