Inherits CSession2, and CSession2.
Public Member Functions | |
virtual | ~CTimeServerSession () |
void | SendTimeToClient () |
void | ServiceL (const RMessage2 &aMessage) |
virtual | ~CTimeServerSession () |
void | ServiceL (const RMessage2 &aMessage) |
Static Public Member Functions | |
static CTimeServerSession * | NewL (CTimeServer &aServer) |
static CTimeServerSession * | NewLC (CTimeServer &aServer) |
static CTimeServerSession * | NewL (CTimeServer &aServer) |
static CTimeServerSession * | NewLC (CTimeServer &aServer) |
CTimeServerSession. An instance of class CTimeServerSession is created for each client.
Definition at line 31 of file timesession.h.
CTimeServerSession::~CTimeServerSession | ( | ) | [virtual] |
"fragment"><pre class="fragment"><a name="l00122"></a>00122 { <a name="l00123"></a>00123 <a class="code" href="class_c_time_server.html#40ac9219e4400c125719d767d564fc3e">iSessionCount</a>--; <a name="l00124"></a>00124 <span class="keywordflow">if</span> ( <a class="code" href="class_c_time_server.html#40ac9219e4400c125719d767d564fc3e">iSessionCount</a> <= 0 ) <a name="l00125"></a>00125 { <a name="l00126"></a>00126 CActiveScheduler::Stop(); <a name="l00127"></a>00127 } <a name="l00128"></a>00128 } </pre></div> <p> </td> </tr> </table> <a class="anchor" name="a8205372b5d379fa4b803e98b0726473"></a><!-- doxytag: member="CTimeServer::WaitForTickL" ref="a8205372b5d379fa4b803e98b0726473" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CTimeServer::WaitForTickL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) 
~CTimeServerSession. Destructor.
Definition at line 77 of file timesession.cpp.
virtual CTimeServerSession::~CTimeServerSession | ( | ) | [virtual] |
~CTimeServerSession. Destructor.
CTimeServerSession * CTimeServerSession::NewL | ( | CTimeServer & | aServer | ) | [static] |
NewL. Two-phased constructor.
aServer | The server. |
Definition at line 31 of file timesession.cpp.
CTimeServerSession * CTimeServerSession::NewLC | ( | CTimeServer & | aServer | ) | [static] |
NewLC. Two-phased constructor.
aServer | The server. |
Definition at line 43 of file timesession.cpp.
void CTimeServerSession::SendTimeToClient | ( | ) |
SendTimeToClient. Call from Beat() and Synchronize(). Sends current time back to requesting client.
Definition at line 138 of file timesession.cpp.
void CTimeServerSession::ServiceL | ( | const RMessage2 & | aMessage | ) |
From CSession, ServiceL. Service request from client.
aMessage | Message from client (containing requested operation and any data). |
Definition at line 87 of file timesession.cpp.
static CTimeServerSession* CTimeServerSession::NewL | ( | CTimeServer & | aServer | ) | [static] |
NewL. Two-phased constructor.
aServer | The server. |
static CTimeServerSession* CTimeServerSession::NewLC | ( | CTimeServer & | aServer | ) | [static] |
NewLC. Two-phased constructor.
aServer | The server. |
void CTimeServerSession::ServiceL | ( | const RMessage2 & | aMessage | ) |
From CSession, ServiceL. Service request from client.
aMessage | Message from client (containing requested operation and any data). |