public static interface Connector.StateChangedHandler extends EventHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
Connector.StateChangedHandler.StateChangedEvent
Fired after connection state is changed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onStateChanged(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState)
Called when StateChangedEvent is
fired.
|
void onStateChanged(SessionObject sessionObject, Connector.State oldState, Connector.State newState) throws JaxmppException
sessionObject - session object related to connection.oldState - previous connector state.newState - new connector state.JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.