Ejemplo n.º 1
0
 private void OnClosed(object sender, WebSocketCloseData e)
 {
     Log.Trace($"PolygonDataQueueHandler.OnClosed({_securityType}): {e.Reason}");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Event invocator for the <see cref="Close"/> event
 /// </summary>
 protected virtual void OnClose(WebSocketCloseData e)
 {
     Log.Trace($"ZerodhaWebSocketClientWrapper.OnClose(): Connection closed (IsOpen:{IsOpen}, State:{_client.State}):  wss://ws.kite.trade ...");
     Closed?.Invoke(this, e);
 }
Ejemplo n.º 3
0
 private void HandleClosed(object sender, WebSocketCloseData e)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Handles <see cref="IWebSocket.Closed"/> event.
 /// </summary>
 protected virtual void OnClosed(object sender, WebSocketCloseData e) => SocketClosed?.Invoke();