本文整理匯總了C#中urn_jaus_jss_core_Management_1_1.Management_ReceiveFSMContext類的典型用法代碼示例。如果您正苦於以下問題:C# Management_ReceiveFSMContext類的具體用法?C# Management_ReceiveFSMContext怎麽用?C# Management_ReceiveFSMContext使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Management_ReceiveFSMContext類屬於urn_jaus_jss_core_Management_1_1命名空間,在下文中一共展示了Management_ReceiveFSMContext類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: Management_ReceiveFSM
public Management_ReceiveFSM(urn_jaus_jss_core_Transport_1_1.Transport_ReceiveFSM pTransport_ReceiveFSM, urn_jaus_jss_core_Events_1_1.Events_ReceiveFSM pEvents_ReceiveFSM, urn_jaus_jss_core_AccessControl_1_1.AccessControl_ReceiveFSM pAccessControl_ReceiveFSM)
{
/*
* If there are other variables, context must be constructed last so that all
* class variables are available if an EntryAction of the InitialState of the
* statemachine needs them.
*/
context = new Management_ReceiveFSMContext(this);
this.pTransport_ReceiveFSM = pTransport_ReceiveFSM;
this.pEvents_ReceiveFSM = pEvents_ReceiveFSM;
this.pAccessControl_ReceiveFSM = pAccessControl_ReceiveFSM;
}
示例2: ReceiveTransition
protected internal override void ReceiveTransition(Management_ReceiveFSMContext context, Resume msg, Receive.Body.ReceiveRec transportData)
{
Management_ReceiveFSM ctxt = context.Owner;
#if TRACE
Trace.WriteLine(
"TRANSITION : Management_ReceiveFSM_SM.Receiving_Ready_Controlled_Available_Standby.ReceiveTransition(, Resume msg, Receive.Body.ReceiveRec transportData)");
#endif
if (ctxt.isControllingClient( transportData ))
{
context.State.Exit(context);
context.ClearState();
try
{
ctxt.processNotifications("Receiving_Ready_Controlled_Available_Ready", null);
}
finally
{
context.State = Management_ReceiveFSM_SM.Receiving_Ready_Controlled_Available_Ready;
context.State.Entry(context);
}
}
else {
base.ReceiveTransition(context, msg, transportData);
}
return;
}
示例3: UpdateEventTransition
protected internal virtual void UpdateEventTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例4: RequestControlTransition
protected internal virtual void RequestControlTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例5: QueryTimeoutTransition
protected internal virtual void QueryTimeoutTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例6: InternalStateChange_To_Management_ReceiveFSM_Receiving_ReadyTransition
protected internal virtual void InternalStateChange_To_Management_ReceiveFSM_Receiving_ReadyTransition(Management_ReceiveFSMContext context, InternalEvent ie)
{
Default(context);
}
示例7: Exit
protected internal virtual void Exit(Management_ReceiveFSMContext context)
{
}
示例8: FailureTransition
protected internal override void FailureTransition(Management_ReceiveFSMContext context)
{
Management_ReceiveFSM ctxt = context.Owner;
#if TRACE
Trace.WriteLine(
"TRANSITION : Management_ReceiveFSM_SM.Receiving_Ready_NotControlled_NotAvailable_Shutdown.FailureTransition()");
#endif
context.State.Exit(context);
context.ClearState();
try
{
ctxt.processNotifications("Receiving_Ready_NotControlled_NotAvailable_Failure", null);
}
finally
{
context.State = Management_ReceiveFSM_SM.Receiving_Ready_NotControlled_NotAvailable_Failure;
context.State.Entry(context);
}
return;
}
示例9: TimeoutTransition
protected internal override void TimeoutTransition(Management_ReceiveFSMContext context)
{
#if TRACE
Trace.WriteLine(
"TRANSITION : Management_ReceiveFSM_SM.Receiving_Ready_NotControlled_NotAvailable_Emergency.TimeoutTransition()");
#endif
return;
}
示例10: Default
protected internal virtual void Default(Management_ReceiveFSMContext context)
{
#if TRACE
Trace.WriteLine(
"TRANSITION : Default");
#endif
throw (
new statemap.TransitionUndefinedException(
"State: " +
context.State.Name +
", Transition: " +
context.GetTransition()));
}
示例11: EventOccurredTransition
protected internal virtual void EventOccurredTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例12:
protected internal override void InternalStateChange_To_Management_ReceiveFSM_Receiving_Ready_NotControlled_NotAvailable_InitTransition(Management_ReceiveFSMContext context, InternalEvent ie)
{
Management_ReceiveFSM ctxt = context.Owner;
#if TRACE
Trace.WriteLine(
"TRANSITION : Management_ReceiveFSM_SM.Receiving_Ready_NotControlled_NotAvailable_Shutdown.InternalStateChange_To_Management_ReceiveFSM_Receiving_Ready_NotControlled_NotAvailable_InitTransition(, InternalEvent ie)");
#endif
context.State.Exit(context);
context.ClearState();
try
{
ctxt.initializeAction();
ctxt.processNotifications("Receiving_Ready_NotControlled_NotAvailable_Init", ie);
}
finally
{
context.State = Management_ReceiveFSM_SM.Receiving_Ready_NotControlled_NotAvailable_Init;
context.State.Entry(context);
}
return;
}
示例13: InitializedTransition
protected internal virtual void InitializedTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例14: BroadcastLocalTransition
protected internal virtual void BroadcastLocalTransition(Management_ReceiveFSMContext context)
{
Default(context);
}
示例15: ClearEmergencyTransition
protected internal virtual void ClearEmergencyTransition(Management_ReceiveFSMContext context)
{
Default(context);
}