CTimeServerSession Class Reference

List of all members.

Public Member Functions

virtual ~CTimeServerSession ()
void SendTimeToClient ()
void ServiceL (const RMessage2 &aMessage)
virtual ~CTimeServerSession ()
void ServiceL (const RMessage2 &aMessage)

Static Public Member Functions

static CTimeServerSessionNewL (CTimeServer &aServer)
static CTimeServerSessionNewLC (CTimeServer &aServer)
static CTimeServerSessionNewL (CTimeServer &aServer)
static CTimeServerSessionNewLC (CTimeServer &aServer)

Detailed Description

CTimeServerSession. An instance of class CTimeServerSession is created for each client.

Definition at line 33 of file timesession.h.


Constructor & Destructor Documentation

CTimeServerSession::~CTimeServerSession (  )  [virtual]

~CTimeServerSession. Destructor.

Definition at line 79 of file timesession.cpp.

virtual CTimeServerSession::~CTimeServerSession (  )  [virtual]

~CTimeServerSession. Destructor.


Member Function Documentation

CTimeServerSession * CTimeServerSession::NewL ( CTimeServer aServer  )  [static]

NewL. Two-phased constructor.

Parameters:
aServer The server.
Returns:
Pointer to created CTimeServerSession object.

Definition at line 33 of file timesession.cpp.

CTimeServerSession * CTimeServerSession::NewLC ( CTimeServer aServer  )  [static]

NewLC. Two-phased constructor.

Parameters:
aServer The server.
Returns:
Pointer to created CTimeServerSession object.

Definition at line 45 of file timesession.cpp.

void CTimeServerSession::SendTimeToClient (  ) 

SendTimeToClient. Call from Beat() and Synchronize(). Sends current time back to requesting client.

Definition at line 140 of file timesession.cpp.

void CTimeServerSession::ServiceL ( const RMessage2 &  aMessage  ) 

From CSession, ServiceL. Service request from client.

Parameters:
aMessage Message from client (containing requested operation and any data).

Definition at line 89 of file timesession.cpp.

static CTimeServerSession* CTimeServerSession::NewL ( CTimeServer aServer  )  [static]

NewL. Two-phased constructor.

Parameters:
aServer The server.
Returns:
Pointer to created CTimeServerSession object.
static CTimeServerSession* CTimeServerSession::NewLC ( CTimeServer aServer  )  [static]

NewLC. Two-phased constructor.

Parameters:
aServer The server.
Returns:
Pointer to created CTimeServerSession object.
void CTimeServerSession::ServiceL ( const RMessage2 &  aMessage  ) 

From CSession, ServiceL. Service request from client.

Parameters:
aMessage Message from client (containing requested operation and any data).

Generated by  doxygen 1.6.2