Examples of CosOperationModeEnum


Examples of tcg.syscontrol.cos.CosOperationModeEnum

      logger_.warn("Current managed process is not running. Synchronization ignored!");
      NDC.pop();
      return;
    }
   
    CosOperationModeEnum curmode;
    switch(status.value())
    {
      //peer try to go into CONTROL
      case CosProcessStatusEnum._StatGoingToControl:
      case CosProcessStatusEnum._StatRunningControl:
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

    }

    //otherwise, need to determine the operation mode
    logger_.debug("Determining operation mode for process " + entity);

    CosOperationModeEnum expectedOperMode = get_expected_operation_mode(process);
    if (expectedOperMode == CosOperationModeEnum.OperControl)
    {
      NDC.pop();
      return true;
    }
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

    ManagedProcessStruct   process = null;
    String          iorString = "";
    org.omg.CORBA.Object  obj = null;
    ICosManagedProcess    processRef = null;
    long          processId = 0;
    CosOperationModeEnum  operMode = null;
   
    //try connecting to existing/zombie processes
    Iterator<ManagedProcessStruct> itProcess = managedProcesses_.values().iterator();
    while (itProcess.hasNext())
    {
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

   
    //our preference is to go to CONTROL
    boolean   canGoToControl = true;
   
    CosProcessRuntimeDataStruct    peerProcess = null;
    CosOperationModeEnum      peerOperMode = null;
   
    //otherwise, check with all peers
    Iterator<PeerManagerStruct> it = activePeers_.values().iterator();
    while(it.hasNext() && canGoToControl)
    {
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

      //synchronize with peer
      synchronize_managed_process(process_);

      //get run time params and operation mode
      CosOperationModeEnum   operMode = get_expected_operation_mode(process_);
      CosRunParamStruct[]   params = get_process_runtime_params(process_);

      if (operMode == CosOperationModeEnum.OperNotApplicable)
      {
        logger_.error("Can not determine expected operation mode. Restarting it.");
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

    return state;
  }

  public CosOperationModeEnum cosGetOperationMode()
  {
    CosOperationModeEnum retval = null;
   
    if(state == CosProcessStatusEnum.StatRunningControl)
    {
      retval = CosOperationModeEnum.OperControl;
    }
View Full Code Here

Examples of tcg.syscontrol.cos.CosOperationModeEnum

   *
   * @see ste.plan.cos.ICosPlanServerOperations#cosGetOperationMode()
   */
  public CosOperationModeEnum cosGetOperationMode()
  {
    CosOperationModeEnum retval = null;

    if (state_ == CosProcessStatusEnum.StatRunningControl)
    {
      retval = CosOperationModeEnum.OperControl;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.