diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_r_count_session.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_r_count_session.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,144 @@ + + +TB10.1 Example Applications: RCountSession Class Reference + + + + +

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
+ +