Ejemplo n.º 1
0
 def __init__(self, factory, pluginapi, *endpoints):
     '''
     Initialize a new PluginConnection instance.
     
     @param factory: an instance of ZmqFactory
     @param pluginapi: an instance of PluginAPI
     '''
     ZmqConnection.__init__(self, factory, *endpoints)
     self.pluginapi = pluginapi
     self.factory = factory
     self.endpoints = endpoints
Ejemplo n.º 2
0
 def __init__(self, factory, pluginapi, *endpoints):
     '''
     Initialize a new PluginConnection instance.
     
     @param factory: an instance of ZmqFactory
     @param pluginapi: an instance of PluginAPI
     '''
     ZmqConnection.__init__(self, factory, *endpoints)
     self.pluginapi = pluginapi
     self.factory = factory
     self.endpoints = endpoints
Ejemplo n.º 3
0
 def __init__(self, factory, coordinator, *endpoints):
     '''
     Intializer
     @param factory: a ZmqFactory instance.
     @param coordinator: a Coordinator instance.
     
     @return: Nothing
     '''
     ZmqConnection.__init__(self, factory, *endpoints)
     self.coordinator = coordinator
     self.message_id = 0
     self.requests = {}
Ejemplo n.º 4
0
 def __init__(self, factory, coordinator, *endpoints):
     '''
     Intializer
     @param factory: a ZmqFactory instance.
     @param coordinator: a Coordinator instance.
     
     @return: Nothing
     '''
     ZmqConnection.__init__(self, factory, *endpoints)
     self.coordinator = coordinator
     self.message_id = 0
     self.requests = {}