def __init__(self, socket): self._socket = Socket(socket) self._block = Block() self._block.set() logger.info('establish a new telnet session')