Exemple #1
0
        public void TestRedoFacade()
        {
            RedoFacade reFad = new RedoFacade();

            reFad.Redo();
            Thread.Sleep(500000);
        }
Exemple #2
0
        public void ProcessRequest(HttpContext context)
        {
            RequestProfile.RequestType = "JinRi.Notify.SenderService.RedoHandler";
            RequestProfile.RequestKey  = Guid.NewGuid().ToString();
            RequestProfile.MessageKey  = "";
            RequestProfile.Username    = "";
            string logtype = "重扫服务启动";
            string content = string.Format("{0}", "重扫服务启动");

            Handle.Info(logtype, "RedoHandler.ProcessRequest()", content, "");
            m_redoFacade.Redo();
            context.Response.ContentType = "text/plain";
            context.Response.Write("OK");
        }