예제 #1
0
                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;
                }
예제 #2
0
        //---------------------------------------------------------------
        // Member methods.
        //

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