public abstract class BoshWorker extends Object implements BoshRequest
| Constructor and Description |
|---|
BoshWorker(tigase.xml.DomBuilderHandler domHandler,
tigase.xml.SimpleParser parser,
SessionObject sessionObject,
Element body) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getRid()
Returns current response ID.
|
int |
hashCode() |
protected abstract void |
onError(int responseCode,
String responseData,
Element response,
Throwable caught) |
protected abstract void |
onSuccess(int responseCode,
String responseData,
Element response) |
protected abstract void |
onTerminate(int responseCode,
String responseData,
Element response) |
void |
run() |
void |
terminate()
Terminates request.
|
String |
toString() |
public BoshWorker(tigase.xml.DomBuilderHandler domHandler,
tigase.xml.SimpleParser parser,
SessionObject sessionObject,
Element body)
throws JaxmppException
JaxmppExceptionpublic String getRid()
BoshRequestgetRid in interface BoshRequestprotected abstract void onError(int responseCode,
String responseData,
Element response,
Throwable caught)
throws JaxmppException
JaxmppExceptionprotected abstract void onSuccess(int responseCode,
String responseData,
Element response)
throws JaxmppException
JaxmppExceptionprotected abstract void onTerminate(int responseCode,
String responseData,
Element response)
throws JaxmppException
JaxmppExceptionpublic void terminate()
BoshRequestterminate in interface BoshRequestCopyright © 2006–2020 Tigase. All rights reserved.