public void OnMessageReceived(MessageEventArgs messageEventArgs) { var action = MessageReceived; if (action != null) action(this, messageEventArgs); }
public void OnMessageSent(MessageEventArgs messageEventArgs) { var action = MessageSent; if (action != null) action(this, messageEventArgs); }
public void OnMessageQueuedForSend(MessageEventArgs messageEventArgs) { var action = MessageQueuedForSend; if (action != null) action(this, messageEventArgs); }