/// <summary> /// Writes a packet. /// </summary> /// <param name="packet">The packet to write.</param> /// <exception cref="System.ObjectDisposedException"> /// The <c cref="PacketWriter">PacketWriter</c> has been closed. /// </exception> /// <exception cref="System.ArgumentNullException"> /// <c>packet</c> is null. /// </exception> public abstract void WritePacket(Packet packet);
internal PacketReadEventArgs(Packet packet) { this.packet = packet; }