You Are Here:

Community: Wiki

This page was last modified on 31 March 2009, at 23:20.

Inter Process Communication in Symbian

From Forum Nokia Wiki

Contents

Inter Process Communicaton

Sometime communication between two processes requires to accomplish a task. Symbian OS provides client-server architecture for IPC.

Read the following sections for more theoretical explanation.

Lets take an example of communication between two applications, ClientAppliaction and ServerApplication.


ClientAppliaction

  • Create a class and derive it from RSessionBase.
  • Create Session with server using RSessionBase::CreateSession(). //for creating session server must be running on there side.
  • Send messege through RSessionBase::SendReceive(). // first parameter is message id, second is message.



ServerApplication

  • Create a class and derive it from CServer2 and CSession2.
  • Start a server using CSever2::StartL().
  • Create a session with CServer2::NewSessionL().
  • Receive message in CSession2::ServiceL().



Note: For second edition use CServer,CSharableSession instead of CSever2 and CSession2.

External Links.

InterProcessCommunicationOverview And ClientServerOverview


Internal Links.

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fCS001414E5fE2dE5fSendingE5fanE5fMMSE5fmessageX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZmessagingQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qfnZuserE5ftagQSxmessagingX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ
User Rating: qfnZuserE5FratingQNx1E2E0000X