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

      return "";
   }
コード例 #2
0
ファイル: DxParameters.cpp プロジェクト: Abhishekpatil/SonATA
   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 "";
   }
コード例 #3
0
   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 "";
   }