Public Member Functions | |
CCountSubSession (CCountSession *aSession) | |
void | ConstructL (CCountSession *aSession) |
void | SetFromStringL (const RMessage2 &aMessage) |
void | Increase () |
void | IncreaseBy (const RMessage2 &aMessage) |
void | Decrease () |
void | DecreaseBy (const RMessage2 &aMessage) |
void | Reset () |
void | CounterValueL (const RMessage2 &aMessage) |
Static Public Member Functions | |
static CCountSubSession * | NewL (CCountSession *aSession) |
Protected Attributes | |
CCountSession * | iSession |
Definition at line 165 of file ComplexServer.h.
void CCountSubSession::SetFromStringL | ( | const RMessage2 & | aMessage | ) |
Initialize the counter with the numeric equivalent of the descriptor contents This function is here to demonstrate reading from the client address space. Note that in this example, the client and the server are part of the same process,
Definition at line 41 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::Increase | ( | ) |
Increases the session counter by default (1)
Definition at line 94 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::IncreaseBy | ( | const RMessage2 & | aMessage | ) |
Increases the session counter by an integer.
Definition at line 103 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::Decrease | ( | ) |
Decreases the session counter by default (1)
Definition at line 112 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::DecreaseBy | ( | const RMessage2 & | aMessage | ) |
Decreases the session counter by an integer.
Definition at line 121 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::Reset | ( | ) |
Resets the session counter.
Definition at line 130 of file ComplexServerCCountSubSession.cpp.
void CCountSubSession::CounterValueL | ( | const RMessage2 & | aMessage | ) |
Writes the counter value to a descriptor in the client address space. This function demonstrates writing to the client.
Definition at line 140 of file ComplexServerCCountSubSession.cpp.