public void Dispose() { if (!IsDisposed) { EndPoint = null; _server = null; IsDisposed = true; } }
internal UdpConnectionEntity(uint id, UdpServerEntity server, IPEndPoint endPoint) : base(id) { _server = server; EndPoint = endPoint; }
public void Dispose() { if (!IsDisposed) { EndPoint = null; _server = null; IsDisposed = true; } }
internal UdpConnectionEntity(uint id, UdpServerEntity server, IPEndPoint endPoint) : base(id) { _server = server; EndPoint = endPoint; }