Esempio n. 1
0
        public void OnMtEvent(MtEvent e)
        {
            Log.DebugFormat("OnMtEvent: begin.quote = {0}", e);

            ExecuteCallbackAction(a => a.OnMtEvent(e));

            Log.Debug("OnMtEvent: end.");
        }
Esempio n. 2
0
        public void OnMtEvent(MtEvent mtEvent)
        {
            Log.Debug("OnMtEvent: begin.");

            ExecuteCallbackAction(a => a.OnMtEvent(mtEvent));

            Log.Debug("OnMtEvent: end.");
        }
Esempio n. 3
0
        public void SendEvent(MtEvent mtEvent)
        {
            Log.DebugFormat("SendEvent: begin. event = {0}", mtEvent);

            FireOnMtEvent(mtEvent);

            Log.Debug("SendEvent: end.");
        }
Esempio n. 4
0
        private void Expert_OnMtEvent(MtExpert expert, MtEvent e)
        {
            Log.DebugFormat("Expert_OnMtEvent: begin. expert = {0}, event = {1}", expert, e);

            _service.OnMtEvent(e);

            Log.Debug("Expert_OnMtEvent: end.");
        }
Esempio n. 5
0
        public void OnMtEvent(MtEvent e)
        {
            Log.DebugFormat("OnMtEvent: begin. event = {0}", e);

            MtEventReceived?.Invoke(e);

            Log.Debug("OnMtEvent: end.");
        }
Esempio n. 6
0
        public void OnMtEvent(MtEvent mtEvent)
        {
            Log.DebugFormat("OnMtEvent: begin. event = {0}", mtEvent);

            MtEventReceived?.Invoke(this, new MtEventArgs(mtEvent));

            Log.Debug("OnMtEvent: end.");
        }
Esempio n. 7
0
        public override void SendEvent(MtEvent mtEvent)
        {
            Log.DebugFormat("SendEvent: begin. event = {0}", mtEvent);

            if (IsTestMode)
            {
                if (_stopTimer == null)
                {
                    _stopTimer = new System.Timers.Timer
                    {
                        Interval  = StopExpertInterval,
                        AutoReset = false
                    };
                    _stopTimer.Elapsed += _stopTimer_Elapsed;
                }
            }

            base.SendEvent(mtEvent);

            Log.Debug("SendEvent: end.");
        }
Esempio n. 8
0
 private void FireOnMtEvent(MtEvent mtEvent)
 {
     OnMtEvent?.Invoke(this, mtEvent);
 }
Esempio n. 9
0
 private void FireOnMtEvent(MtEvent mtEvent)
 {
     OnMtEvent?.Invoke(this, new MtEventArgs(mtEvent));
 }
Esempio n. 10
0
 public void SendEvent(MtEvent mtEvent)
 {
     FireOnMtEvent(mtEvent);
 }
Esempio n. 11
0
 public void OnMtEvent(MtEvent mtEvent)
 {
     MtEventReceived?.Invoke(this, new MtEventArgs(mtEvent));
 }
Esempio n. 12
0
 public MtEventArgs(MtEvent e)
 {
     Event = e;
 }
Esempio n. 13
0
 public void OnMtEvent(MtEvent mtEvent)
 {
     ExecuteCallbackAction(a => a.OnMtEvent(mtEvent));
 }