RCommsBufAsyncRequest Class Reference

class RCommsBufAsyncRequest

Class that specialises the allocation of RCommsBuf asynchronously.

Public Member Functions
RCommsBufAsyncRequest()
~RCommsBufAsyncRequest()
IMPORT_C voidAlloc(RCommsBufChain &, TInt, TRequestStatus &)
IMPORT_C voidAlloc(RCommsBufChain &, TInt, TInt, TInt, TRequestStatus &)
IMPORT_C voidCancel()
IMPORT_C voidClose()
IMPORT_C TIntOpen(TCommsBufAllocator &)
Protected Member Functions
IMPORT_C voidComplete(TInt)
Private Member Functions
RCommsBufAsyncRequest(CCommsBufAsyncRequest *)
Private Attributes
CCommsBufAsyncRequest *iAsyncReqImpl

Constructor & Destructor Documentation

RCommsBufAsyncRequest()

IMPORT_CRCommsBufAsyncRequest()

The constructor

RCommsBufAsyncRequest(CCommsBufAsyncRequest *)

IMPORT_CRCommsBufAsyncRequest(CCommsBufAsyncRequest *aImpl)[private]

Parameters

CCommsBufAsyncRequest * aImpl

~RCommsBufAsyncRequest()

IMPORT_C~RCommsBufAsyncRequest()

The destructor

Member Functions Documentation

Alloc(RCommsBufChain &, TInt, TRequestStatus &)

IMPORT_C voidAlloc(RCommsBufChain &aChain,
TIntaSize,
TRequestStatus &aStatus
)

Allocate a RCommsBuf chain asynhronously.

Parameters

RCommsBufChain & aChainThe chain
TInt aSize
TRequestStatus & aStatusThe request status

Alloc(RCommsBufChain &, TInt, TInt, TInt, TRequestStatus &)

IMPORT_C voidAlloc(RCommsBufChain &aChain,
TIntaSize,
TIntaMinSize,
TIntaMaxSize,
TRequestStatus &aStatus
)

Allocate a RCommsBuf chain asynhronously.

Parameters

RCommsBufChain & aChainThe chain
TInt aSize
TInt aMinSize
TInt aMaxSize
TRequestStatus & aStatusThe request status

Cancel()

IMPORT_C voidCancel()

Cancel the asynchronous request

Close()

IMPORT_C voidClose()

Complete(TInt)

IMPORT_C voidComplete(TIntaCode)[protected]

Complete the request.

Parameters

TInt aCodeThe request completion code

Open(TCommsBufAllocator &)

IMPORT_C TIntOpen(TCommsBufAllocator &aAllocator)

Parameters

TCommsBufAllocator & aAllocator

Member Data Documentation

CCommsBufAsyncRequest * iAsyncReqImpl

CCommsBufAsyncRequest *iAsyncReqImpl[private]