def __init__(self, *args, **kwargs): TCPConnectionFactory.__init__(self, *args, **kwargs) self.dispatch_connections = {} self.factory = DispatchProtocolFactory(self) port = int(config['global']['dispatch.port']) logger.info('Listening Orbit@%s (legacy dispatch protocol)' % port) reactor.listenTCP(port, self.factory)
def __init__(self, *args, **kwargs): TCPConnectionFactory.__init__(self, *args, **kwargs) self.client = ProxyClient()
def __init__(self, *args, **kwargs): TCPConnectionFactory.__init__(self, *args, **kwargs) self.connections['ABC'] = EchoConnection(self, 'ABC')