Package g4ds :: Module serviceintegrator :: Class ServiceIntegrator
[show private | hide private]
[frames | no frames]

Class ServiceIntegrator


All issues for communication to connected services.
Method Summary
  __init__(self)
Create the dictionary for connected clients.
  dispatch(self, serviceid, servicename, data, messageid)
Passing the incoming message to the appropriate service.
  registerClient(self, serviceid, callback)
Puts the client into the dictionary of clients.
  sendMessage(self, dest_memberid, serviceid, servicename, message, communityid, messagereference)
Any service message should be sent using this function to connect to the outside world.
  unregisterClient(self, serviceid)
Disconnect the client from the given service id.

Method Details

__init__(self)
(Constructor)

Create the dictionary for connected clients.

dispatch(self, serviceid, servicename, data, messageid)

Passing the incoming message to the appropriate service.

registerClient(self, serviceid, callback)

Puts the client into the dictionary of clients.

sendMessage(self, dest_memberid, serviceid, servicename, message, communityid=None, messagereference=None)

Any service message should be sent using this function to connect to the outside world.

The appropriate functions inside the global message controller are invoked.

unregisterClient(self, serviceid)

Disconnect the client from the given service id.

Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 http://epydoc.sf.net