public class Jaxmpp
extends tigase.jaxmpp.core.client.JaxmppCore
| Modifier and Type | Field and Description |
|---|---|
static tigase.jaxmpp.core.client.observer.EventType |
BeforeSessionResoting |
AUTOADD_STANZA_ID_KEY, Connected, connector, Disconnected, log, modulesManager, observable, processor, resourceBindListener, sessionLogic, sessionObject, stanzaReceivedListener, streamErrorListener, streamResumedListener, streamTerminateListener, unacknowledgedListener, writer| Constructor and Description |
|---|
Jaxmpp() |
Jaxmpp(tigase.jaxmpp.core.client.SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTimeouts() |
protected tigase.jaxmpp.core.client.Connector |
createConnector() |
void |
disconnect() |
void |
execute(Runnable r) |
ConnectionConfiguration |
getConnectionConfiguration() |
tigase.jaxmpp.core.client.PacketWriter |
getWriter() |
void |
login() |
void |
login(String sid,
Long rid,
tigase.jaxmpp.core.client.JID bindedJID)
Pre-binded BOSH login.
|
protected void |
onException(tigase.jaxmpp.core.client.exceptions.JaxmppException e) |
protected void |
onResourceBinded(tigase.jaxmpp.core.client.xmpp.modules.ResourceBinderModule.ResourceBindEvent be) |
protected void |
onStreamError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be) |
protected void |
onStreamResumed(tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.StreamResumedEvent be) |
protected void |
onStreamTerminated(tigase.jaxmpp.core.client.Connector.ConnectorEvent be) |
void |
restoreSession() |
void |
storeSession() |
addListener, addListener, createChat, getConnector, getModule, getModulesManager, getPresence, getProperties, getRoster, getSessionObject, isConnected, isSecure, keepalive, modulesInit, onStanzaReceived, removeAllListeners, removeListener, removeListener, send, send, send, sendMessagepublic static tigase.jaxmpp.core.client.observer.EventType BeforeSessionResoting
public Jaxmpp()
public Jaxmpp(tigase.jaxmpp.core.client.SessionObject sessionObject)
protected void checkTimeouts()
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected tigase.jaxmpp.core.client.Connector createConnector()
public void disconnect()
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
disconnect in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void execute(Runnable r)
execute in class tigase.jaxmpp.core.client.JaxmppCorepublic ConnectionConfiguration getConnectionConfiguration()
getConnectionConfiguration in class tigase.jaxmpp.core.client.JaxmppCorepublic tigase.jaxmpp.core.client.PacketWriter getWriter()
public void login()
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
login in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void login(String sid, Long rid, tigase.jaxmpp.core.client.JID bindedJID) throws tigase.jaxmpp.core.client.exceptions.JaxmppException
sid - rid - bindedResource - tigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void onException(tigase.jaxmpp.core.client.exceptions.JaxmppException e)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onException in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void onResourceBinded(tigase.jaxmpp.core.client.xmpp.modules.ResourceBinderModule.ResourceBindEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onResourceBinded in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void onStreamError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onStreamError in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void onStreamResumed(tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.StreamResumedEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onStreamResumed in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected void onStreamTerminated(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onStreamTerminated in class tigase.jaxmpp.core.client.JaxmppCoretigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void restoreSession()
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void storeSession()
Copyright © 2006–2014 Tigase. All rights reserved.