Package org.jivesoftware.smack
Interface ConnectionCreationListener
public interface ConnectionCreationListener
Implementors of this interface will be notified when a new
XMPPConnection
has been created. The newly created connection will not be actually connected to
the server. Use XMPPConnectionRegistry.addConnectionCreationListener(ConnectionCreationListener)
to add new listeners.-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectionCreated
(XMPPConnection connection) Notification that a new connection has been created.
-
Method Details
-
connectionCreated
Notification that a new connection has been created. The new connection will not yet be connected to the server.- Parameters:
connection
- the newly created connection.
-