private void OnMessageReceived(UdpMessageReceivedEventArgs e) { var handler = MessageReceived; if (handler != null) handler(this, e); }
private void OnMessageReceived(UdpMessageReceivedEventArgs e) { var handler = MessageReceived; if (handler != null) { handler(this, e); } }
public void Preempt(UdpMessageReceivedEventArgs messageReceivedEventArgs) { try { OnPreempted(); } catch (Exception exception) { _logger.Error(LogTag, exception); } }