Пример #1
0
 public void EndOfRequest(MonoWorkerRequest mwr)
 {
     try {
         mwr.CloseConnection();
     } catch {
     } finally {
         ((BaseRequestBroker)requestBroker).UnregisterRequest(mwr.RequestId);
     }
 }
Пример #2
0
        protected void ProcessRequest(MonoWorkerRequest mwr)
        {
            if (!mwr.ReadRequestData())
            {
                EndOfRequest(mwr);
                return;
            }

            mwr.EndOfRequestEvent += endOfRequest;
            mwr.ProcessRequest();
        }
Пример #3
0
		protected void ProcessRequest (MonoWorkerRequest mwr)
		{
			if (!mwr.ReadRequestData ()) {
				EndOfRequest (mwr);
				return;
			}
			
			mwr.EndOfRequestEvent += endOfRequest;
			mwr.ProcessRequest ();
		}
Пример #4
0
		public void EndOfRequest (MonoWorkerRequest mwr)
		{
			try {
				mwr.CloseConnection ();
			} catch {
			} finally {
				((BaseRequestBroker) requestBroker).UnregisterRequest (mwr.RequestId);
			}
		}