public static class AbstractBoshConnector.BoshPacketReceivedHandler.BoshPacketReceivedEvent extends JaxmppEvent<AbstractBoshConnector.BoshPacketReceivedHandler>
sessionObject
Constructor and Description |
---|
BoshPacketReceivedEvent(SessionObject sessionObject,
int responseCode,
Element response,
String responseData) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(AbstractBoshConnector.BoshPacketReceivedHandler handler)
Invokes handlers method.
|
String |
getReceivedData() |
Element |
getResponse() |
int |
getResponseCode() |
getSessionObject
public BoshPacketReceivedEvent(SessionObject sessionObject, int responseCode, Element response, String responseData)
public void dispatch(AbstractBoshConnector.BoshPacketReceivedHandler handler)
Event
dispatch
in class Event<AbstractBoshConnector.BoshPacketReceivedHandler>
handler
- handlerpublic String getReceivedData()
public Element getResponse()
public int getResponseCode()
Copyright © 2006–2023 Tigase. All rights reserved.