Package ZenHub :: Module zenhub :: Class HubAvitar
[hide private]
[frames] | no frames]

Class HubAvitar

source code

twisted.spread.pb.Avatar --+
                           |
                          HubAvitar

Connect collectors to their configuration Services

Instance Methods [hide private]
 
__init__(self, hub) source code
 
perspective_getService(self, serviceName, instance=None, listener=None)
Allow a collector to find a Hub service by name.
source code

Inherited from twisted.spread.pb.Avatar: __providedBy__, perspectiveMessageReceived

Class Variables [hide private]

Inherited from twisted.spread.pb.Avatar: __implemented__, __provides__

Method Details [hide private]

perspective_getService(self, serviceName, instance=None, listener=None)

source code 
Allow a collector to find a Hub service by name. It also associates the service with a collector so that changes can be pushed back out to collectors.
Parameters:
  • serviceName (string) - a name, like 'EventService'
  • instance (string) - the collector's instance name, like 'localhost'
  • listener (a remote reference to the collector) - the callback interface to the collector @return a remote reference to a service