RMBufAsyncRequest Class Reference

class RMBufAsyncRequest : public RCommsBufAsyncRequest

ASYNC ALLOCATOR SUPPORT

Inherits from

Constructor & Destructor Documentation

RMBufAsyncRequest()

IMPORT_C RMBufAsyncRequest ( )

Constructor inisialiser.

RMBufAsyncRequest(const RMBufAsyncRequest &)

IMPORT_C RMBufAsyncRequest ( const RMBufAsyncRequest & aObj )

Copy constructor

Parameters

const RMBufAsyncRequest & aObj

~RMBufAsyncRequest()

IMPORT_C ~RMBufAsyncRequest ( )

Destructor.

Member Functions Documentation

Alloc(RMBufChain &, TInt, TRequestStatus &)

IMPORT_C void Alloc ( RMBufChain & aChain,
TInt aLength,
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 & aChain The chain
TInt aLength
TRequestStatus & aStatus KErrNone if successful.

Cancel()

IMPORT_C void Cancel ( )

Cancels outstanding request.

Complete(TInt)

IMPORT_C void Complete ( TInt aCode ) [protected]

Completes the request.

Parameters

TInt aCode The 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