Exemple #1
0
   virtual string callOperation(ChannelizerProxy *proxy)
   {
      if (componentControlImmedCmdsGlobal.isComponentUnderControl(proxy->getName()))
      {
	 componentControlImmedCmdsGlobal.restart(proxy->getName());
      }
      else
      {
	 // Proxy can't do a restart
      }

      return "";
   }
   virtual string callOperation(DxProxy *proxy)
   {
      if (componentControlImmedCmdsGlobal.isComponentUnderControl(proxy->getName()))
      {
	 componentControlImmedCmdsGlobal.restart(proxy->getName());
      }
      else
      {
	 // This has no effect on real dxs?
	 proxy->restart();
      }

      return "";
   }
   virtual string callOperation(TscopeProxy *proxy)
   {
	 proxy->disconnect(); // break connection to ant server
	  
	 if (componentControlImmedCmdsGlobal.isComponentUnderControl(proxy->getName()))
	 {
	    componentControlImmedCmdsGlobal.restart(proxy->getName());
	 }
	 else
	 {
	    // Proxy can't do this on its own
	 }

      return "";
   }
Exemple #4
0
   virtual string callOperation(ChannelizerProxy *proxy)
   {
      if (componentControlImmedCmdsGlobal.isComponentUnderControl(proxy->getName()))
      {
	 // Let the component controller perform a kill so that
	 // the component will not be restarted.
	 componentControlImmedCmdsGlobal.shutdown(proxy->getName());
      }
      else
      {
	 // Let the proxy handle shutdown on its own.
	 proxy->shutdown();
      }

      return "";
   }
   virtual string callOperation(TscopeProxy *proxy)
   {
      proxy->disconnect();  // break connection to ant server

      if (componentControlImmedCmdsGlobal.isComponentUnderControl(proxy->getName()))
      {
         // Let the component controller perform a shutdown so that
         // the component will not be restarted.
         componentControlImmedCmdsGlobal.shutdown(proxy->getName());
      }
      else
      {
         // Let the proxy handle shutdown on its own.
         proxy->shutdown();
      }

      return "";
   }