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
JaxmppException
public String getRid()
BoshRequest
getRid
in interface BoshRequest
protected abstract void onError(int responseCode, String responseData, Element response, Throwable caught) throws JaxmppException
JaxmppException
protected abstract void onSuccess(int responseCode, String responseData, Element response) throws JaxmppException
JaxmppException
protected abstract void onTerminate(int responseCode, String responseData, Element response) throws JaxmppException
JaxmppException
public void terminate()
BoshRequest
terminate
in interface BoshRequest
Copyright © 2006–2023 Tigase. All rights reserved.