Beispiel #1
0
 public void Response(ReqMsgHandler handler)
 {
     if (_busReady && handler != null)
     {
         MsgBus.Response(handler);
     }
     else
     {
         log.ErrorFormat("Msgbus or ReqMsgHandler is null.");
     }
 }
Beispiel #2
0
        //private bool IsTimeout(long started, int timeout)
        //{
        //    return (System.DateTime.Now.Ticks - started) / 1000 / 10000 >= timeout;
        //}

        public void Response(ReqMsgHandler handler)
        {
            this.reqMsgHandler = handler;
        }