- addConnectionListener
Adds a connection listener to this connection that will be notified when the
connection closes or fa
- addPacketListener
Registers a packet listener with this connection. A packet filter determines
which packets will be d
- createPacketCollector
Creates a new packet collector for this connection. A packet filter determines
which packets will be
- getServiceName
Returns the name of the service provided by the XMPP server for this connection.
This is also called
- getUser
Returns the full XMPP address of the user that is logged in to the connection or
null if not logged
- isConnected
Returns true if currently connected to the XMPP server.
- removePacketListener
Removes a packet listener for received packets from this connection.
- sendPacket
Sends the specified packet to the server.
- addConnectionCreationListener
Adds a new listener that will be notified when new Connections are created. Note
that newly created
- isAnonymous
Returns true if currently authenticated anonymously.
- isAuthenticated
Returns true if currently authenticated by successfully calling the login
method.
- login