def __init__(self, sock=None, sockMap=None): self._writeQ = [] AbstractTransport.__init__(self)
def closeTransport(self): AbstractTransport.closeTransport(self) self.close()
def closeTransport(self): AbstractTransport.closeTransport(self) self.io_loop.remove_handler(self._fileno) self.socket.close() self.connected = False