RTimeServerSession Class Reference

Inherits RSessionBase, and RSessionBase.

List of all members.

Public Member Functions

 RTimeServerSession ()
TInt Connect ()
TVersion Version () const
void RequestTime (TTime &aTime, TRequestStatus &aStatus)
void CancelRequestTime () const
 RTimeServerSession ()
TInt Connect ()
TVersion Version () const
void RequestTime (TTime &aTime) const

Detailed Description

RTimeServerSession This class provides the client-side interface to the server session

Definition at line 43 of file timeserversession.h.


Constructor & Destructor Documentation

RTimeServerSession::RTimeServerSession (  ) 

RTimeServerSession. Constructs the object.

Definition at line 34 of file timeserversession.cpp.

RTimeServerSession::RTimeServerSession (  ) 

RTimeServerSession. Constructs the object.


Member Function Documentation

</td >< td >< p > ConstructL Performs the second phase construction of a CCSSyncDocument object< p > Definition at line< a class="el"href="cssyncdocument_8cpp-source.html#l00053"></a > of file< a class="el"href="cssyncdocument_8cpp-source.html"> cssyncdocument cpp</a >< p > References< a class="el"href="timeserversession_8cpp-source.html#l00044"> RTimeServerSession::Connect (  ) 

Connect. Connects to the server and create a session.

Returns:
Error code.

Definition at line 45 of file timeserversession.cpp.

TVersion RTimeServerSession::Version ( void   )  const

Version. Gets the version number.

Returns:
The version.

Definition at line 63 of file timeserversession.cpp.

void RTimeServerSession::RequestTime ( TTime &  aTime,
TRequestStatus &  aStatus 
)

RequestTime. Issues a request for the time to the server.

Parameters:
aTime The location for the server to write data into.
aStatus The TRequestStatus object to be used for async comms.

Definition at line 75 of file timeserversession.cpp.

void RTimeServerSession::CancelRequestTime (  )  const

CancelRequestTime. Cancels any outstanding request to the server.

Definition at line 94 of file timeserversession.cpp.

TInt RTimeServerSession::Connect (  ) 

Connect. Connects to the server and create a session.

Returns:
Error code.
TVersion RTimeServerSession::Version (  )  const

Version. Gets the version number.

Returns:
The version.
void RTimeServerSession::RequestTime ( TTime &  aTime  )  const

RequestTime. Issues a request for the time to the server.

Parameters:
aTime The location for the server to write data into.

Definition at line 74 of file timeserversession.cpp.


Generated by  doxygen 1.6.2