diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_time_server.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_time_server.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,393 @@ + + +
+ +Inherits CServer2, and CServer2.
+ + +Public Member Functions | |
virtual | ~CTimeServer () |
void | IncrementSessions () |
void | DecrementSessions () |
void | WaitForTickL () |
void | Beat () |
void | Synchronize () |
void | IncrementSessions () |
void | DecrementSessions () |
Static Public Member Functions | |
static CTimeServer * | NewL () |
static CTimeServer * | NewLC () |
static TInt | ThreadFunction (TAny *aStarted) |
static CTimeServer * | NewL () |
static CTimeServer * | NewLC () |
static TInt | ThreadFunction (TAny *aNone) |
Protected Member Functions | |
TInt | RunError (TInt aError) |
TInt | RunError (TInt aError) |
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 30 of file timeserver.h.
+CTimeServer::~CTimeServer | +( | ++ | ) | + [virtual] |
+
~CTimeServer. Destructor.
+ +Definition at line 78 of file timeserver.cpp.
+ +CTimeServer * CTimeServer::NewL | +( | ++ | ) | + [static] |
+
NewL. Two-phased constructor.
+Definition at line 32 of file timeserver.cpp.
+ +CTimeServer * CTimeServer::NewLC | +( | ++ | ) | + [static] |
+
NewLC. Two-phased constructor.
+Definition at line 44 of file timeserver.cpp.
+ +TInt CTimeServer::ThreadFunction | +( | +TAny * | +aStarted | +) | + [static] |
+
ThreadFunction. Main function for the server thread.
+aStarted | A semaphore to be flagged when server has been started. |
Definition at line 264 of file timeserver.cpp.
+ +void CTimeServer::IncrementSessions | +( | ++ | ) | ++ |
IncrementSessions. Increments the count of the active sessions for this server.
+ +Definition at line 111 of file timeserver.cpp.
+ +void CTimeServer::DecrementSessions | +( | ++ | ) | ++ |
DecrementSessions. Decrements the count of the active sessions for this server. If no more sessions are in use the server terminates.
+ +Definition at line 121 of file timeserver.cpp.
+ +void CTimeServer::WaitForTickL | +( | ++ | ) | ++ |
WaitForTickL. Activates the heartbeat.
+ +Definition at line 181 of file timeserver.cpp.
+ +void CTimeServer::Beat | +( | ++ | ) | ++ |
From MBeating, Beat. A clock tick has occured.
+ +Definition at line 195 of file timeserver.cpp.
+ +void CTimeServer::Synchronize | +( | ++ | ) | ++ |
From MBeating, Synchronize. Several clock ticks have occured.
+ +Definition at line 205 of file timeserver.cpp.
+ +TInt CTimeServer::RunError | +( | +TInt | +aError | +) | + [protected] |
+
From CActive, RunError. Processes any errors.
+aError | The leave code reported. |
Definition at line 135 of file timeserver.cpp.
+ +static CTimeServer* CTimeServer::NewL | +( | ++ | ) | + [static] |
+
NewL. Two-phased constructor.
+static CTimeServer* CTimeServer::NewLC | +( | ++ | ) | + [static] |
+
NewLC. Two-phased constructor.
+static TInt CTimeServer::ThreadFunction | +( | +TAny * | +aNone | +) | + [static] |
+
ThreadFunction. Main function for the server thread.
+aNone | Not used. |
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.
+aError | The leave code reported. |