def __init__(self, control_amp_service): """ :param ControlAMPService control_amp_service: The service managing AMP connections to the control service. """ AMP.__init__(self, locator=ControlServiceLocator(control_amp_service)) self.control_amp_service = control_amp_service
def __init__(self, agent): """ :param IConvergenceAgent agent: Convergence agent to notify of changes. """ locator = _AgentLocator(agent) AMP.__init__(self, locator=locator) self.agent = agent
def __init__(self, *a, **kw): AMP.__init__(self, *a, **kw) self._producers = {} self._consumers = {} self._buffers = {} self._pending = {} self._waitingOnCompletion = {} self._draining = set()
def __init__(self, reactor, agent): """ :param IReactorTime reactor: A reactor to use to schedule periodic ping operations. :param IConvergenceAgent agent: Convergence agent to notify of changes. """ locator = _AgentLocator(agent) AMP.__init__(self, locator=locator) self.agent = agent self._pinger = Pinger(reactor)
def __init__(self, reactor, control_amp_service): """ :param reactor: See ``ControlServiceLocator.__init__``. :param ControlAMPService control_amp_service: The service managing AMP connections to the control service. """ locator = ControlServiceLocator(reactor, control_amp_service) AMP.__init__(self, locator=locator) self.control_amp_service = control_amp_service self._pinger = Pinger(reactor)
def __init__(self, reactor, agent): """ :param IReactorTime reactor: A reactor to use to schedule periodic ping [email protected] :param IConvergenceAgent agent: Convergence agent to notify of changes. """ locator = _AgentLocator(agent, timeout_for_protocol(reactor, self)) AMP.__init__(self, locator=locator) self.agent = agent self._pinger = Pinger(reactor)
def __init__(self): AMP.__init__(self, locator=ExercisesLocator(self))
def __init__(self, obj, methods): AMP.__init__(self, locator=MethodCallReceiver(obj, methods))
def __init__(self, identifier): AMP.__init__(self) self.identifier = identifier self.finished = Deferred()
def __init__(self, avatarId): AMP.__init__(self) self.avatarId = avatarId
def __init__(self): MultiplexingCommandLocator.__init__(self) AMP.__init__(self)
def __init__(self, details, new_connection_callback, connection_lost_callback): AMP.__init__(self) self.details = details self.new_connection_callback = new_connection_callback self.connection_lost_callback = connection_lost_callback
def __init__(self, isServer, startupD): self.isServer = isServer AMP.__init__(self) self.startupD = startupD
def __init__(self, nexus): AMP.__init__(self) self.nexus = nexus self.sentTransloads = []