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
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
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 = {}
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 = {}