Exemplo n.º 1
0
 def remote_takeProxy(self,name,transport):
     '''设置代理通道
     @param addr: (hostname,port)hostname 根节点的主机名,根节点的端口
     '''
     log.msg('node [%s] takeProxy ready'%name)
     child = Child(name,name)
     self.childsmanager.addChild(child)
     child.setTransport(transport)
Exemplo n.º 2
0
 def remote_takeProxy(self, name, transport):
     '''设置代理通道
     @param addr: (hostname,port)hostname 根节点的主机名,根节点的端口
     '''
     log.msg('node [%s] takeProxy ready' % name)
     child = Child(name, name)
     self.childsmanager.addChild(child)
     child.setTransport(transport)
Exemplo n.º 3
0
 def remote_takeProxy(self, name, transport):
     '''设置代理通道
     @param name: 根节点的名称
     '''
     log.msg('node [%s] takeProxy ready' % name)
     child = Child(name, name)
     self.childsmanager.addChild(child)
     child.setTransport(transport)
     self.doChildConnect(name, transport)
Exemplo n.º 4
0
 def remote_takeProxy(self,name,transport):
     '''设置代理通道
     @param name: 根节点的名称
     '''
     log.msg('node [%s] takeProxy ready'%name)
     child = Child(name)
     self.childsmanager.addChild(child)
     child.setTransport(transport)
     self.doChildConnect(name, transport)
Exemplo n.º 5
0
 def remote_takeProxy(self, name, transport):
     """设置代理通道
     @param addr: (hostname,port)hostname 根节点的主机名,根节点的端口
     """
     log.msg("node [%s] takeProxy ready" % name)
     child = Child(name, name)
     self.childsmanager.addChild(child)
     child.setTransport(transport)
     self.doChildConnect(name, transport)
Exemplo n.º 6
0
 def remote_takeProxy(self, name, transport):
     """设置代理通道
     @param name: 根节点的名称
     """
     logger.info('>1 node [%s] takeProxy ready' % name)
     child = Child(self._index, name)
     self._index += 1
     self.childsmanager.addChild(child)
     child.setTransport(transport)
     self.doChildConnect(name, transport)
     logger.info('>2 node [%s] takeProxy ready' % name)
Exemplo n.º 7
0
 def remote_takeProxy(self, name, transport):
     """设置代理通道
     @param name: 根节点的名称
     """
     logger.info('>1 node [%s] takeProxy ready' % name)
     child = Child(self._index, name)
     self._index += 1
     self.childsmanager.addChild(child)
     child.setTransport(transport)
     self.doChildConnect(name, transport)
     logger.info('>2 node [%s] takeProxy ready' % name)