예제 #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
예제 #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
예제 #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
예제 #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
예제 #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()
예제 #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)
예제 #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)
예제 #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)
예제 #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)
예제 #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)
예제 #11
0
파일: _protocol.py 프로젝트: Elenw/flocker
 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)
예제 #12
0
 def __init__(self):
     AMP.__init__(self, locator=ExercisesLocator(self))
예제 #13
0
 def __init__(self, obj, methods):
     AMP.__init__(self, locator=MethodCallReceiver(obj, methods))
예제 #14
0
 def __init__(self, identifier):
     AMP.__init__(self)
     self.identifier = identifier
     self.finished = Deferred()
예제 #15
0
 def __init__(self, avatarId):
     AMP.__init__(self)
     self.avatarId = avatarId
예제 #16
0
파일: service.py 프로젝트: NazoSnare/merlyn
 def __init__(self):
     MultiplexingCommandLocator.__init__(self)
     AMP.__init__(self)
예제 #17
0
 def __init__(self, avatarId):
     AMP.__init__(self)
     self.avatarId = avatarId
예제 #18
0
파일: control.py 프로젝트: intk/perry
 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
예제 #19
0
파일: test_q2q.py 프로젝트: exarkun/vertex
 def __init__(self, isServer, startupD):
     self.isServer = isServer
     AMP.__init__(self)
     self.startupD = startupD
예제 #20
0
 def __init__(self, identifier):
     AMP.__init__(self)
     self.identifier = identifier
     self.finished = Deferred()
예제 #21
0
파일: sigma.py 프로젝트: chellygel/vertex
 def __init__(self, nexus):
     AMP.__init__(self)
     self.nexus = nexus
     self.sentTransloads = []
예제 #22
0
 def __init__(self, isServer, startupD):
     self.isServer = isServer
     AMP.__init__(self)
     self.startupD = startupD
예제 #23
0
파일: service.py 프로젝트: BanzaiMan/merlyn
 def __init__(self):
     MultiplexingCommandLocator.__init__(self)
     AMP.__init__(self)
예제 #24
0
파일: sigma.py 프로젝트: zhp1254/vertex
 def __init__(self, nexus):
     AMP.__init__(self)
     self.nexus = nexus
     self.sentTransloads = []