RCommsBufAsyncRequest Class Reference

class RCommsBufAsyncRequest

Class that specialises the allocation of RCommsBuf asynchronously.

Public Member Functions
RCommsBufAsyncRequest ()
~RCommsBufAsyncRequest ()
IMPORT_C void Alloc ( RCommsBufChain &, TInt , TRequestStatus &)
IMPORT_C void Alloc ( RCommsBufChain &, TInt , TInt , TInt , TRequestStatus &)
IMPORT_C void Cancel ()
IMPORT_C void Close ()
IMPORT_C TInt Open ( TCommsBufAllocator &)
Protected Member Functions
IMPORT_C void Complete ( TInt )
Private Member Functions
RCommsBufAsyncRequest ( CCommsBufAsyncRequest *)
Private Attributes
CCommsBufAsyncRequest * iAsyncReqImpl

Constructor & Destructor Documentation

RCommsBufAsyncRequest()

IMPORT_C RCommsBufAsyncRequest ( )

The constructor

RCommsBufAsyncRequest(CCommsBufAsyncRequest *)

IMPORT_C RCommsBufAsyncRequest ( CCommsBufAsyncRequest * aImpl ) [private]

Parameters

CCommsBufAsyncRequest * aImpl

~RCommsBufAsyncRequest()

IMPORT_C ~RCommsBufAsyncRequest ( )

The destructor

Member Functions Documentation

Alloc(RCommsBufChain &, TInt, TRequestStatus &)

IMPORT_C void Alloc ( RCommsBufChain & aChain,
TInt aSize,
TRequestStatus & aStatus
)

Allocate a RCommsBuf chain asynhronously.

Parameters

RCommsBufChain & aChain The chain
TInt aSize
TRequestStatus & aStatus The request status

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

IMPORT_C void Alloc ( RCommsBufChain & aChain,
TInt aSize,
TInt aMinSize,
TInt aMaxSize,
TRequestStatus & aStatus
)

Allocate a RCommsBuf chain asynhronously.

Parameters

RCommsBufChain & aChain The chain
TInt aSize
TInt aMinSize
TInt aMaxSize
TRequestStatus & aStatus The request status

Cancel()

IMPORT_C void Cancel ( )

Cancel the asynchronous request

Close()

IMPORT_C void Close ( )

Complete(TInt)

IMPORT_C void Complete ( TInt aCode ) [protected]

Complete the request.

Parameters

TInt aCode The request completion code

Open(TCommsBufAllocator &)

IMPORT_C TInt Open ( TCommsBufAllocator & aAllocator )

Parameters

TCommsBufAllocator & aAllocator

Member Data Documentation

CCommsBufAsyncRequest * iAsyncReqImpl

CCommsBufAsyncRequest * iAsyncReqImpl [private]