

def start(self, *args, **kwargs):
    self.logger = self.server.logger
    self.listener = (self.config['address'], ((self.config['port'] + self.config['agent']['port_diff']) + self.server.manager.config['server_number']))
    StreamServer.__init__(self, self.listener, spawn=Pool())
    self.logger.info('Agent server starting up on {}'.format(self.listener))
    StreamServer.start(self, *args, **kwargs)
    Component.start(self)

dataset/ETHPy150Open simplecrypto/powerpool/powerpool/agent_server.py AgentServer.start/original