Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Sessions and requests

Communication between client and server is represented by a session; this is initiated by the client. A client thread may have several sessions with a server. A session can also be shared by all the client threads in a process.

Sessions are maintained by the Kernel and the important points are:

If a call to the client interface requires a service from the server, the client interface must set up and send a message. The message has a 32-bit operation code to identify the request, and up to four 32-bit parameters. The process can be summarised as follows:

The following diagram illustrates this:

A server can support multiple connections from a client in a number of distinct ways:

A server can support the creation of sharable sessions allowing all the threads in a client process to share a single session. The important points are:

Note that in ER5:


See also

Subsessions within a session