Package org.jivesoftware.smack
package org.jivesoftware.smack
Core classes of the Smack API.
-
ClassDescriptionThis abstract class is commonly used as super class for XMPP connection mechanisms like TCP and BOSH.Deprecated.A wrapper class to associate a stanza filter with a listener.Helper class to perform an operation asynchronous but keeping the order in respect to a given key.The connection configuration used for XMPP client-to-server connections.ConnectionConfiguration.Builder<B extends ConnectionConfiguration.Builder<B,
C>, C extends ConnectionConfiguration> A builder for XMPP connection configurations.Determines the requested DNSSEC security mode.An enumeration for TLS security modes that are available when making a connection to the XMPP server.Implementors of this interface will be notified when a newXMPPConnectionhas been created.Interface that allows for implementing classes to listen for connection closing and reconnection events.Deprecated.A handle of a listener, typically added to a connection.Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).NonzaCallback.NonzaListener<N extends Nonza>Deprecated.useStanzaListenerinsteadA listener for theReconnectionManager.Handles the automatic reconnection process.Reconnection Policy, whereReconnectionManager.ReconnectionPolicy.RANDOM_INCREASING_DELAYis the default policy used by smack andReconnectionManager.ReconnectionPolicy.FIXED_DELAYimplies a fixed amount of time between reconnection attempts.This class is responsible authenticating the user using SASL, binding the resource to the connection and establishing a session with the server.Represents the configuration of Smack.Smack uses SmackExceptions for errors that are not defined by any XMPP specification.This exception is thrown if Smack is unable to connect to all hosts of a given XMPP service.Exception thrown always when there was no response to an request within the stanza reply timeout of the used connection instance.A Smack exception wrapping a text message.A Smack exception wrapping another exception.SmackFuture<V,E extends Exception> SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception> SmackFuture.InternalSmackFuture<V,E extends Exception> A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returningfalsemethod.The SmackReactor for non-blocking I/O.Provides a mechanism to collect Stanzas into a result queue that pass a specified filter/matcher.Provides a mechanism to listen for packets that pass a specified filter.Representation of an unparsable stanza.The XMPPConnection interface provides an interface for connections from a client to an XMPP server and implements shared methods which are used by the different types of connections (e.g.A generic exception that is thrown when an error occurs performing an XMPP operation.An exception caused by an XMPP error stanza response on the protocol level.
ExceptionCallbackinstead.