public class XMPPConnectionRegistry extends Object
Constructor and Description |
---|
XMPPConnectionRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
addConnectionCreationListener(ConnectionCreationListener connectionCreationListener)
Adds a new listener that will be notified when new Connections are created.
|
protected static Collection<ConnectionCreationListener> |
getConnectionCreationListeners()
Get the collection of listeners that are interested in connection creation events.
|
static void |
removeConnectionCreationListener(ConnectionCreationListener connectionCreationListener)
Removes a listener that was interested in connection creation events.
|
public XMPPConnectionRegistry()
public static void addConnectionCreationListener(ConnectionCreationListener connectionCreationListener)
connectionCreationListener
- a listener interested on new connections.public static void removeConnectionCreationListener(ConnectionCreationListener connectionCreationListener)
connectionCreationListener
- a listener interested on new connections.protected static Collection<ConnectionCreationListener> getConnectionCreationListeners()