RCommsApiExtensionBase Class Reference

class RCommsApiExtensionBase

Base class for Comms API extensions.

Protected Member Functions
RCommsApiExtensionBase ()
IMPORT_C void Close ()
IMPORT_C TInt Open ( RCommsSession &, TSupportedCommsApiExt)
IMPORT_C TInt Open ( RCommsSubSession &, TSupportedCommsApiExt)
IMPORT_C void SendMessage ( TCommsApiExtReqMsg &)
IMPORT_C void SendRequest ( TCommsApiExtReqMsg &, TDes8 &, TRequestStatus &)
Protected Attributes
TSupportedCommsApiExt iInterfaceId
MCommsApiExtProvider * iProvider
Private Attributes
RPointerArray < Elements::TRBuf8 > iBuffers

Constructor & Destructor Documentation

RCommsApiExtensionBase()

IMPORT_C RCommsApiExtensionBase ( ) [protected, explicit]

Member Functions Documentation

Close()

IMPORT_C void Close ( ) [protected]

Open(RCommsSession &, TSupportedCommsApiExt)

IMPORT_C TInt Open ( RCommsSession & aExtensionProvider,
TSupportedCommsApiExt aInterfaceId
) [protected]

Parameters

RCommsSession & aExtensionProvider
TSupportedCommsApiExt aInterfaceId

Open(RCommsSubSession &, TSupportedCommsApiExt)

IMPORT_C TInt Open ( RCommsSubSession & aExtensionProvider,
TSupportedCommsApiExt aInterfaceId
) [protected]

Parameters

RCommsSubSession & aExtensionProvider
TSupportedCommsApiExt aInterfaceId

SendMessage(TCommsApiExtReqMsg &)

IMPORT_C void SendMessage ( TCommsApiExtReqMsg & aRequestMsg ) [protected]

Parameters

TCommsApiExtReqMsg & aRequestMsg

SendRequest(TCommsApiExtReqMsg &, TDes8 &, TRequestStatus &)

IMPORT_C void SendRequest ( TCommsApiExtReqMsg & aRequestMsg,
TDes8 & aResponseBuf,
TRequestStatus & aStatus
) [protected]

Parameters

TCommsApiExtReqMsg & aRequestMsg
TDes8 & aResponseBuf
TRequestStatus & aStatus

Member Data Documentation

RPointerArray< Elements::TRBuf8 > iBuffers

RPointerArray < Elements::TRBuf8 > iBuffers [private]

TSupportedCommsApiExt iInterfaceId

TSupportedCommsApiExt iInterfaceId [protected]

MCommsApiExtProvider * iProvider

MCommsApiExtProvider * iProvider [protected]