Package tcg.syscontrol.cos

Examples of tcg.syscontrol.cos.CosProcessStatusEnum


    {
      logger_.error("Invalid reference to managed process.");
      return null;
    }

    CosProcessStatusEnum status = null;
   
    //send the operation mode
    for (int i=0; i<CORBA_ERROR_THRESHOLD; i++)
    {
      try
View Full Code Here


      Iterator<ManagedProcessStruct>   itProcess = null;
      Iterator<CorbaServerStruct>    itServer = null;
     
      int                counter = 0;
      //CosOperationModeEnum       operMode;
      CosProcessStatusEnum      processStatus;

      logger_.debug("Going into main loop...");
      NDC.push("ProcessPoller");
     
      keepRunning_ = true;
View Full Code Here

      logger_.info("Performing registration procedure for " + process_.entity);
      NDC.push("Registration:" + process_.entity);
     
      //synchronize process status
      CosProcessStatusEnum status = get_process_status(process_.reference);
      if (status != null)
      {
        logger_.info("Expected status: " + CorbaHelper.ProcessStateToString(process_.runtime.state) +
                ". Actual status: " + CorbaHelper.ProcessStateToString(status));
        process_.runtime.state = status;
View Full Code Here

          }
          if (!keepRunning) break;
        }
       
        //change state requested
        CosProcessStatusEnum prevstate = CosProcessStatusEnum.StatUnstarted;
        switch(requestedState.value())
        {
        case CosProcessStatusEnum._StatRunningMonitor:
          logger.info("Process " + entityName + " is going to MONITOR");
          if (!can_go_to_monitor())
View Full Code Here

TOP

Related Classes of tcg.syscontrol.cos.CosProcessStatusEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.