protected internal override void QueryHeartbeatPulseTransition(PingServer_PingFSMContext context)
                {
                    PingServer_PingFSM ctxt = context.Owner;


#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : PingServer_PingFSM_SM.Ready.QueryHeartbeatPulseTransition()");
#endif

                    PingServer_PingFSMState endState = context.State;

                    context.ClearState();

                    try
                    {
                        ctxt.ReportHeartbeatPulseAction();
                    }
                    finally
                    {
                        context.State = endState;
                    }

                    return;
                }
        //---------------------------------------------------------------
        // Member methods.
        //

        public PingServer_PingFSMContext(PingServer_PingFSM owner) :
            base(PingServer_PingFSM_SM.Ready)
        {
            _owner = owner;
        }
Beispiel #3
0
 public PingServerService(JausRouter jausRouter)
 {
     pPingServer_PingFSM = new PingServer_PingFSM();
     pPingServer_PingFSM.setHandlers(ref ieHandler, ref jausRouter);
     pPingServer_PingFSM.setupNotifications();
 }
 public PingServerService(JausRouter jausRouter )
 {
     pPingServer_PingFSM = new PingServer_PingFSM();
     pPingServer_PingFSM.setHandlers(ref ieHandler, ref jausRouter);
     pPingServer_PingFSM.setupNotifications();
 }