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(); }
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(); }