コード例 #1
0
ファイル: Server.cs プロジェクト: gnoso/Chill
        /// <summary>
        /// Called at the end of request processing to disconnect the remoting proxy for Connection object
        /// and allow GC to pick it up.
        /// 
        /// 01/06/10 sky: modified signature to enable instrumentation
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="info"></param>
        public virtual void OnRequestEnd(Connection conn, RequestInfo info)
        {
            OnRequestComplete(new RequestEventArgs(info));

            RemotingServices.Disconnect(conn);
        }
コード例 #2
0
 ///<summary>
 ///</summary>
 ///<param name="request"></param>
 public RequestEventArgs(RequestInfo request)
 {
     _request = request;
 }