public class BoshConnector extends AbstractBoshConnector
AbstractBoshConnector.BoshPacketReceivedHandler, AbstractBoshConnector.BoshPacketSendingHandlerConnector.ConnectedHandler, Connector.DisconnectedHandler, Connector.EncryptionEstablishedHandler, Connector.ErrorHandler, Connector.StanzaReceivedHandler, Connector.StanzaSendingHandler, Connector.State, Connector.StateChangedHandler, Connector.StreamTerminatedHandler| Modifier and Type | Field and Description |
|---|---|
static String |
URL_KEY |
BOSH_SERVICE_URL_KEY, context, log, requests, RID_KEY, SID_KEYCOMPRESSED_KEY, CONNECTOR_STAGE_KEY, DISABLE_KEEPALIVE_KEY, ENCRYPTED_KEY, EXTERNAL_KEEPALIVE_KEY, SEE_OTHER_HOST_KEY, TRUST_MANAGERS_KEY| Constructor and Description |
|---|
BoshConnector(Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processSendData(Element element) |
void |
start()
Starts connector.
|
addToRequests, countActiveRequests, createSessionLogic, fireOnConnected, fireOnError, fireOnStanzaReceived, fireOnTerminate, getSid, getState, isCompressed, isSecure, keepalive, nextRid, onError, onResponse, onTerminate, prepareBody, prepareBody, prepareRetartBody, prepareStartBody, prepareTerminateBody, removeFromRequests, restartStream, send, send, setSid, setStage, stop, stop, terminateAllWorkerspublic static final String URL_KEY
public BoshConnector(Context context)
protected void processSendData(Element element) throws XMLException, JaxmppException
processSendData in class AbstractBoshConnectorXMLExceptionJaxmppExceptionpublic void start()
throws XMLException,
JaxmppException
Connectorstart in interface Connectorstart in class AbstractBoshConnectorXMLExceptionJaxmppExceptionCopyright © 2006–2015 Tigase. All rights reserved.