Package org.jivesoftware.smack
Core classes of the Smack API.
-
Interface Summary Interface Description ConnectionCreationListener Implementors of this interface will be notified when a newXMPPConnection
has been created.ConnectionListener Interface that allows for implementing classes to listen for connection closing and reconnection events.ExceptionCallback Deprecated. useExceptionCallback
instead.MessageListener NonzaCallback.NonzaListener<N extends Nonza> PacketListener Deprecated. useStanzaListener
insteadPresenceListener ReconnectionListener A listener for theReconnectionManager
.SmackReactor.ChannelSelectedCallback StanzaListener Provides a mechanism to listen for packets that pass a specified filter.XMPPConnection The XMPPConnection interface provides an interface for connections to an XMPP server and implements shared methods which are used by the different types of connections (e.g.XmppInputOutputFilter -
Class Summary Class Description AbstractConnectionClosedListener AbstractConnectionListener Deprecated. useConnectionListener
instead.AbstractXMPPConnection This abstract class is commonly used as super class for XMPP connection mechanisms like TCP and BOSH.AbstractXMPPConnection.InterceptorWrapper Deprecated. AbstractXMPPConnection.ListenerWrapper A wrapper class to associate a stanza filter with a listener.AsyncButOrdered<K> Helper class to perform an operation asynchronous but keeping the order in respect to a given key.ConnectionConfiguration 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.Manager Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).NonzaCallback NonzaCallback.Builder ReconnectionManager Handles the automatic reconnection process.SASLAuthentication This class is responsible authenticating the user using SASL, binding the resource to the connection and establishing a session with the server.ScheduledAction Smack SmackConfiguration Represents the configuration of Smack.SmackFuture<V,E extends Exception> SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception> SmackFuture.InternalSmackFuture<V,E extends Exception> SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception> A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returningfalse
method.SmackFuture.SocketFuture SmackInitialization SmackReactor The SmackReactor for non-blocking I/O.SmackReactor.SelectionKeyAttachment StanzaCollector Provides a mechanism to collect Stanzas into a result queue that pass a specified filter/matcher.StanzaCollector.Configuration UnparseableStanza Representation of an unparsable stanza.XMPPConnectionRegistry XmppInputOutputFilter.OutputResult -
Enum Summary Enum Description AbstractXMPPConnection.SyncPointState ConnectionConfiguration.DnssecMode Determines the requested DNSSEC security mode.ConnectionConfiguration.SecurityMode An enumeration for TLS security modes that are available when making a connection to the XMPP server.ReconnectionManager.ReconnectionPolicy Reconnection Policy, whereReconnectionManager.ReconnectionPolicy.RANDOM_INCREASING_DELAY
is the default policy used by smack andReconnectionManager.ReconnectionPolicy.FIXED_DELAY
implies a fixed amount of time between reconnection attempts.SmackConfiguration.UnknownIqRequestReplyMode XMPPConnection.FromMode