conn::CSBECallbackHandler Class Reference

class conn::CSBECallbackHandler : public CActive

The Callback Handler for the RSBEClientSession

This class implements an Active Object interface in order to perform asynchronous calls in a callback manner.

Inherits from

Constructor & Destructor Documentation

CSBECallbackHandler(RSBEClientSession &)

CSBECallbackHandler ( RSBEClientSession & aClientSession ) [private]

Class constructor.

Parameters

RSBEClientSession & aClientSession

~CSBECallbackHandler()

~CSBECallbackHandler ( )

Class destructor.

Member Functions Documentation

CancelRequest()

void CancelRequest ( )

Cancels outsanding request

CompleteObserver(TInt)

void CompleteObserver ( TInt aError ) [private]

Method for completing Client's request status

Parameters

TInt aError Completion Error

ConstructL()

void ConstructL ( ) [private]

Symbian second phase constructor

DoCancel()

void DoCancel ( ) [private, virtual]

CActive::DoCancel() implmenation Completes observer's status with KErrCancel and sets the state to None

NewL(RSBEClientSession &)

CSBECallbackHandler * NewL ( RSBEClientSession & aClientSession ) [static]

Symbian OS constructor

Parameters

RSBEClientSession & aClientSession reference to a ClientSession to call callbacks on

RunError(TInt)

TInt RunError ( TInt aError ) [private, virtual]

If RunL() leaves a CompleteObserver() method called

Error code

Parameters

TInt aError

RunL()

void RunL ( ) [private, virtual]

CActive::RunL() implementation

StartL(TRequestStatus &, TState)

void StartL ( TRequestStatus & aStatus,
TState aState
)

Starts Callback Handler

Parameters

TRequestStatus & aStatus Reference to the Client's request Status
TState aState State in order to make a relevant callback

Member Data Documentation

RSBEClientSession & iClientSession

RSBEClientSession & iClientSession [private]

Reference to the Client Session Class

TRequestStatus * iObserver

TRequestStatus * iObserver [private]

Observer's TRequestStatus

TState iState

TState iState [private]

State to know which function to run