Class AbstractConnectionListener

    • Method Detail

      • connected

        public void connected​(XMPPConnection connection)
        Deprecated.
        Description copied from interface: ConnectionListener
        Notification that the connection has been successfully connected to the remote endpoint (e.g. the XMPP server).

        Note that the connection is likely not yet authenticated and therefore only limited operations like registering an account may be possible.

        Specified by:
        connected in interface ConnectionListener
        Parameters:
        connection - the XMPPConnection which successfully connected to its endpoint.
      • authenticated

        public void authenticated​(XMPPConnection connection,
                                  boolean resumed)
        Deprecated.
        Description copied from interface: ConnectionListener
        Notification that the connection has been authenticated.
        Specified by:
        authenticated in interface ConnectionListener
        Parameters:
        connection - the XMPPConnection which successfully authenticated.
        resumed - true if a previous XMPP session's stream was resumed.
      • connectionClosedOnError

        public void connectionClosedOnError​(java.lang.Exception e)
        Deprecated.
        Description copied from interface: ConnectionListener
        Notification that the connection was closed due to an exception. When abruptly disconnected it is possible for the connection to try reconnecting to the server.
        Specified by:
        connectionClosedOnError in interface ConnectionListener
        Parameters:
        e - the exception.