Exemplo n.º 1
0
 public bool ReconnectToSlaveCore() {
   try {
     pipeProxy = pipeFactory.CreateChannel();
     pipeProxy.Subscribe();
     return true;
   }
   catch (Exception) {
     OnMessageLogged("Couldn't connect to Slave Core. Waiting for the Core to start.");
     return false;
   }
 }
Exemplo n.º 2
0
 public bool ReconnectToSlaveCore()
 {
     try {
         pipeProxy = pipeFactory.CreateChannel();
         pipeProxy.Subscribe();
         return(true);
     }
     catch (Exception) {
         OnMessageLogged("Couldn't connect to Slave Core. Waiting for the Core to start.");
         return(false);
     }
 }
Exemplo n.º 3
0
 public bool ReconnectToSlaveCore()
 {
     try {
         DeregisterEvents();
         pipeProxy = pipeFactory.CreateChannel();
         StatusCommons st = pipeProxy.Subscribe();
         if (st != null)
         {
             RegisterEvents();
             OnStatusChanged(st);
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (Exception) {
         OnMessageLogged("Couldn't connect to Slave core. Is it possible that the core isn't running?");
         return(false);
     }
 }
Exemplo n.º 4
0
 public bool ReconnectToSlaveCore() {
   try {
     DeregisterEvents();
     pipeProxy = pipeFactory.CreateChannel();
     StatusCommons st = pipeProxy.Subscribe();
     if (st != null) {
       RegisterEvents();
       OnStatusChanged(st);
       return true;
     } else {
       return false;
     }
   }
   catch (Exception) {
     OnMessageLogged("Couldn't connect to Slave core. Is it possible that the core isn't running?");
     return false;
   }
 }