Query About Client Server Framework in symbian

Login to reply to this topic.
Sat, 2008-02-02 00:38
Joined: 2007-09-04
Forum posts: 19

Hi All,

I have the following query regarding the client server framework in Symbian:

Let Suppose Session is established between Client and Server. Now when Client sends any request to server, It will be called ServiceL of
the Session class. Lets have a following code snippet:
void Session::ServiceL(const RMessage2& aMessage)
{
Service the request;

}
Now Let suppose client sends an another request while server is executing the previous request, Does 2nd request will interrupt the ist
operation i.e. When One request is being executed, Will the ServiceL be called immediately as 2nd request comes or serviceL will wait
for the First Operation to finish?

If any body has idea , Please mail the reply.


Sat, 2008-02-02 14:59
Joined: 2004-09-14
Forum posts: 140
Re: Query About Client Server Framework in symbian

No.

Do Some investigation - CServer is derived from CActive so every session uses the CServers's ActiveObject framework which is not pre-emptable so the calls in the ServiceL function needs to be short running unless it is made asynchronous.


Paul Todd

  • Login to reply to this topic.