MCommV2 Class Reference

class MCommV2 : public MBcaControlObserver

Inherits from

Public Member Functions
IMPORT_C const TDesC & BcaName ()
const TDesC & BcaStack ()
IMPORT_C void CommCancel ()
IMPORT_C void CommClose ()
IMPORT_C void CommConstructL ( TInt , TInt )
IMPORT_C void CommDelete ()
IMPORT_C TBool CommIsReading ()
IMPORT_C TBool CommIsWriting ()
IMPORT_C TInt CommOpen (const TDesC &)
IMPORT_C void CommRead ( TDes8 &)
IMPORT_C void CommReadCancel ()
void CommReadComplete ( TInt )
IMPORT_C void CommReadOneOrMore ( TDes8 &)
IMPORT_C void CommReadReady ()
IMPORT_C void CommWrite (const TDesC8 &)
IMPORT_C void CommWriteCancel ()
void CommWriteComplete ( TInt )
IMPORT_C void CommWriteReady ()
TInt IapId ()
void InitializeComplete ()
IMPORT_C const TDesC & Port ()
IMPORT_C void SetBca ( BasebandChannelAdaptation::MBca *)
void ShutdownComplete ( TInt )
void Stop ( TInt )
Protected Member Functions
MCommV2 ()
Protected Attributes
BasebandChannelAdaptation::MBca * iBca
CScriptBcaControl * iBcaControl
TName iChannelId
CCommReaderV2 * iCommReader
CCommWriterV2 * iCommWriter

Constructor & Destructor Documentation

MCommV2()

IMPORT_C MCommV2 ( ) [protected]

Constructor

Member Functions Documentation

BcaName()

IMPORT_C const TDesC & BcaName ( ) [virtual]

BcaStack()

const TDesC & BcaStack ( ) [pure virtual]

CommCancel()

IMPORT_C void CommCancel ( )

CommClose()

IMPORT_C void CommClose ( )

CommConstructL(TInt, TInt)

IMPORT_C void CommConstructL ( TInt aReadPriority,
TInt aWritePriority
)

Parameters

TInt aReadPriority
TInt aWritePriority

CommDelete()

IMPORT_C void CommDelete ( )

CommIsReading()

IMPORT_C TBool CommIsReading ( ) const

CommIsWriting()

IMPORT_C TBool CommIsWriting ( ) const

CommOpen(const TDesC &)

IMPORT_C TInt CommOpen ( const TDesC & aChannelId )

Parameters

const TDesC & aChannelId

CommRead(TDes8 &)

IMPORT_C void CommRead ( TDes8 & aDes )

Parameters

TDes8 & aDes

CommReadCancel()

IMPORT_C void CommReadCancel ( )

CommReadComplete(TInt)

void CommReadComplete ( TInt aStatus ) [pure virtual]

Parameters

TInt aStatus

CommReadOneOrMore(TDes8 &)

IMPORT_C void CommReadOneOrMore ( TDes8 & aDes )

Parameters

TDes8 & aDes

CommReadReady()

IMPORT_C void CommReadReady ( )

CommWrite(const TDesC8 &)

IMPORT_C void CommWrite ( const TDesC8 & aDes )

Parameters

const TDesC8 & aDes

CommWriteCancel()

IMPORT_C void CommWriteCancel ( )

CommWriteComplete(TInt)

void CommWriteComplete ( TInt aStatus ) [pure virtual]

Parameters

TInt aStatus

CommWriteReady()

IMPORT_C void CommWriteReady ( )

IapId()

TInt IapId ( ) [pure virtual]

InitializeComplete()

void InitializeComplete ( ) [pure virtual]

Port()

IMPORT_C const TDesC & Port ( ) [virtual]

SetBca(BasebandChannelAdaptation::MBca *)

IMPORT_C void SetBca ( BasebandChannelAdaptation::MBca * aBca ) [virtual]

ShutdownComplete(TInt)

void ShutdownComplete ( TInt aError ) [pure virtual]

Parameters

TInt aError

Stop(TInt)

void Stop ( TInt aError ) [pure virtual]

Parameters

TInt aError

Member Data Documentation

BasebandChannelAdaptation::MBca * iBca

BasebandChannelAdaptation::MBca * iBca [protected]

CScriptBcaControl * iBcaControl

CScriptBcaControl * iBcaControl [protected]

TName iChannelId

TName iChannelId [protected]

CCommReaderV2 * iCommReader

CCommReaderV2 * iCommReader [protected]

CCommWriterV2 * iCommWriter

CCommWriterV2 * iCommWriter [protected]