public class BoshConnector extends AbstractBoshConnector
AbstractBoshConnector.BoshPacketReceivedHandler, AbstractBoshConnector.BoshPacketSendingHandler
Connector.ConnectedHandler, Connector.DisconnectedHandler, Connector.EncryptionEstablishedHandler, Connector.ErrorHandler, Connector.StanzaReceivedHandler, Connector.StanzaSendingHandler, Connector.State, Connector.StateChangedHandler, Connector.StreamRestartedHandler, Connector.StreamTerminatedHandler
Modifier and Type | Field and Description |
---|---|
static String |
URL_KEY |
BOSH_SERVICE_URL_KEY, context, log, requests, RID_KEY, SID_KEY
COMPRESSED_KEY, CONNECTOR_STAGE_KEY, CONNECTOR_STAGE_TIMESTAMP_KEY, DISABLE_KEEPALIVE_KEY, ENCRYPTED_KEY, EXTERNAL_KEEPALIVE_KEY, PROXY_HOST, PROXY_PORT, PROXY_TYPE, RECONNECTING_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, terminateAllWorkers
public static final String URL_KEY
public BoshConnector(Context context)
protected void processSendData(Element element) throws JaxmppException
processSendData
in class AbstractBoshConnector
JaxmppException
public void start() throws JaxmppException
Connector
start
in interface Connector
start
in class AbstractBoshConnector
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.