Example #1
0
 private void AnnounceOneNodeToServer(Node node, ServiceConnection service)
 {
     service.Send(node.ToString());
 }
Example #2
0
 private void AnnounceOneNodeToAllServers(Node node)
 {
     foreach (ServiceConnection connection in Connections.Where(i => i.Client.Connected))
     {
         connection.Send(node.ToString());
     }
 }