Ejemplo n.º 1
0
        /// <summary>
        /// Gets whether the given state is reported to the orchestrator
        /// </summary>
        public static bool IsReportedState(this WorkerPipState state)
        {
            switch (state)
            {
            case WorkerPipState.Recording:
            case WorkerPipState.Reporting:
            case WorkerPipState.Reported:
                return(false);

            default:
                return(true);
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Transitions the state of the given pip on the worker
 /// </summary>
 public virtual void Transition(PipId pipId, WorkerPipState state)
 {
     m_workerPipStateManager.Transition(pipId, state);
 }