| Package | Description |
|---|---|
| tigase.jaxmpp.core.client |
Core of JAXMPP library.
|
| tigase.jaxmpp.core.client.connector |
Classes for implementing Connectors.
|
| tigase.jaxmpp.core.client.xml |
Implementation of XML DOM.
|
| tigase.jaxmpp.core.client.xmpp.forms |
Support for Data Form.
|
| tigase.jaxmpp.core.client.xmpp.modules |
Support for XMPP Modules.
|
| tigase.jaxmpp.core.client.xmpp.modules.auth |
Support for SASL and non-SASL authentication .
|
| tigase.jaxmpp.core.client.xmpp.modules.connection | |
| tigase.jaxmpp.core.client.xmpp.modules.disco |
Support for XEP-0030: Service Discovery.
|
| tigase.jaxmpp.core.client.xmpp.modules.extensions | |
| tigase.jaxmpp.core.client.xmpp.modules.streammng | |
| tigase.jaxmpp.core.client.xmpp.stanzas |
XMPP Stanzas.
|
| tigase.jaxmpp.core.client.xmpp.stream |
| Modifier and Type | Class and Description |
|---|---|
class |
XMPPException
This exception may throwed during processing stanza.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmppSessionLogic.SessionListener.onException(JaxmppException e) |
protected abstract void |
JaxmppCore.onException(JaxmppException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
XmppSessionLogic.beforeStart()
Method executed just before login process is started.
|
void |
ResponseManager.checkTimeouts()
Checks if any requested IQ stanza waits for answer longer than declared
timeout.
|
void |
SessionObject.clear()
Reset state.
|
void |
AbstractSessionObject.clear()
Reset state.
|
void |
SessionObject.clear(SessionObject.Scope... scopes)
Reset state.
|
void |
AbstractSessionObject.clear(SessionObject.Scope... scopes)
Reset state.
|
void |
AbstractSessionObject.clear(Set<SessionObject.Scope> scopes) |
abstract void |
JaxmppCore.disconnect()
Closes XMPP session.
|
protected void |
Connector.ErrorHandler.ErrorEvent.dispatch(Connector.ErrorHandler handler) |
protected void |
Connector.StanzaSendingHandler.StanzaSendingEvent.dispatch(Connector.StanzaSendingHandler handler) |
protected void |
Connector.StateChangedHandler.StateChangedEvent.dispatch(Connector.StateChangedHandler handler) |
protected void |
Connector.StreamTerminatedHandler.StreamTerminatedEvent.dispatch(Connector.StreamTerminatedHandler handler) |
protected void |
SessionObject.ClearedHandler.ClearedEvent.dispatch(SessionObject.ClearedHandler handler) |
static Runnable |
ResponseManager.getResponseHandler(Context context,
Element element) |
Runnable |
ResponseManager.getResponseHandler(Element element,
Context context)
Returns handler for response of sent
stanza. |
void |
JaxmppCore.keepalive()
Whitespace ping.
|
void |
Connector.keepalive()
Whitespace ping.
|
abstract void |
JaxmppCore.login()
Connects to XMPP server.
|
void |
SessionObject.ClearedHandler.onCleared(SessionObject sessionObject,
Set<SessionObject.Scope> scopes)
Called when
SessionObject.ClearedHandler.ClearedEvent if fired. |
void |
Connector.ErrorHandler.onError(SessionObject sessionObject,
StreamError condition,
Throwable caught)
Called when ErrorEvent is fired.
|
void |
AsyncCallback.onError(Stanza responseStanza,
XMPPException.ErrorCondition error)
Called when received response has type error.
|
void |
XmppSessionLogic.SessionListener.onException(JaxmppException e) |
protected abstract void |
JaxmppCore.onException(JaxmppException e) |
protected abstract void |
JaxmppCore.onResourceBindSuccess(JID bindedJID) |
void |
Connector.StanzaSendingHandler.onStanzaSending(SessionObject sessionObject,
Element stanza)
Called when StanzaSendingEvent is
fired.
|
void |
Connector.StateChangedHandler.onStateChanged(SessionObject sessionObject,
Connector.State oldState,
Connector.State newState)
Called when StateChangedEvent is
fired.
|
protected abstract void |
JaxmppCore.onStreamError(StreamError condition,
Throwable caught) |
protected abstract void |
JaxmppCore.onStreamResumed(Long h,
String previd) |
protected abstract void |
JaxmppCore.onStreamTerminated() |
void |
Connector.StreamTerminatedHandler.onStreamTerminated(SessionObject sessionObject)
Called when when StreamTerminatedEvent is fired.
|
void |
AsyncCallback.onSuccess(Stanza responseStanza)
Called when received response has type result.
|
void |
AsyncCallback.onTimeout()
Called when response wasn't received in given time.
|
protected void |
JaxmppCore.onUnacknowledged(List<Element> elements) |
void |
XmppSessionLogic.XmppSessionEstablishedHandler.onXmppSessionEstablished(SessionObject sessionObject) |
protected abstract void |
AbstractStanzaHandler.process() |
void |
XmppModule.process(Element element)
Main method of module.
|
void |
Connector.restartStream()
Sends new XML Stream header.
|
void |
Connector.send(Element stanza)
Sends given XML Element to server.
|
void |
JaxmppCore.send(IQ stanza,
AsyncCallback asyncCallback)
Sends IQ
type='get' stanza to XMPP Server in current
connection. |
void |
JaxmppCore.send(IQ stanza,
Long timeout,
AsyncCallback asyncCallback)
Sends IQ
type='get' stanza to XMPP Server in current
connection. |
void |
JaxmppCore.send(Stanza stanza)
Sends stanza to XMPP Server in current connection.
|
void |
XmppSessionLogic.setSessionListener(XmppSessionLogic.SessionListener listener)
|
void |
Connector.start()
Starts connector.
|
void |
Connector.stop()
Stops connector and closes connections.
|
void |
Connector.stop(boolean terminate)
Stops connector.
|
void |
XmppSessionLogic.unbind()
In this method implementation must unregister all previously registered
listeners.
|
void |
PacketWriter.write(Element stanza)
Write a element to Stream.
|
void |
PacketWriter.write(Element stanza,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with default
timeout.
|
void |
PacketWriter.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with given
timeout.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BoshXmppSessionLogic.processException(JaxmppException e) |
protected void |
AbstractSocketXmppSessionLogic.processException(JaxmppException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
BoshXmppSessionLogic.beforeStart() |
void |
AbstractSocketXmppSessionLogic.beforeStart() |
protected void |
AbstractBoshConnector.BoshPacketSendingHandler.BoshPacketSendingEvent.dispatch(AbstractBoshConnector.BoshPacketSendingHandler handler) |
protected void |
AbstractWebSocketConnector.fireOnConnected(SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnConnected(SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnError(Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnError(int responseCode,
String responseData,
Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnStanzaReceived(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnStanzaReceived(StreamPacket response,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnTerminate(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected void |
AbstractWebSocketConnector.fireOnTerminate(SessionObject sessionObject) |
protected boolean |
AbstractWebSocketConnector.handleSeeOtherHost(Element response) |
protected boolean |
AbstractWebSocketConnector.handleSeeOtherUri(String seeOtherUri) |
void |
ConnectorWrapper.keepalive() |
void |
AbstractWebSocketConnector.keepalive() |
void |
AbstractBoshConnector.keepalive() |
void |
AbstractBoshConnector.BoshPacketSendingHandler.onBoshPacketSending(SessionObject sessionObject,
Element packet)
Called when BoshPacketSendingEvent is fired.
|
protected void |
AbstractBoshConnector.onError(BoshRequest request,
int responseCode,
String responseData,
Element response,
Throwable caught) |
protected void |
BoshXmppSessionLogic.onResourceBindSuccess(SessionObject sessionObject,
JID bindedJid) |
protected void |
AbstractBoshConnector.onResponse(BoshRequest request,
int responseCode,
String responseData,
Element response) |
protected void |
BoshXmppSessionLogic.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
protected void |
AbstractWebSocketConnector.onStreamTerminate() |
protected void |
AbstractBoshConnector.onTerminate(BoshRequest request,
int responseCode,
String responseData,
Element response) |
protected void |
BoshXmppSessionLogic.processAuthFail(SessionObject sessionObject,
SaslModule.SaslError error) |
protected void |
AbstractSocketXmppSessionLogic.processAuthFailed(SaslModule.SaslError error) |
protected void |
AbstractSocketXmppSessionLogic.processAuthSuccess() |
protected void |
BoshXmppSessionLogic.processAuthSucess(SessionObject sessionObject) |
protected void |
AbstractSocketXmppSessionLogic.processConnectorErrors(StreamError condition,
Throwable caught) |
protected void |
AbstractWebSocketConnector.processElement(Element child) |
protected void |
AbstractSocketXmppSessionLogic.processException(JaxmppException e) |
protected void |
AbstractSocketXmppSessionLogic.processResourceBindEvent(SessionObject sessionObject,
JID bindedJid) |
protected abstract void |
AbstractBoshConnector.processSendData(Element element) |
protected void |
AbstractSocketXmppSessionLogic.processStreamFeatures(Element featuresElement) |
void |
ConnectorWrapper.restartStream() |
void |
AbstractWebSocketConnector.restartStream() |
void |
AbstractBoshConnector.restartStream() |
void |
AbstractBoshConnector.send(byte[] buffer) |
void |
ConnectorWrapper.send(Element stanza) |
void |
AbstractWebSocketConnector.send(Element stanza) |
void |
AbstractBoshConnector.send(Element stanza) |
protected abstract void |
AbstractWebSocketConnector.send(String data) |
void |
BoshXmppSessionLogic.setSessionListener(XmppSessionLogic.SessionListener sessionListener) |
void |
AbstractSocketXmppSessionLogic.setSessionListener(XmppSessionLogic.SessionListener sessionListener) |
protected void |
AbstractWebSocketConnector.setStage(Connector.State state) |
protected void |
AbstractBoshConnector.setStage(Connector.State state) |
void |
ConnectorWrapper.start() |
void |
AbstractWebSocketConnector.start() |
void |
AbstractBoshConnector.start() |
void |
ConnectorWrapper.stop() |
void |
AbstractWebSocketConnector.stop() |
void |
AbstractBoshConnector.stop() |
void |
ConnectorWrapper.stop(boolean terminate) |
void |
AbstractWebSocketConnector.stop(boolean terminate) |
void |
AbstractBoshConnector.stop(boolean terminate) |
protected abstract void |
AbstractWebSocketConnector.terminateAllWorkers() |
protected void |
AbstractWebSocketConnector.terminateStream() |
void |
BoshXmppSessionLogic.unbind() |
void |
AbstractSocketXmppSessionLogic.unbind() |
| Modifier and Type | Class and Description |
|---|---|
class |
XMLException
Exception for XML errors.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
JabberDataElement.createSubmitableElement(XDataType type)
Creates XML Element contains only values of fields.
|
| Constructor and Description |
|---|
JabberDataElement(Element x)
Creates instance of JabberDataElement and parse fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceBinderModule.bind() |
void |
SoftwareVersionModule.checkSoftwareVersion(JID jid,
AsyncCallback callback)
Requests software version for given entity.
|
void |
SoftwareVersionModule.checkSoftwareVersion(JID jid,
SoftwareVersionModule.SoftwareVersionAsyncCallback callback)
Requests software version for given entity.
|
protected void |
ResourceBinderModule.ResourceBindSuccessHandler.ResourceBindSuccessEvent.dispatch(ResourceBinderModule.ResourceBindSuccessHandler handler) |
protected void |
SessionEstablishmentModule.SessionEstablishmentErrorHandler.SessionEstablishmentErrorEvent.dispatch(SessionEstablishmentModule.SessionEstablishmentErrorHandler handler) |
protected void |
SessionEstablishmentModule.SessionEstablishmentSuccessHandler.SessionEstablishmentSuccessEvent.dispatch(SessionEstablishmentModule.SessionEstablishmentSuccessHandler handler) |
protected void |
StreamFeaturesModule.StreamFeaturesReceivedHandler.StreamFeaturesReceivedEvent.dispatch(StreamFeaturesModule.StreamFeaturesReceivedHandler handler) |
void |
SessionEstablishmentModule.establish() |
void |
EntityTimeModule.getEntityTime(JID jid,
AsyncCallback asyncCallback)
Request for XMPP entity time.
|
void |
EntityTimeModule.getEntityTime(JID jid,
EntityTimeModule.EntityTimeAsyncCallback asyncCallback)
Request for XMPP entity time.
|
void |
ResourceBinderModule.ResourceBindSuccessHandler.onResourceBindSuccess(SessionObject sessionObject,
JID bindedJid) |
void |
SessionEstablishmentModule.SessionEstablishmentErrorHandler.onSessionEstablishmentError(SessionObject sessionObject,
XMPPException.ErrorCondition error) |
void |
SessionEstablishmentModule.SessionEstablishmentSuccessHandler.onSessionEstablishmentSuccess(SessionObject sessionObject) |
void |
StreamFeaturesModule.StreamFeaturesReceivedHandler.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
void |
PingModule.ping(JID jid,
AsyncCallback asyncCallback)
Ping given XMPP entity.
|
void |
PingModule.ping(JID jidInstance,
PingModule.PingAsyncCallback asyncCallback)
Ping given XMPP entity.
|
void |
StreamFeaturesModule.process(Element element) |
void |
AbstractStanzaModule.process(Element element) |
void |
AbstractIQModule.process(IQ stanza) |
abstract void |
AbstractStanzaModule.process(T stanza)
Method for processing incoming stanza.
|
protected void |
SoftwareVersionModule.processGet(IQ element) |
protected void |
PingModule.processGet(IQ stanza) |
protected void |
EntityTimeModule.processGet(IQ stanza) |
protected void |
BookmarksModule.processGet(IQ element) |
protected abstract void |
AbstractIQModule.processGet(IQ element)
Method for processing stanza
<iq type='get'>. |
protected void |
SoftwareVersionModule.processSet(IQ element) |
protected void |
BookmarksModule.processSet(IQ element) |
protected abstract void |
AbstractIQModule.processSet(IQ element)
Method for processing stanza
<iq type='set'>. |
void |
BookmarksModule.publishBookmarks(List<? extends Element> bookmarks,
AsyncCallback callback)
Send list of bookmarks to private storage.
|
void |
BookmarksModule.retrieveBookmarks(AsyncCallback callback)
Retrieve bookmarks from private storage.
|
protected void |
AbstractStanzaModule.write(Element stanza) |
protected void |
AbstractStanzaExtendableModule.write(Element stanza) |
protected void |
AbstractStanzaModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected void |
AbstractStanzaExtendableModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected void |
AbstractStanzaModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
protected void |
AbstractStanzaExtendableModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientSaslException |
static class |
SaslModule.UnsupportedSaslMechanisms |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AuthModule.AuthFailedHandler.AuthFailedEvent.dispatch(AuthModule.AuthFailedHandler handler) |
protected void |
AuthModule.AuthSuccessHandler.AuthSuccessEvent.dispatch(AuthModule.AuthSuccessHandler handler) |
protected void |
NonSaslAuthModule.fireAuthStart(IQ iq) |
void |
SaslModule.login() |
void |
NonSaslAuthModule.login() |
void |
AuthModule.login() |
void |
AuthModule.AuthFailedHandler.onAuthFailed(SessionObject sessionObject,
SaslModule.SaslError error) |
void |
AuthModule.AuthSuccessHandler.onAuthSuccess(SessionObject sessionObject) |
protected void |
NonSaslAuthModule.onError(Stanza responseStanza,
XMPPException.ErrorCondition error) |
protected void |
NonSaslAuthModule.onSuccess(Stanza responseStanza) |
protected void |
NonSaslAuthModule.onTimeout() |
void |
SaslModule.process(Element element) |
void |
AuthModule.process(Element element) |
protected void |
SaslModule.processChallenge(Element element) |
protected void |
SaslModule.processFailure(Element element) |
protected void |
NonSaslAuthModule.processGet(IQ element) |
protected void |
NonSaslAuthModule.processSet(IQ element) |
protected void |
SaslModule.processSuccess(Element element) |
| Modifier and Type | Method and Description |
|---|---|
String |
ConnectionEndpoint.getHost() |
JID |
ConnectionEndpoint.getJid() |
Integer |
ConnectionEndpoint.getPort() |
| Modifier and Type | Method and Description |
|---|---|
void |
DiscoveryModule.discoverServerFeatures(DiscoveryModule.DiscoInfoAsyncCallback callback) |
String[] |
NodeDetailsCallback.getFeatures(SessionObject sessionObject,
IQ requestStanza,
String node) |
DiscoveryModule.Identity |
NodeDetailsCallback.getIdentity(SessionObject sessionObject,
IQ requestStanza,
String node) |
void |
DiscoveryModule.getInfo(JID jid,
DiscoveryModule.DiscoInfoAsyncCallback callback) |
void |
DiscoveryModule.getInfo(JID jid,
String node,
AsyncCallback callback) |
void |
DiscoveryModule.getInfo(JID jid,
String node,
DiscoveryModule.DiscoInfoAsyncCallback callback) |
void |
DiscoveryModule.getItems(JID jid,
AsyncCallback callback) |
void |
DiscoveryModule.getItems(JID jid,
DiscoveryModule.DiscoItemsAsyncCallback callback) |
void |
DiscoveryModule.getItems(JID jid,
String node,
AsyncCallback callback) |
DiscoveryModule.Item[] |
NodeDetailsCallback.getItems(SessionObject sessionObject,
IQ requestStanza,
String node) |
protected void |
DiscoveryModule.processGet(IQ element) |
protected void |
DiscoveryModule.processSet(IQ element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
Extension.afterReceive(Element received) |
Element |
Extension.beforeSend(Element received) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StreamManagementModule.StreamResumedHandler.StreamResumedEvent.dispatch(StreamManagementModule.StreamResumedHandler handler) |
protected void |
StreamManagementModule.UnacknowledgedHandler.UnacknowledgedEvent.dispatch(StreamManagementModule.UnacknowledgedHandler handler) |
void |
StreamManagementModule.enable()
Client enables stream management.
|
static boolean |
StreamManagementModule.isStreamManagementAvailable(SessionObject sessionObject) |
void |
StreamManagementModule.StreamResumedHandler.onStreamResumed(SessionObject sessionObject,
Long h,
String previd) |
void |
StreamManagementModule.UnacknowledgedHandler.onUnacknowledged(SessionObject sessionObject,
List<Element> elements) |
void |
StreamManagementModule.process(Element element) |
void |
StreamManagementModule.processOutgoingElement(Element element) |
void |
StreamManagementModule.request()
Request acknowledgement of received stanzas.
|
void |
StreamManagementModule.resume() |
void |
StreamManagementModule.sendAck() |
| Modifier and Type | Class and Description |
|---|---|
static class |
Stanza.UnkownStanzaTypeException |
| Modifier and Type | Method and Description |
|---|---|
static Presence |
Presence.create()
Creates new instance of stanza.
|
static Message |
Message.create() |
static IQ |
IQ.create() |
static Stanza |
Stanza.create(Element element)
Creates new stanza.
|
static IQ |
Stanza.createIQ() |
static Message |
Stanza.createMessage() |
static Presence |
Stanza.createPresence() |
| Modifier and Type | Method and Description |
|---|---|
void |
XMPPStream.write(Element stanza) |
void |
XmppStreamsManager.writeToStream(Element stanza) |
Copyright © 2006–2016 Tigase. All rights reserved.