The Interclient Communication Service provides low-level clients communication methods.
The whole point of the ICS (Inter-Communication Service) is to define a communication interface for IM-like systems, and to provide the following functionality:
The interface aims to be asynchronous.
Start to look at the API:
Known implementations: http://jakeapp.sourceforgen.net/ics-xmpp.