public void HandleIncoming(DataInterceptedEventArgs e) { HandleMessage(e, _inPreviousMessages, HandleIncoming, _inCallbacks); }
/// <summary> /// Raises the <see cref="DataIncoming"/> event. /// </summary> /// <param name="e">An <see cref="DataInterceptedEventArgs"/> that contains the event data.</param> /// <returns></returns> protected virtual void OnDataIncoming(DataInterceptedEventArgs e) { DataIncoming?.Invoke(this, e); }
public void HandleOutgoing(DataInterceptedEventArgs e) { HandleMessage(e, _outPreviousMessages, HandleOutgoing, _outCallbacks); }