コード例 #1
0
ファイル: _protocol.py プロジェクト: markandrewj/flocker
 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
ファイル: _protocol.py プロジェクト: ALSEDLAH/flocker
 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
ファイル: _protocol.py プロジェクト: markandrewj/flocker
 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
ファイル: _protocol.py プロジェクト: ALSEDLAH/flocker
 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
ファイル: __init__.py プロジェクト: habnabit/txampproducer
 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
ファイル: _protocol.py プロジェクト: achanda/flocker
 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
ファイル: _protocol.py プロジェクト: jongiddy/flocker
 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
ファイル: _protocol.py プロジェクト: jongiddy/flocker
 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
ファイル: _protocol.py プロジェクト: stmcginnis/flocker
 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
ファイル: protocol.py プロジェクト: jaydenwhyte/arthur
 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
ファイル: auth_server.py プロジェクト: pombredanne/epsilon
 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
ファイル: route_client.py プロジェクト: pombredanne/epsilon
 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 = []