Example #1
0
 public override void SetCallbacks(NewClientCallback newClientCB, DelClientCallback delClientCB)
 {
     NewClientCallback = newClientCB;
     DelClientCallback = delClientCB;
 }
Example #2
0
 public override void Drop(int clientId, string reason)
 {
     DelClientCallback?.Invoke(clientId, reason);
     Connections[clientId].Disconnect(reason);
 }
Example #3
0
 public abstract void SetCallbacks(NewClientCallback newClientCB, DelClientCallback delClientCB);