예제 #1
0
        public override XElement GetTracingResult()
        {
            INodeEndpointServerTracer tracer = this.server.Tracer;

            if (tracer == null)
            {
                throw new InvalidOperationException("This server does not support tracing.");
            }
            return(tracer.GetTracingResult());
        }
예제 #2
0
        public override void StopTracing()
        {
            INodeEndpointServerTracer tracer = this.server.Tracer;

            if (tracer == null)
            {
                throw new InvalidOperationException("This server does not support tracing.");
            }
            tracer.StopTracing();
        }
예제 #3
0
        public override bool IsTracing()
        {
            INodeEndpointServerTracer tracer = this.server.Tracer;

            if (tracer == null)
            {
                return(false);
            }
            return(tracer.IsTracing());
        }