Den::CShutdownWatchDog Class Reference

class Den::CShutdownWatchDog : public CPeriodic

Inherits from

Constructor & Destructor Documentation

CShutdownWatchDog(CCommonWorkerThread *, const TCallBack &)

CShutdownWatchDog ( CCommonWorkerThread * aWorker,
const TCallBack & aShutDownCb
) [private]

Constructor

Parameters

CCommonWorkerThread * aWorker
const TCallBack & aShutDownCb

Member Functions Documentation

NewL(CCommonWorkerThread *, const TCallBack &)

IMPORT_C CShutdownWatchDog * NewL ( CCommonWorkerThread * aWorker,
const TCallBack & aShutDownCb
) [static]

Parameters

CCommonWorkerThread * aWorker
const TCallBack & aShutDownCb

Shutdown(TBool)

IMPORT_C void Shutdown ( TBool aImmediate )

Que ourselves to shut the socket server down after a suitable delay.

Parameters

TBool aImmediate

TryShutdown(TAny *)

TInt TryShutdown ( TAny * aSelf ) [private, static]

Call the socket server to shut itself down - this must only be done once there are no active sessions.

Parameters

TAny * aSelf

Member Data Documentation

TBool iImmediate

TBool iImmediate [private]

TCallBack iShutDownCb

TCallBack iShutDownCb [private]

CCommonWorkerThread * iWorker

CCommonWorkerThread * iWorker [private]