def createAcceptor(self): acceptor = Acceptor(self.port + 1, self.ips, self.ip, self.num) if not self.logging_switch: acceptor.logging(False) acceptor.log('starting') acceptor.listen() acceptor.log('exiting')