CTimeServer Class Reference

List of all members.

Public Member Functions

virtual ~CTimeServer ()
void IncrementSessions ()
void DecrementSessions ()
void WaitForTickL ()
void Beat ()
void Synchronize ()
void IncrementSessions ()
void DecrementSessions ()

Static Public Member Functions

static CTimeServerNewL ()
static CTimeServerNewLC ()
static TInt ThreadFunction (TAny *aStarted)
static CTimeServerNewL ()
static CTimeServerNewLC ()
static TInt ThreadFunction (TAny *aNone)

Protected Member Functions

TInt RunError (TInt aError)
TInt RunError (TInt aError)

Detailed Description

CTimeServer. An instance of class CTimeServer is the main server class for the ClientServerAsync example application.

CTimeServer. An instance of class CTimeServer is the main server class for the ClientServerSync example application

Definition at line 32 of file timeserver.h.


Constructor & Destructor Documentation

CTimeServer::~CTimeServer (  )  [virtual]

Member Function Documentation

CTimeServer * CTimeServer::NewL (  )  [static]
CTimeServer * CTimeServer::NewLC (  )  [static]
TInt CTimeServer::ThreadFunction ( TAny *  aStarted  )  [static]
void CTimeServer::IncrementSessions (  ) 
void CTimeServer::DecrementSessions (  ) 
void CTimeServer::WaitForTickL (  ) 
void CTimeServer::Beat (  ) 
void CTimeServer::Synchronize (  ) 
TInt CTimeServer::RunError ( TInt  aError  )  [protected]
static CTimeServer* CTimeServer::NewL (  )  [static]
static CTimeServer* CTimeServer::NewLC (  )  [static]
static TInt CTimeServer::ThreadFunction ( TAny *  aNone  )  [static]

ThreadFunction. Main function for the server thread.

Parameters:
aNone Not used.
Returns:
Error code.
void CTimeServer::IncrementSessions (  ) 

IncrementSessions. Increments the count of the active sessions for this server.

void CTimeServer::DecrementSessions (  ) 

DecrementSessions. Decrements the count of the active sessions for this server. If no more sessions are in use the server terminates.

TInt CTimeServer::RunError ( TInt  aError  )  [protected]

From CActive, RunError. Processes any errors.

Parameters:
aError The leave code reported.
Returns:
return KErrNone if leave is handled.

Generated by  doxygen 1.6.2