public abstract class BoshWorker extends Object implements tigase.jaxmpp.core.client.connector.BoshRequest, com.google.gwt.core.client.Scheduler.ScheduledCommand
| Constructor and Description |
|---|
BoshWorker(BoshConnector connector,
com.google.gwt.http.client.RequestBuilder requestBuilder,
tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xml.Element element) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendToBody(tigase.jaxmpp.core.client.xml.Element stanza) |
boolean |
equals(Object obj) |
void |
execute() |
String |
getRid() |
int |
hashCode() |
protected abstract void |
onError(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response,
Throwable caught) |
protected abstract void |
onSuccess(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response) |
protected abstract void |
onTerminate(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response) |
void |
run() |
void |
terminate() |
String |
toString() |
public BoshWorker(BoshConnector connector, com.google.gwt.http.client.RequestBuilder requestBuilder, tigase.jaxmpp.core.client.SessionObject sessionObject, tigase.jaxmpp.core.client.xml.Element element) throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionpublic void appendToBody(tigase.jaxmpp.core.client.xml.Element stanza)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionpublic void execute()
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommandpublic String getRid()
getRid in interface tigase.jaxmpp.core.client.connector.BoshRequestprotected abstract void onError(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response,
Throwable caught)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected abstract void onSuccess(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected abstract void onTerminate(int responseCode,
String data,
tigase.jaxmpp.core.client.xml.Element response)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void terminate()
terminate in interface tigase.jaxmpp.core.client.connector.BoshRequestCopyright © 2006–2015 Tigase. All rights reserved.