public void Send(PacketOutStream packet) { if (!isConnected) { return; } this.session.Write(packet.getPackets());; packet.Dispose(); }
public void Announce(PacketOutStream packet) { session.Write(packet.getPackets()); packet.Dispose(); }
public void Broadcast(PacketOutStream packet) { acceptor.Broadcast(packet.getPackets());; packet.Dispose(); }