RCountSubSession Class Reference

List of all members.

Public Member Functions

TInt Open (RCountSession &aServer)
TInt SetFromString (const TDesC &aString)
void Close ()
void Increase ()
void Decrease ()
void IncreaseBy (TInt anInt)
void DecreaseBy (TInt anInt)
void Reset ()
TInt CounterValue ()


Detailed Description

RCountSubSession

The class represents a subsession of the session represented by RCountSession.

Definition at line 51 of file ComplexClient.h.


Member Function Documentation

TInt RCountSubSession::Open ( RCountSession aSession  ) 

Creates a new subsession with the count server.

Definition at line 27 of file ComplexClientSubSession.cpp.

TInt RCountSubSession::SetFromString ( const TDesC &  aString  ) 

A server request to initialise the subsession counter using a descriptor (e.g passing the text string "12").

Definition at line 49 of file ComplexClientSubSession.cpp.

void RCountSubSession::Close (  ) 

Close the subsession.

This just a simple wrapper around the RSubSessionBase class function that does the actual close operation.

Definition at line 39 of file ComplexClientSubSession.cpp.

void RCountSubSession::Increase (  ) 

A server request to increase the counter value by the default value (i.e. 1).

Definition at line 60 of file ComplexClientSubSession.cpp.

void RCountSubSession::Decrease (  ) 

A server request to decrease the counter value by the default value (i.e. 1).

Definition at line 87 of file ComplexClientSubSession.cpp.

void RCountSubSession::IncreaseBy ( TInt  anInt  ) 

A server request to increase the counter value by the specified integer value.

Definition at line 73 of file ComplexClientSubSession.cpp.

void RCountSubSession::DecreaseBy ( TInt  anInt  ) 

A server request to decrease the counter value by the specified integer value.

Definition at line 100 of file ComplexClientSubSession.cpp.

void RCountSubSession::Reset (  ) 

A server request to reset the counter value to 0.

Definition at line 113 of file ComplexClientSubSession.cpp.

TInt RCountSubSession::CounterValue (  ) 

A server request to get the curent value of the counter.

We pass a TPckgBuf across to the server.

Definition at line 127 of file ComplexClientSubSession.cpp.


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