tigase.jaxmpp.j2se.connectors.bosh
Class BoshWorker
java.lang.Object
tigase.jaxmpp.j2se.connectors.bosh.BoshWorker
- All Implemented Interfaces:
- Runnable, tigase.jaxmpp.core.client.connector.BoshRequest
public abstract class BoshWorker
- extends Object
- implements tigase.jaxmpp.core.client.connector.BoshRequest
|
Constructor Summary |
BoshWorker(tigase.xml.DomBuilderHandler domHandler,
tigase.xml.SimpleParser parser,
tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xml.Element body)
|
BoshWorker
public BoshWorker(tigase.xml.DomBuilderHandler domHandler,
tigase.xml.SimpleParser parser,
tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xml.Element body)
throws tigase.jaxmpp.core.client.xml.XMLException,
tigase.jaxmpp.core.client.exceptions.JaxmppException
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.exceptions.JaxmppException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getRid
public String getRid()
- Specified by:
getRid in interface tigase.jaxmpp.core.client.connector.BoshRequest
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
onError
protected abstract void onError(int responseCode,
String responseData,
tigase.jaxmpp.core.client.xml.Element response,
Throwable caught)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
- Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException
onSuccess
protected abstract void onSuccess(int responseCode,
String responseData,
tigase.jaxmpp.core.client.xml.Element response)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
- Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException
onTerminate
protected abstract void onTerminate(int responseCode,
String responseData,
tigase.jaxmpp.core.client.xml.Element response)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
- Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException
run
public void run()
- Specified by:
run in interface Runnable
terminate
public void terminate()
- Specified by:
terminate in interface tigase.jaxmpp.core.client.connector.BoshRequest
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2013 Tigase. All Rights Reserved.