class XMPP::Metrics

Overview

Stream Metrics

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def connect_time : Time::Span #

connect_time returns the duration between client initiation of the TCP/IP connection to the server and actual TCP/IP session establishment. This time includes DNS resolution and can be slightly higher if the DNS resolution result was not in cache.


def login_time : Time::Span #

login_time returns the between client initiation of the TCP/IP connection to the server and the return of the login result. This includes ConnectTime, but also XMPP level protocol negociation like starttls.


def reset #

def set_connect_time #

def set_login_time #