Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def __init__(self, agent):
     """
     :param IConvergenceAgent agent: Convergence agent to notify of changes.
     """
     locator = _AgentLocator(agent)
     AMP.__init__(self, locator=locator)
     self.agent = agent
Exemplo n.º 4
0
 def __init__(self, agent):
     """
     :param IConvergenceAgent agent: Convergence agent to notify of changes.
     """
     locator = _AgentLocator(agent)
     AMP.__init__(self, locator=locator)
     self.agent = agent
Exemplo n.º 5
0
 def __init__(self, *a, **kw):
     AMP.__init__(self, *a, **kw)
     self._producers = {}
     self._consumers = {}
     self._buffers = {}
     self._pending = {}
     self._waitingOnCompletion = {}
     self._draining = set()
Exemplo n.º 6
0
 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)
Exemplo n.º 7
0
 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)
Exemplo n.º 8
0
 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)
Exemplo n.º 9
0
 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)
Exemplo n.º 10
0
 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)
Exemplo n.º 11
0
 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)
Exemplo n.º 12
0
 def __init__(self):
     AMP.__init__(self, locator=ExercisesLocator(self))
Exemplo n.º 13
0
 def __init__(self, obj, methods):
     AMP.__init__(self, locator=MethodCallReceiver(obj, methods))
Exemplo n.º 14
0
 def __init__(self, identifier):
     AMP.__init__(self)
     self.identifier = identifier
     self.finished = Deferred()
Exemplo n.º 15
0
 def __init__(self, avatarId):
     AMP.__init__(self)
     self.avatarId = avatarId
Exemplo n.º 16
0
 def __init__(self):
     MultiplexingCommandLocator.__init__(self)
     AMP.__init__(self)
Exemplo n.º 17
0
 def __init__(self, avatarId):
     AMP.__init__(self)
     self.avatarId = avatarId
Exemplo n.º 18
0
 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
Exemplo n.º 19
0
 def __init__(self, isServer, startupD):
     self.isServer = isServer
     AMP.__init__(self)
     self.startupD = startupD
Exemplo n.º 20
0
 def __init__(self, identifier):
     AMP.__init__(self)
     self.identifier = identifier
     self.finished = Deferred()
Exemplo n.º 21
0
 def __init__(self, nexus):
     AMP.__init__(self)
     self.nexus = nexus
     self.sentTransloads = []
Exemplo n.º 22
0
 def __init__(self, isServer, startupD):
     self.isServer = isServer
     AMP.__init__(self)
     self.startupD = startupD
Exemplo n.º 23
0
 def __init__(self):
     MultiplexingCommandLocator.__init__(self)
     AMP.__init__(self)
Exemplo n.º 24
0
 def __init__(self, nexus):
     AMP.__init__(self)
     self.nexus = nexus
     self.sentTransloads = []