Beispiel #1
0
                protected internal override void QueryAdditionTransition(AdditionServerServiceDef_additionServerFSMContext context, QueryAddition msg, uint sender)
                {
                    AdditionServerServiceDef_additionServerFSM ctxt = context.Owner;


#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : AdditionServerServiceDef_additionServerFSM_SM.Ready.QueryAdditionTransition(, QueryAddition msg, uint sender)");
#endif


                    context.State.Exit(context);
                    context.ClearState();

                    try
                    {
                        ctxt.sendReportAdditionAction(msg, sender);
                        ctxt.processNotifications("Ready", null);
                    }
                    finally
                    {
                        context.State = AdditionServerServiceDef_additionServerFSM_SM.Ready;
                        context.State.Entry(context);
                    }

                    return;
                }
Beispiel #2
0
                protected internal override void InternalStateChange_To_AdditionServerServiceDef_additionServerFSM_InitTransition(AdditionServerServiceDef_additionServerFSMContext context, InternalEvent ie)
                {
                    AdditionServerServiceDef_additionServerFSM ctxt = context.Owner;


#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : AdditionServerServiceDef_additionServerFSM_SM.Ready.InternalStateChange_To_AdditionServerServiceDef_additionServerFSM_InitTransition(, InternalEvent ie)");
#endif


                    context.State.Exit(context);
                    context.ClearState();

                    try
                    {
                        ctxt.fsmStartedAction();
                        ctxt.processNotifications("Init", ie);
                    }
                    finally
                    {
                        context.State = AdditionServerServiceDef_additionServerFSM_SM.Init;
                        context.State.Entry(context);
                    }

                    return;
                }
Beispiel #3
0
                protected internal override void InitToReadyEventDefTransition(AdditionServerServiceDef_additionServerFSMContext context)
                {
                    AdditionServerServiceDef_additionServerFSM ctxt = context.Owner;


#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : AdditionServerServiceDef_additionServerFSM_SM.Init.InitToReadyEventDefTransition()");
#endif


                    context.State.Exit(context);
                    context.ClearState();

                    try
                    {
                        ctxt.serverInitializedAction();
                        ctxt.processNotifications("Ready", null);
                    }
                    finally
                    {
                        context.State = AdditionServerServiceDef_additionServerFSM_SM.Ready;
                        context.State.Entry(context);
                    }

                    return;
                }
 public AdditionServerServiceDefService(JausRouter jausRouter)
 {
     pAdditionServerServiceDef_additionServerFSM = new AdditionServerServiceDef_additionServerFSM();
     pAdditionServerServiceDef_additionServerFSM.setHandlers(ref ieHandler, ref jausRouter);
     pAdditionServerServiceDef_additionServerFSM.setupNotifications();
 }
Beispiel #5
0
        //---------------------------------------------------------------
        // Member methods.
        //

        public AdditionServerServiceDef_additionServerFSMContext(AdditionServerServiceDef_additionServerFSM owner) :
            base(AdditionServerServiceDef_additionServerFSM_SM.Init)
        {
            _owner = owner;
        }
 //---------------------------------------------------------------
 // Member methods.
 //
 public AdditionServerServiceDef_additionServerFSMContext(AdditionServerServiceDef_additionServerFSM owner)
     : base(AdditionServerServiceDef_additionServerFSM_SM.Init)
 {
     _owner = owner;
 }
 public AdditionServerServiceDefService(JausRouter jausRouter )
 {
     pAdditionServerServiceDef_additionServerFSM = new AdditionServerServiceDef_additionServerFSM();
     pAdditionServerServiceDef_additionServerFSM.setHandlers(ref ieHandler, ref jausRouter);
     pAdditionServerServiceDef_additionServerFSM.setupNotifications();
 }