protected virtual void OnMessageReceived(IPEndPoint endpoint, byte[] data, NodeInfo info) { MessageReceived?.Invoke(this, new TrackerMessageReceivedEventArgs(endpoint, data, info)); }
public TrackerMessageReceivedEventArgs(IPEndPoint source, byte[] data, NodeInfo remoteInfo) { RemoteEndPoint = source; ReceivedData = data; RemoteNodeInfo = remoteInfo; }