MComm Class Reference

class MComm
Public Member Functions
MComm()
IMPORT_C voidCommCancel()
IMPORT_C voidCommClose()
IMPORT_C voidCommConstructL(TInt, TInt)
IMPORT_C voidCommDelete()
IMPORT_C TBoolCommIsReading()
IMPORT_C TBoolCommIsWriting()
IMPORT_C TIntCommOpen(const TDesC &, TCommAccess)
IMPORT_C TIntCommOpen(const TDesC &, const TDesC &, TCommAccess)
IMPORT_C TIntCommOpen(const TDesC &, const TDesC &, TCommAccess, TCommRole)
IMPORT_C voidCommRead(TDes8 &)
IMPORT_C voidCommReadCancel()
voidCommReadComplete(TInt)
IMPORT_C voidCommReadOneOrMore(TDes8 &)
IMPORT_C voidCommReadReady()
IMPORT_C voidCommWrite(const TDesC8 &)
IMPORT_C voidCommWriteCancel()
voidCommWriteComplete(TInt)
IMPORT_C voidCommWriteReady()
Protected Attributes
CCommLinkStatus *iCommLinkStatus
RComm iCommPort
CCommReader *iCommReader
RCommServ iCommServer
CCommWriter *iCommWriter

Constructor & Destructor Documentation

MComm()

IMPORT_CMComm()

Constructor

Member Functions Documentation

CommCancel()

IMPORT_C voidCommCancel()

CommClose()

IMPORT_C voidCommClose()

CommConstructL(TInt, TInt)

IMPORT_C voidCommConstructL(TIntaReadPriority,
TIntaWritePriority
)

Parameters

TInt aReadPriority
TInt aWritePriority

CommDelete()

IMPORT_C voidCommDelete()

CommIsReading()

IMPORT_C TBoolCommIsReading()const

CommIsWriting()

IMPORT_C TBoolCommIsWriting()const

CommOpen(const TDesC &, TCommAccess)

IMPORT_C TIntCommOpen(const TDesC &aName,
TCommAccessaAccess
)

Parameters

const TDesC & aName
TCommAccess aAccess

CommOpen(const TDesC &, const TDesC &, TCommAccess)

IMPORT_C TIntCommOpen(const TDesC &aDll,
const TDesC &aName,
TCommAccessaAccess
)

Parameters

const TDesC & aDll
const TDesC & aName
TCommAccess aAccess

CommOpen(const TDesC &, const TDesC &, TCommAccess, TCommRole)

IMPORT_C TIntCommOpen(const TDesC &aDll,
const TDesC &aName,
TCommAccessaAccess,
TCommRoleaRole
)

Parameters

const TDesC & aDll
const TDesC & aName
TCommAccess aAccess
TCommRole aRole

CommRead(TDes8 &)

IMPORT_C voidCommRead(TDes8 &aDes)

Parameters

TDes8 & aDes

CommReadCancel()

IMPORT_C voidCommReadCancel()

CommReadComplete(TInt)

voidCommReadComplete(TIntaStatus)[pure virtual]

Parameters

TInt aStatus

CommReadOneOrMore(TDes8 &)

IMPORT_C voidCommReadOneOrMore(TDes8 &aDes)

Parameters

TDes8 & aDes

CommReadReady()

IMPORT_C voidCommReadReady()

CommWrite(const TDesC8 &)

IMPORT_C voidCommWrite(const TDesC8 &aDes)

Parameters

const TDesC8 & aDes

CommWriteCancel()

IMPORT_C voidCommWriteCancel()

CommWriteComplete(TInt)

voidCommWriteComplete(TIntaStatus)[pure virtual]

Parameters

TInt aStatus

CommWriteReady()

IMPORT_C voidCommWriteReady()

Member Data Documentation

CCommLinkStatus * iCommLinkStatus

CCommLinkStatus *iCommLinkStatus[protected]

RComm iCommPort

RComm iCommPort[protected]

CCommReader * iCommReader

CCommReader *iCommReader[protected]

RCommServ iCommServer

RCommServ iCommServer[protected]

CCommWriter * iCommWriter

CCommWriter *iCommWriter[protected]