예제 #1
0
 /// <summary>
 /// Handles websocket received messages
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public abstract void OnMessage(object sender, WebSocketMessage e);
예제 #2
0
 /// <summary>
 /// Event invocator for the <see cref="Message"/> event
 /// </summary>
 protected virtual void OnMessage(WebSocketMessage e)
 {
     //Logging.Log.Trace("WebSocketWrapper.OnMessage(): " + e.Message);
     Message?.Invoke(this, e);
 }
예제 #3
0
 /// <summary>
 /// Handles websocket received messages
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected abstract void OnMessage(object sender, WebSocketMessage e);