Beispiel #1
0
        private void DetectEventDelegateFunction(object Caller, ResultReturnArgs RRArgs)
        {
            EngineLogger.WriteLog(LoggingLevel.TRACE, "Queueing a Detect call");
            this.MessageQueueCalls = AsyncCallIDs.Detect;

            EngineLogger.WriteLog(LoggingLevel.TRACE, "Defining the ReturnValue for Detect delegate");
            HRESULTS RetVal = (HRESULTS)OptionalNodeProcessing("Detect/DelegateReturnValue", HRESULTS.HR_S_OK);

            EngineLogger.WriteLog(LoggingLevel.INFO, "Return Value: ", RetVal);

            RRArgs.ResultToReturn = RetVal;
        }
Beispiel #2
0
 private bool AsyncCallRunsOnce(AsyncCallIDs TheID)
 {
     return TheID == AsyncCallIDs.Detect || TheID == AsyncCallIDs.Apply;
 }
Beispiel #3
0
 private void SuspendEventDelegateFunction(object Caller, ResultReturnArgs RRArgs)
 {
     this.MessageQueueCalls = AsyncCallIDs.Suspend;
     HRESULTS RetVal = (HRESULTS)OptionalNodeProcessing("Suspend/DelegateReturnValue", HRESULTS.HR_S_OK);
     RRArgs.ResultToReturn = RetVal;
 }
Beispiel #4
0
        private void ApplyEventDelegateFunction(object Caller, ResultReturnArgs RRArgs)
        {
            EngineLogger.WriteLog(LoggingLevel.TRACE, "Queueing an Event call");
            this.MessageQueueCalls = AsyncCallIDs.Apply;

            EngineLogger.WriteLog(LoggingLevel.TRACE, "Defining the value for delegate return value");
            HRESULTS RetVal = (HRESULTS)OptionalNodeProcessing("Apply/DelegateReturnValue", HRESULTS.HR_S_OK);

            RRArgs.ResultToReturn = RetVal;
        }
Beispiel #5
0
        private void PlanEventDelegateFunction(object Caller, SetupActionArgs SAArgs)
        {
            EngineLogger.WriteLog(LoggingLevel.TRACE, "Queueing a Plan call");
            this.MessageQueueCalls = AsyncCallIDs.Plan;
            this.PlanCallArgument = SAArgs.SetupAction;

            EngineLogger.WriteLog(LoggingLevel.TRACE, "Defining return value for Delegate call");
            HRESULTS RetVal = (HRESULTS)OptionalNodeProcessing("Plan/DelegateReturnValue", HRESULTS.HR_S_OK);

            SAArgs.ResultToReturn = RetVal;
        }