コード例 #1
0
        internal RpcServerContext(RpcServerTransaction trans)
        {
            _request     = trans.Request;
            _trans       = trans;
            _hasReturned = 0;

            _observer = RpcObserverManager.GetServerItem(_request.Service, _request.Method, _request.FromService, _request.FromComputer);
            _watch    = new Stopwatch();
            _watch.Start();
        }
コード例 #2
0
        public RpcServerContext(IRpcServerTransaction trans)
        {
            _request     = trans.ReceiveRequestHeader();
            _trans       = trans;
            _hasReturned = 0;

            _observer = RpcObserverManager.GetServerItem(_request.Service, _request.Method, _request.FromService, _request.FromComputer);
            _watch    = new Stopwatch();
            _watch.Start();
            // _perfCounters.ConcurrentContext.Increment();
        }