RMBufAsyncRequest Class Reference

class RMBufAsyncRequest : public RCommsBufAsyncRequest

ASYNC ALLOCATOR SUPPORT

Inherits from

Constructor & Destructor Documentation

RMBufAsyncRequest()

IMPORT_CRMBufAsyncRequest()

Constructor inisialiser.

RMBufAsyncRequest(const RMBufAsyncRequest &)

IMPORT_CRMBufAsyncRequest(const RMBufAsyncRequest &aObj)

Copy constructor

Parameters

const RMBufAsyncRequest & aObj

~RMBufAsyncRequest()

IMPORT_C~RMBufAsyncRequest()

Destructor.

Member Functions Documentation

Alloc(RMBufChain &, TInt, TRequestStatus &)

IMPORT_C voidAlloc(RMBufChain &aChain,
TIntaLength,
TRequestStatus &aStatus
)
Allocates memory for a MBuf Chain
  • refer RMBufChain::AllocL notes regarding the deliberate decision not to provide an overloaded min/max mbuf size variant

Parameters

RMBufChain & aChainThe chain
TInt aLength
TRequestStatus & aStatusKErrNone if successful.

Cancel()

IMPORT_C voidCancel()

Cancels outstanding request.

Complete(TInt)

IMPORT_C voidComplete(TIntaCode)[protected]

Completes the request.

Parameters

TInt aCodeThe completion code (status).

DblQueLink()

IMPORT_C TDblQueLink *DblQueLink()[protected]

Length()

IMPORT_C TInt *Length()[protected]

MBufChain()

IMPORT_C RMBufChain *MBufChain()[protected]

MBufQ()

IMPORT_C RMBufQ *MBufQ()[protected]

RequestStatusPtr()

IMPORT_C TRequestStatus *RequestStatusPtr()[protected]

Thread()

IMPORT_C RThread *Thread()[protected]

operator=(const RMBufAsyncRequest &)

IMPORT_C RMBufAsyncRequest &operator=(const RMBufAsyncRequest &aRhs)

Assignment operator.

Parameters

const RMBufAsyncRequest & aRhs