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