All Classes and Interfaces
Class
Description
Convenience class to create IQ requests handlers.
Base class for XMPP address type filters.
AbstractStreamOpen is actually a
TopLevelStreamElement, however we
implement Nonza here.This 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.
Implements the logical AND operation over two or more stanza filters.
Like ArrayBlockingQueue but with additional
ArrayBlockingQueueWithShutdown.shutdown() and ArrayBlockingQueueWithShutdown.start() methods.Like
Runnable, but allows the runOrThrow() method to throw an exception.Helper class to perform an operation asynchronous but keeping the order in respect to a given key.
Deprecated.
Base32 string encoding is useful for when filenames case-insensitive filesystems are encoded.
IQ stanza used by Smack to bind a resource and to obtain the jid assigned by the server.
Extends a
HashMap with WeakReference values, so that
weak references which have been cleared are periodically removed from
the map.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 new
XMPPConnection
has been created.Interface that allows for implementing classes to listen for connection closing
and reconnection events.
Very simple debugger that prints to the console (stdout) the sent and received stanzas.
Deprecated.
Implementations of this interface define a class that is capable of resolving DNS addresses.
Utility class to perform DNS lookups for XMPP services.
Interface to represent a XML element.
This class simplifies parsing of embedded elements by using the
Template Method Pattern.
An XMPP error IQ.
The event manager class is used to perform actions and wait for an event, which is usually caused by the action (or maybe never occurs).
Deprecated.
use
ExceptionCallback instead.Simple parsing exception callback that only logs the encountered parsing exception to java util logging.
Interface to represent XMPP extension elements.
An abstract class for parsing custom extensions elements.
Defines the information required to register a stanza extension Provider with the
ProviderManager when using the
ProviderLoader.Filters for stanzas of a particular type and allows a custom method to further filter the packets.
Filter based on the 'from' XMPP address type.
Filter for packets where the "from" field exactly matches a specified JID.
The HTTP lookup method uses web host metadata to list the URIs of alternative connection methods.
Specifies a link relation for the selected type of connection.
An internet address, can be given as IP or as DNS name.
Deprecated.
use a proper parser.
Deprecated.
use a proper parser.
Deprecated.
use a proper parser.
The base IQ (Info/Query) packet.
A enum to represent the type of the IQ stanza.
An abstract class for parsing custom
IQ packets.Defines the information required to register an IQ Provider with the
ProviderManager when using the
ProviderLoader.Filters for packets which are a valid reply to an IQ request.
IQ request handler are responsible for handling incoming IQ requests.
A filter for IQ stanza types.
This class provides XMPP "zlib" compression with the help of the Deflater class of the Java API.
Very simple debugger that prints to the console (stdout) the sent and received stanzas.
Deprecated.
Use
IqProvider insteadA handle of a listener, typically added to a connection.
Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).
Represents XMPP message packets.
Represents a message body, its language and the content of the message.
Represents a message subject, its language and the content of the subject.
Represents the type of a message.
MessageOrPresenceBuilder<MP extends MessageOrPresence<? extends MessageOrPresenceBuilder<MP,SB>>,SB extends StanzaBuilder<SB>>
Filters for packets of a specific type of Message (e.g.
Filters message stanzas which have at least one body.
Filters message stanzas which have at least one body.
Filters message stanzas which have at least one body.
The superclass of Smack's Modular Connection Architecture.
ModularXmppClientToServerConnectionModule<MD extends ModularXmppClientToServerConnectionModuleDescriptor>
A lightweight implementation of a MultiMap, that is a Map that is able to hold multiple values for every key.
Interface to represent a XML element.
A Nonza, i.e.
Implements the logical NOT operation on a stanza filter.
An ObservableReader is a wrapper on a Reader that notifies to its listeners when
reading character streams.
An ObservableWriter is a wrapper on a Writer that notifies to its listeners when
writing to character streams.
Implements the logical OR operation over two or more stanza filters.
Deprecated.
use
StanzaListener insteadUtility class that helps to parse packets.
Interface to receive parsing exceptions.
Represents XMPP presence stanzas.
An enum to represent the presence mode.
An enum to represent the presence type.
A filter for Presence types.
Smack provider are the parsers used to deserialize raw XMPP into the according Java
Elements.Loads the
IqProvider and ExtensionElementProvider information from a standard provider file in preparation
for loading into the ProviderManager.Used to load providers into the
ProviderManager.Manages providers for parsing custom XML sub-documents of XMPP packets.
An exception class to handle exceptions caused by proxy.
Class which stores proxy information such as proxy type, host, port,
authentication etc.
Interface that allows for implementing classes to listen for string reading
events.
A listener for the
ReconnectionManager.Handles the automatic reconnection process.
Reconnection Policy, where
ReconnectionManager.ReconnectionPolicy.RANDOM_INCREASING_DELAY is the default policy used by smack and ReconnectionManager.ReconnectionPolicy.FIXED_DELAY implies
a fixed amount of time between reconnection attempts.Implementation of the SASL ANONYMOUS mechanism.
This class is responsible authenticating the user using SASL, binding the resource
to the connection and establishing a session with the server.
The SASL error condition.
Base class for SASL mechanisms.
Initiating SASL authentication by select a mechanism.
A SASL challenge stream element.
A SASL response stream element.
A SASL failure stream element, also called "SASL Error".
A SASL success stream element.
The SASL X-OAUTH2 mechanism as described in https://developers.google
.com/talk/jep_extensions/oauth
SCRAM-X-PLUS implementation.
IQ stanza that will be sent to the server to establish a session.
Very simple debugger that prints to the an abstract sink.
A simple IQ.
Represents the configuration of Smack.
Implementations of this interface define a class that is capable of enabling DANE on a connection.
Implementations of this interface define a class that is capable of enabling DANE on a connection.
Interface that allows for implementing classes to debug XML traffic.
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.
A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returning
false method.Defines an initialization class that will be instantiated and invoked by the
SmackConfiguration class during initialization.Deprecated.
do not import.
The SmackReactor for non-blocking I/O.
Socket factory for socks4 proxy.
Socket factory for Socks5 proxy.
An
ExtensionElement modeling the often required and used XML features when using XMPP.The parser for
StandardExtensionElements.Base class for XMPP Stanzas, which are called Stanza in older versions of Smack (i.e.
Provides a mechanism to collect Stanzas into a result queue that pass a
specified filter/matcher.
Represents an XMPP error sub-packet.
A class to represent the type of the Error.
Filters for stanzas with a particular type of stanza extension.
Defines a way to filter stanzas for particular attributes.
Filters for Stanzas with a particular stanza ID.
Provides a mechanism to listen for packets that pass a specified filter.
Filters for Stanzas of a particular type.
Note that this is an non-static inner class of XmppClientToServerConnection so that states can inspect and modify
the connection.
Smack's utility API for Finite State Machines (FSM).
Represents a stream error packet.
The defined stream error conditions, see RFC 6120 ยง 4.9.3.
The stream open tag.
An interface for String encoder.
A collection of utility methods for String objects.
Filters for message packets with a particular thread value.
A XMPP top level stream element.
A number representing an unsigned 16-bit integer.
A number representing an unsigned 32-bit integer.
Representation of an unparsable stanza.
An IQ stanzas that could not be parsed because no provider was found.
Loads the provider file defined by the URL returned by
UrlInitializer.getProvidersUri() and the generic
smack configuration file returned UrlInitializer.getConfigUri().Looks for a provider file location based on the VM argument smack.provider.file.
Interface that allows for implementing classes to listen for string writing
events.
Interface to represent XML elements.
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.
Consumerinstead.