Ejemplo n.º 1
0
        void IDispatcher.SendSimulationState(SimulationStateMessage pMessage)
        {
            IDispatcher target;

            lock (this) {
                target = Target;
            }
            if (target != null)
            {
                target.SendSimulationState(pMessage);
            }
        }
Ejemplo n.º 2
0
 public virtual void SendSimulationState(SimulationStateMessage pMessage)
 {
 }
Ejemplo n.º 3
0
 void IDispatcher.SendSimulationState(SimulationStateMessage pMessage)
 {
     MessageReceived = true;
     SyncContext.Post((object state) => SimulationTime = pMessage.SimulationTime, null);
 }