Esempio n. 1
0
 public void CrossUnsubscribe(Publisher publisher)
 {
     foreach(KeyValuePair<ulong, SocketClient> pair in this.subscribers) {
         publisher.Unsubscribe(pair.Value);
     }
 }
Esempio n. 2
0
 public SocketServer()
 {
     Log.Add("server created");
     this.publisher = new Publisher();
     inst = this;
 }