private void beacon_NodeConnected(Beacon arg1, BeaconNode arg2)
 {
     // Console.WriteLine("Client:beacon_NodeConnected");
     if (arg2.Name == "AlyServer" && !this.IsConnected)
     {
         string[] args = arg2.Arguments.Split(' ');
         ConnectServer(string.Format("tcp://{0}:{1}", arg2.Address, args[1]));
         Console.WriteLine("Client" + this.Name + ": ConnectServer");
     }
 }
 private void _beacon_NodeDisConnected(Beacon arg1, BeaconNode arg2)
 {
     DisconnectServer();
 }