예제 #1
0
 public void NamedEvent(string name, WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.NamedEvents[name]         = callback);
예제 #2
0
 public void DisconnectionEvent(WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.disconnectEvent = callback);
예제 #3
0
 public void NumberedEvent(byte number, WebSocketCallback callback) => InternalQueueManager.SetupQueue.Run(() => this.NumberedEvents[number] = callback);