internal ServerCounters GetCounters()
        {
            var counters = new ServerCounters(endpoint);

            interactive?.GetCounters(counters.Interactive);
            subscription?.GetCounters(counters.Subscription);
            return(counters);
        }
예제 #2
0
 internal void Add(ServerCounters other)
 {
     if (other == null)
     {
         return;
     }
     Interactive.Add(other.Interactive);
     Subscription.Add(other.Subscription);
 }
예제 #3
0
        internal ServerCounters GetCounters()
        {
            var counters = new ServerCounters(endpoint);
            var tmp      = interactive;

            if (tmp != null)
            {
                tmp.GetCounters(counters.Interactive);
            }
            tmp = subscription;
            if (tmp != null)
            {
                tmp.GetCounters(counters.Subscription);
            }
            return(counters);
        }
 internal void Add(ServerCounters other)
 {
     if (other == null) return;
     this.Interactive.Add(other.Interactive);
     this.Subscription.Add(other.Subscription);
 }