public void onClose() { transport.removeSocket(this); }
public TCPClientSocket(TcpChannel channel, TCPClientTransportPeer transport) { super(channel, transport.getSession().getEventLoop()); this.transport = transport; this.session = transport.getSession(); }