public class BoshConnector
extends tigase.jaxmpp.core.client.connector.AbstractBoshConnector
| Modifier and Type | Field and Description |
|---|---|
static String |
BOSH_IGNORE_SERVER_HOST
property used to disable usage of
|
AUTHID_KEY, BOSH_SERVICE_URL, BOSH_SERVICE_URL_KEY, log, observable, requests, RID_KEY, sessionObject, SID_KEYBodyReceived, COMPRESSED_KEY, Connected, CONNECTOR_STAGE_KEY, DISABLE_KEEPALIVE_KEY, ENCRYPTED_KEY, EncryptionEstablished, Error, EXTERNAL_KEEPALIVE_KEY, SEE_OTHER_HOST_KEY, StanzaReceived, StanzaSending, StateChanged, StreamTerminated, TRUST_MANAGERS_KEY| Constructor and Description |
|---|
BoshConnector(tigase.jaxmpp.core.client.observer.Observable parentObservable,
tigase.jaxmpp.core.client.SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onResponse(tigase.jaxmpp.core.client.connector.BoshRequest request,
int responseCode,
String responseData,
tigase.jaxmpp.core.client.xml.Element response) |
protected tigase.jaxmpp.core.client.xml.Element |
prepareBody(tigase.jaxmpp.core.client.xml.Element payload) |
protected void |
processSendData(tigase.jaxmpp.core.client.xml.Element element) |
protected void |
setCurrentWorker(BoshWorker worker)
Keep handle to current BoshWorker instance until stanza is sent
|
addListener, addToRequests, countActiveRequests, createSessionLogic, fireOnConnected, fireOnError, fireOnStanzaReceived, fireOnTerminate, getObservable, getSid, getState, isCompressed, isSecure, keepalive, nextRid, onError, onTerminate, prepareBody, prepareRetartBody, prepareStartBody, prepareTerminateBody, removeAllListeners, removeFromRequests, removeListener, restartStream, send, send, setObservable, setSid, setStage, start, stop, stop, terminateAllWorkerspublic static final String BOSH_IGNORE_SERVER_HOST
public BoshConnector(tigase.jaxmpp.core.client.observer.Observable parentObservable,
tigase.jaxmpp.core.client.SessionObject sessionObject)
protected void onResponse(tigase.jaxmpp.core.client.connector.BoshRequest request,
int responseCode,
String responseData,
tigase.jaxmpp.core.client.xml.Element response)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onResponse in class tigase.jaxmpp.core.client.connector.AbstractBoshConnectortigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void processSendData(tigase.jaxmpp.core.client.xml.Element element)
throws tigase.jaxmpp.core.client.xml.XMLException,
tigase.jaxmpp.core.client.exceptions.JaxmppException
processSendData in class tigase.jaxmpp.core.client.connector.AbstractBoshConnectortigase.jaxmpp.core.client.xml.XMLExceptiontigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected tigase.jaxmpp.core.client.xml.Element prepareBody(tigase.jaxmpp.core.client.xml.Element payload)
throws tigase.jaxmpp.core.client.xml.XMLException
prepareBody in class tigase.jaxmpp.core.client.connector.AbstractBoshConnectortigase.jaxmpp.core.client.xml.XMLExceptionprotected void setCurrentWorker(BoshWorker worker)
worker - Copyright © 2006–2014 Tigase. All rights reserved.