CHTICommPluginInterface Class Reference

class CHTICommPluginInterface : public CBase

Inherits from

  • CHTICommPluginInterface

Constructor & Destructor Documentation

~CHTICommPluginInterface()

~CHTICommPluginInterface()[inline, virtual]

Wraps ECom object destruction

Member Functions Documentation

CancelReceive()

voidCancelReceive()[pure virtual]

Cancels receive operation

CancelSend()

voidCancelSend()[pure virtual]

Cancels send operation

GetReceiveBufferSize()

TInt GetReceiveBufferSize()[pure virtual]

Retruns the size of a buffer used for Receive() function.

GetSendBufferSize()

TInt GetSendBufferSize()[pure virtual]

Retruns the size of a buffer used for Send() function.

NewL()

CHTICommPluginInterface *NewL()[static, inline]

Wraps ECom object instantitation default resovler is used. Plug-in specified by KCommDefaultImplementation is loaded.

NewL(const TDesC8 &)

CHTICommPluginInterface *NewL(const TDesC8 &aMatchString)[static, inline]

Wraps ECom object instantitation default resovler is used

Parameters

const TDesC8 & aMatchStringplug-in name as specified in in plug-in implementation resource file

Receive(TDes8 &, TRequestStatus &)

voidReceive(TDes8 &aMessage,
TRequestStatus &aStatus
)[pure virtual]

Receive a message to the provided descriptor. It is possible that the descriptor will not be full on request complition.

Parameters

TDes8 & aMessageBuffer for receiving incoming message
TRequestStatus & aStatusAO's status

Send(const TDesC8 &, TRequestStatus &)

voidSend(const TDesC8 &aMessage,
TRequestStatus &aStatus
)[pure virtual]

Send a message.

Parameters

const TDesC8 & aMessageBuffer with data for sending
TRequestStatus & aStatusAO's status

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]

Instance identifier key