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.JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.