RCountSession Class Reference

List of all members.

Public Member Functions

 RCountSession ()
TInt Connect ()
TVersion Version () const
TInt ResourceCount ()
void Close ()


Detailed Description

RCountSession

The client-side handle to a session with the server, The class forms a layer over the Symbian provided RSessionBase class.

The class deals with the requests made by the main example code by forwarding them to the server. The type of request is identified by a code, one of the TCountServRqst enum values, and arguments are passed via a TIpcArgs object.

Definition at line 32 of file ComplexClient.h.


Constructor & Destructor Documentation

RCountSession::RCountSession (  ) 

Constructor

Definition at line 29 of file ComplexClientSession.cpp.


Member Function Documentation

TInt RCountSession::Connect (  ) 

Connects to the server using 4 message slots.

In this example, the server is implemented as a separate thread. The function starts that thread before attempting to create a session with the server.

The version information specifies the earliest version of the server that we can talk to.

Definition at line 43 of file ComplexClientSession.cpp.

TVersion RCountSession::Version ( void   )  const

Returns the earliest version number of the server that we can talk to.

Definition at line 55 of file ComplexClientSession.cpp.

TInt RCountSession::ResourceCount (  ) 

A server request to get the number of subsessions in this session.

Definition at line 79 of file ComplexClientSession.cpp.

void RCountSession::Close (  ) 

A request to close the session.

It makes a call to the server, which deletes the object container and object index for this session, before calling Close() on the base class.

Definition at line 67 of file ComplexClientSession.cpp.


Generated on Thu Jan 21 10:33:08 2010 for TB10.1 Example Applications by  doxygen 1.5.3