def __init__(self, address, request_timeout=0): TcpServer.__init__(self, address, RPCConnection, request_timeout=request_timeout)
def __init__(self, address, service_cls=None, set_keep_alive=False): if callable(service_cls): self.service = service_cls() else: self.service = Services() TcpServer.__init__(self, address, RPCConnection, set_keep_alive)