class XMPP::Metrics
- XMPP::Metrics
- Reference
- Object
Overview
Stream Metrics
Defined in:
xmpp/stream_manager.crConstructors
Instance Method Summary
-
#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.
-
#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.
- #reset
- #set_connect_time
- #set_login_time
Constructor Detail
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.