/// <summary>
        /// Node statistics constructor.
        /// </summary>
        public NodeStats(Node node)
        {
            this.node      = node;
            this.syncStats = node.GetConnectionStats();

            if (node is AsyncNode)
            {
                this.asyncStats = ((AsyncNode)node).GetAsyncConnectionStats();
            }
            else
            {
                this.asyncStats = new ConnectionStats(0, 0);
            }
        }