public static class Connector.StateChangedHandler.StateChangedEvent extends JaxmppEvent<Connector.StateChangedHandler>
sessionObject
Constructor and Description |
---|
StateChangedEvent(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(Connector.StateChangedHandler handler)
Invokes handlers method.
|
Connector.State |
getNewState() |
Connector.State |
getOldState() |
String |
toString() |
getSessionObject
public StateChangedEvent(SessionObject sessionObject, Connector.State oldState, Connector.State newState)
public void dispatch(Connector.StateChangedHandler handler) throws JaxmppException
Event
dispatch
in class Event<Connector.StateChangedHandler>
handler
- handlerJaxmppException
public Connector.State getNewState()
public Connector.State getOldState()
Copyright © 2006–2023 Tigase. All rights reserved.