public void disConnect() { state_ = NET_STATE.DISCONNECT; PK_C_REQ_EXIT packet = new PK_C_REQ_EXIT(); this.sendPacket(packet); }
public void disconnect() { PK_C_REQ_EXIT exitPacket = new PK_C_REQ_EXIT(); network.sendPacket(exitPacket); network.close(); }