755756757758759760761762763764765
/** * Connects to a selected server */ public void connect() { m_packetGen = new PacketGenerator(); /* * Connect via TCP to game server */ NioSocketConnector connector = new NioSocketConnector(); connector.getFilterChain().addLast("codec",