public class Jaxmpp extends JaxmppCore
JaxmppCore.DefaultPacketWriter, JaxmppCore.LoggedInHandler, JaxmppCore.LoggedOutHandlerAUTOADD_STANZA_ID_KEY, connector, context, defaultXMPPStream, eventBus, log, modulesManager, processor, properties, sessionLogic, sessionObject, streamsManager, writer| Constructor and Description |
|---|
Jaxmpp() |
Jaxmpp(SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTimeouts() |
protected Connector |
createConnector() |
void |
disconnect()
Closes XMPP session.
|
void |
execute(Runnable r)
Executes task in executor.
|
ConnectionConfiguration |
getConnectionConfiguration()
Returns configurator.
|
PacketWriter |
getWriter() |
protected void |
init() |
void |
login()
Connects to XMPP server.
|
protected void |
login(String boshUrl) |
protected void |
onException(JaxmppException e) |
protected void |
onResourceBindSuccess(JID bindedJID) |
protected void |
onStreamError(StreamError condition,
Throwable caught) |
protected void |
onStreamResumed(Long h,
String previd) |
protected void |
onStreamTerminated() |
void |
storeSession() |
createEventBus, get, getConnector, getContext, getEventBus, getModule, getModulesManager, getProperties, getSessionObject, isConnected, isSecure, keepalive, modulesInit, onConnectorStateChanged, onConnectorStopped, onStanzaReceived, onUnacknowledged, send, send, send, setpublic Jaxmpp()
public Jaxmpp(SessionObject sessionObject)
protected void checkTimeouts()
throws JaxmppException
JaxmppExceptionprotected Connector createConnector()
public void disconnect()
throws JaxmppException
JaxmppCoredisconnect in class JaxmppCoreJaxmppExceptionpublic void execute(Runnable r)
JaxmppCoreexecute in class JaxmppCorer - task to execute.public ConnectionConfiguration getConnectionConfiguration()
This wrapper for SessionObject.
getConnectionConfiguration in class JaxmppCorepublic PacketWriter getWriter()
protected void init()
init in class JaxmppCorepublic void login()
throws JaxmppException
JaxmppCorelogin in class JaxmppCoreJaxmppExceptionprotected void login(String boshUrl) throws JaxmppException
JaxmppExceptionprotected void onException(JaxmppException e) throws JaxmppException
onException in class JaxmppCoreJaxmppExceptionprotected void onResourceBindSuccess(JID bindedJID) throws JaxmppException
onResourceBindSuccess in class JaxmppCoreJaxmppExceptionprotected void onStreamError(StreamError condition, Throwable caught) throws JaxmppException
onStreamError in class JaxmppCoreJaxmppExceptionprotected void onStreamResumed(Long h, String previd) throws JaxmppException
onStreamResumed in class JaxmppCoreJaxmppExceptionprotected void onStreamTerminated()
throws JaxmppException
onStreamTerminated in class JaxmppCoreJaxmppExceptionpublic void storeSession()
Copyright © 2006–2020 Tigase. All rights reserved.