Class PingManager


  • public final class PingManager
    extends Manager
    Implements the XMPP Ping as defined by XEP-0199. The XMPP Ping protocol allows one entity to ping any other entity by simply sending a ping to the appropriate JID. PingManger also periodically sends XMPP pings to the server to avoid NAT timeouts and to test the connection status.

    The default server ping interval is 30 minutes and can be modified with setDefaultPingInterval(int) and setPingInterval(int).

    See Also:
    XEP-0199:XMPP Ping