- AbstractConnectionClosedListener - Class in org.jivesoftware.smack
-
- AbstractConnectionClosedListener() - Constructor for class org.jivesoftware.smack.AbstractConnectionClosedListener
-
- AbstractConnectionListener - Class in org.jivesoftware.smack
The AbstractConnectionListener class provides an empty implementation for all methods defined by the
ConnectionListener
interface.
- AbstractConnectionListener() - Constructor for class org.jivesoftware.smack.AbstractConnectionListener
-
- AbstractDebugger - Class in org.jivesoftware.smack.debugger
-
- AbstractDebugger(XMPPConnection, Writer, Reader) - Constructor for class org.jivesoftware.smack.debugger.AbstractDebugger
-
- AbstractError - Class in org.jivesoftware.smack.packet
-
- AbstractError(Map<String, String>) - Constructor for class org.jivesoftware.smack.packet.AbstractError
-
- AbstractError(Map<String, String>, List<ExtensionElement>) - Constructor for class org.jivesoftware.smack.packet.AbstractError
-
- AbstractError(Map<String, String>, String, List<ExtensionElement>) - Constructor for class org.jivesoftware.smack.packet.AbstractError
-
- AbstractIqRequestHandler - Class in org.jivesoftware.smack.iqrequest
Convenience class to create IQ requests handlers.
- AbstractIqRequestHandler(String, String, IQ.Type, IQRequestHandler.Mode) - Constructor for class org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- AbstractListFilter - Class in org.jivesoftware.smack.filter
-
- AbstractListFilter() - Constructor for class org.jivesoftware.smack.filter.AbstractListFilter
Creates an empty filter.
- AbstractListFilter(StanzaFilter...) - Constructor for class org.jivesoftware.smack.filter.AbstractListFilter
Creates an filter using the specified filters.
- AbstractXMPPConnection - Class in org.jivesoftware.smack
-
- AbstractXMPPConnection(ConnectionConfiguration) - Constructor for class org.jivesoftware.smack.AbstractXMPPConnection
Create a new XMPPConnection to an XMPP server.
- AbstractXMPPConnection.InterceptorWrapper - Class in org.jivesoftware.smack
A wrapper class to associate a stanza(/packet) filter with an interceptor.
- AbstractXMPPConnection.ListenerWrapper - Class in org.jivesoftware.smack
A wrapper class to associate a stanza(/packet) filter with a listener.
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.AndFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.FromMatchesFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.IQReplyFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.IQResultReplyFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.NotFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.OrFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.PacketExtensionFilter
Deprecated.
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.PacketIDFilter
Deprecated.
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.PacketTypeFilter
Deprecated.
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.StanzaExtensionFilter
-
- accept(Stanza) - Method in interface org.jivesoftware.smack.filter.StanzaFilter
Tests whether or not the specified stanza should pass the filter.
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.StanzaIdFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.StanzaTypeFilter
-
- accept(Stanza) - Method in class org.jivesoftware.smack.filter.ToFilter
-
- acceptAllCertificates(B) - Static method in class org.jivesoftware.smack.util.TLSUtils
Accept all TLS certificates.
- AcceptAllTrustManager() - Constructor for class org.jivesoftware.smack.util.TLSUtils.AcceptAllTrustManager
-
- acceptSpecific(S) - Method in class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
-
- acceptSpecific(IQ) - Method in class org.jivesoftware.smack.filter.IQTypeFilter
-
- acceptSpecific(Message) - Method in class org.jivesoftware.smack.filter.MessageTypeFilter
-
- acceptSpecific(Message) - Method in class org.jivesoftware.smack.filter.MessageWithBodiesFilter
-
- acceptSpecific(Message) - Method in class org.jivesoftware.smack.filter.MessageWithSubjectFilter
-
- acceptSpecific(Presence) - Method in class org.jivesoftware.smack.filter.PresenceTypeFilter
-
- acceptSpecific(Message) - Method in class org.jivesoftware.smack.filter.ThreadFilter
-
- action() - Method in interface org.jivesoftware.smack.util.EventManger.Callback
-
- addAsyncStanzaListener(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addAsyncStanzaListener(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Registers an asynchronous stanza(/packet) listener with this connection.
- addBody(String, String) - Method in class org.jivesoftware.smack.packet.Message
Adds a body with a corresponding language.
- addCommonAttributes(XmlStringBuilder) - Method in class org.jivesoftware.smack.packet.Stanza
Add to, from, id and 'xml:lang' attributes
- addCompressionHandler(XMPPInputOutputStream) - Static method in class org.jivesoftware.smack.SmackConfiguration
-
- addConnectionCreationListener(ConnectionCreationListener) - Static method in class org.jivesoftware.smack.XMPPConnectionRegistry
Adds a new listener that will be notified when new Connections are created.
- addConnectionListener(ConnectionListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addConnectionListener(ConnectionListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Adds a connection listener to this connection that will be notified when the connection closes or fails.
- addDescriptiveTextsAndExtensions(XmlStringBuilder) - Method in class org.jivesoftware.smack.packet.AbstractError
-
- addDisabledSmackClass(Class<?>) - Static method in class org.jivesoftware.smack.SmackConfiguration
- addDisabledSmackClass(String) - Static method in class org.jivesoftware.smack.SmackConfiguration
Add a class to the disabled smack classes.
- addExtension(ExtensionElement) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Adds a stanza(/packet) extension to the packet.
- addExtension(ExtensionElement) - Method in class org.jivesoftware.smack.packet.Stanza
Adds a stanza(/packet) extension to the packet.
- addExtensionElement(Stanza, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- addExtensionElement(Stanza, XmlPullParser, String, String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- addExtensionElement(Collection<ExtensionElement>, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- addExtensionElement(Collection<ExtensionElement>, XmlPullParser, String, String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- addExtensionProvider(String, String, Object) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Adds an extension provider with the specified element name and name space.
- addExtensions(Collection<ExtensionElement>) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Adds a collection of stanza(/packet) extensions to the packet.
- addExtensions(Collection<ExtensionElement>) - Method in class org.jivesoftware.smack.packet.Stanza
Adds a collection of stanza(/packet) extensions to the packet.
- addFilter(StanzaFilter) - Method in class org.jivesoftware.smack.filter.AbstractListFilter
Adds a filter to the filter list.
- addIQProvider(String, String, Object) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Adds an IQ provider (must be an instance of IQProvider or Class object that is an IQ) with the specified element name and name space.
- addLines(String, Set<String>) - Static method in class org.jivesoftware.smack.util.FileUtils
-
- addLoader(ProviderLoader) - Static method in class org.jivesoftware.smack.provider.ProviderManager
-
- addOneTimeSyncCallback(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addOneTimeSyncCallback(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Add a callback that is called exactly once and synchronously with the incoming stanza that matches the given stanza(/packet) filter.
- addPacketExtension(Stanza, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Deprecated.
- addPacketExtension(Stanza, XmlPullParser, String, String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Deprecated.
- addPacketExtension(Collection<ExtensionElement>, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Deprecated.
- addPacketExtension(Collection<ExtensionElement>, XmlPullParser, String, String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Deprecated.
- addPacketInterceptor(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addPacketInterceptor(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Registers a stanza(/packet) interceptor with this connection.
- addPacketListener(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Deprecated.
- addPacketListener(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
- addPacketSendingListener(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addPacketSendingListener(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Registers a stanza(/packet) listener with this connection.
- addReaderListener(ReaderListener) - Method in class org.jivesoftware.smack.util.ObservableReader
Adds a reader listener to this reader that will be notified when new strings are read.
- addSaslMech(String) - Static method in class org.jivesoftware.smack.SmackConfiguration
Add a SASL mechanism to the list to be used.
- addSaslMechs(Collection<String>) - Static method in class org.jivesoftware.smack.SmackConfiguration
Add a Collection of SASL mechanisms to the list to be used.
- addStreamFeatureProvider(String, String, ExtensionElementProvider<ExtensionElement>) - Static method in class org.jivesoftware.smack.provider.ProviderManager
-
- addSubject(String, String) - Method in class org.jivesoftware.smack.packet.Message
Adds a subject with a corresponding language.
- addSyncStanzaListener(StanzaListener, StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- addSyncStanzaListener(StanzaListener, StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Registers a synchronous stanza(/packet) listener with this connection.
- addWriterListener(WriterListener) - Method in class org.jivesoftware.smack.util.ObservableWriter
Adds a writer listener to this writer that will be notified when new strings are sent.
- afterFeaturesReceived() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- afterSuccessfulLogin(boolean) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- allowEmptyOrNullUsernames() - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Allow null
or the empty String as username.
- allowNullOrEmptyUsername - Variable in class org.jivesoftware.smack.ConnectionConfiguration
-
- AlreadyConnectedException() - Constructor for exception org.jivesoftware.smack.SmackException.AlreadyConnectedException
-
- AlreadyLoggedInException() - Constructor for exception org.jivesoftware.smack.SmackException.AlreadyLoggedInException
-
- AMP_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
-
- AndFilter - Class in org.jivesoftware.smack.filter
Implements the logical AND operation over two or more stanza(/packet) filters.
- AndFilter() - Constructor for class org.jivesoftware.smack.filter.AndFilter
Creates an empty AND filter.
- AndFilter(StanzaFilter...) - Constructor for class org.jivesoftware.smack.filter.AndFilter
Creates an AND filter using the specified filters.
- APOS_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
-
- append(LazyStringBuilder) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- append(CharSequence) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- append(CharSequence, int, int) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- append(char) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- append(XmlStringBuilder) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- append(Collection<? extends Element>) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- append(CharSequence) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- append(CharSequence, int, int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- append(char) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- appendErrorIfExists(XmlStringBuilder) - Method in class org.jivesoftware.smack.packet.Stanza
Append an XMPPError is this stanza(/packet) has one set.
- ArrayBlockingQueueWithShutdown<E> - Class in org.jivesoftware.smack.util
- ArrayBlockingQueueWithShutdown(int) - Constructor for class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- ArrayBlockingQueueWithShutdown(int, boolean) - Constructor for class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- assertAtEndTag(XmlPullParser) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- assertAtStartTag(XmlPullParser) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- Async - Class in org.jivesoftware.smack.util
-
- Async() - Constructor for class org.jivesoftware.smack.util.Async
-
- asyncGo(Runnable) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- attribute(String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
Does nothing if value is null.
- attribute(String, Enum<?>) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- attribute(String, int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- authenticate(String, String, String, String) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
Builds and sends the auth stanza to the server.
- authenticate(String, String, CallbackHandler) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
Builds and sends the auth stanza to the server.
- authenticate(String, CallbackHandler) - Method in class org.jivesoftware.smack.SASLAuthentication
Performs SASL authentication of the specified user.
- authenticate(String, String, String) - Method in class org.jivesoftware.smack.SASLAuthentication
Performs SASL authentication of the specified user.
- authenticateAnonymously() - Method in class org.jivesoftware.smack.SASLAuthentication
Performs ANONYMOUS SASL authentication.
- authenticated(XMPPConnection, boolean) - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- authenticated - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
Flag that indicates if the user is currently authenticated with the server.
- authenticated(XMPPConnection, boolean) - Method in interface org.jivesoftware.smack.ConnectionListener
Notification that the connection has been authenticated.
- authenticated(SaslStreamElements.Success) - Method in class org.jivesoftware.smack.SASLAuthentication
Notification message saying that SASL authentication was successful.
- authenticateInternal(CallbackHandler) - Method in class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- authenticateInternal(CallbackHandler) - Method in class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- authenticateInternal(CallbackHandler) - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
-
- authenticateInternal() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
-
- authenticateInternal(CallbackHandler) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
-
- authenticationFailed(SaslStreamElements.SASLFailure) - Method in class org.jivesoftware.smack.SASLAuthentication
Notification message saying that SASL authentication has failed.
- authenticationFailed(Exception) - Method in class org.jivesoftware.smack.SASLAuthentication
-
- authenticationId - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
Then authentication identity (authcid).
- authenticationSuccessful() - Method in class org.jivesoftware.smack.SASLAuthentication
-
- AuthMechanism(String, String) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.AuthMechanism
-
- AVAILABLE - Static variable in class org.jivesoftware.smack.filter.PresenceTypeFilter
-
- callConnectionAuthenticatedListener(boolean) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- callConnectionClosedOnErrorListener(Exception) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- callConnectionConnectedListener() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- cancel() - Method in class org.jivesoftware.smack.PacketCollector
Explicitly cancels the stanza(/packet) collector so that no more results are queued up.
- Challenge(String) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Challenge
-
- challengeReceived(String, boolean) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
The server is challenging the SASL mechanism for the stanza he just sent.
- challengeReceived(String) - Method in class org.jivesoftware.smack.SASLAuthentication
- challengeReceived(String, boolean) - Method in class org.jivesoftware.smack.SASLAuthentication
The server is challenging the SASL authentication we just sent.
- charAt(int) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- charAt(int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- CHAT - Static variable in class org.jivesoftware.smack.filter.MessageTypeFilter
-
- checkClientTrusted(X509Certificate[], String) - Method in class org.jivesoftware.smack.util.TLSUtils.AcceptAllTrustManager
-
- checkIfInUInt32Range(long) - Static method in class org.jivesoftware.smack.util.NumberUtil
Checks if the given long is within the range of an unsigned 32-bit integer, the XML type "xs:unsignedInt".
- checkIfSuccessfulOrThrow() - Method in class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- checkIfSuccessfulOrThrow() - Method in class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- checkIfSuccessfulOrThrow() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
-
- checkIfSuccessfulOrThrow() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
-
- checkIfSuccessOrWait() - Method in class org.jivesoftware.smack.SynchronizationPoint
Check if this synchronization point is successful or wait the connections reply timeout.
- checkIfSuccessOrWaitOrThrow() - Method in class org.jivesoftware.smack.SynchronizationPoint
Check if this synchronization point is successful or wait the connections reply timeout.
- checkServerTrusted(X509Certificate[], String) - Method in class org.jivesoftware.smack.util.TLSUtils.AcceptAllTrustManager
-
- clear() - Method in class org.jivesoftware.smack.util.MultiMap
-
- CLIENT_NAMESPACE - Static variable in class org.jivesoftware.smack.packet.StreamOpen
-
- clone() - Method in class org.jivesoftware.smack.packet.Message
Creates and returns a copy of this message stanza.
- clone() - Method in class org.jivesoftware.smack.packet.Presence
Creates and returns a copy of this presence stanza.
- clone() - Method in interface org.jivesoftware.smack.util.TypedCloneable
Clone this instance.
- close() - Method in class org.jivesoftware.smack.util.ObservableReader
-
- close() - Method in class org.jivesoftware.smack.util.ObservableWriter
-
- closeElement(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- closeElement(NamedElement) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- closeEmptyElement() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- collectionToString(Collection<String>) - Static method in class org.jivesoftware.smack.util.StringUtils
-
- compareTo(SASLMechanism) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
-
- compareTo(SRVRecord) - Method in class org.jivesoftware.smack.util.dns.SRVRecord
-
- Compress - Class in org.jivesoftware.smack.compress.packet
-
- Compress(String) - Constructor for class org.jivesoftware.smack.compress.packet.Compress
-
- Compress.Feature - Class in org.jivesoftware.smack.compress.packet
-
- Compressed - Class in org.jivesoftware.smack.compress.packet
-
- compressionHandler - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
-
- compressionMethod - Variable in class org.jivesoftware.smack.compression.XMPPInputOutputStream
-
- concact(byte[], byte[]) - Static method in class org.jivesoftware.smack.util.ByteUtils
-
- condAttribute(boolean, String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- condEmptyElement(boolean, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- config - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
Holds the initial configuration used while creating the connection.
- connect() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Establishes a connection to the XMPP server and performs an automatic login only if the previous connection state was logged (authenticated).
- connected(XMPPConnection) - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- connected - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
-
- connected(XMPPConnection) - Method in interface org.jivesoftware.smack.ConnectionListener
Notification that the connection has been successfully connected to the remote endpoint (e.g.
- connectInternal() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Abstract method that concrete subclasses of XMPPConnection need to implement to perform their way of XMPP connection establishment.
- connection() - Method in class org.jivesoftware.smack.Manager
-
- connection - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
-
- connectionClosed() - Method in class org.jivesoftware.smack.AbstractConnectionClosedListener
-
- connectionClosed() - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- connectionClosed() - Method in interface org.jivesoftware.smack.ConnectionListener
Notification that the connection was closed normally.
- connectionClosedOnError(Exception) - Method in class org.jivesoftware.smack.AbstractConnectionClosedListener
-
- connectionClosedOnError(Exception) - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- connectionClosedOnError(Exception) - Method in interface org.jivesoftware.smack.ConnectionListener
Notification that the connection was closed due to an exception.
- ConnectionConfiguration - Class in org.jivesoftware.smack
Configuration to use while establishing the connection to the server.
- ConnectionConfiguration(ConnectionConfiguration.Builder<?, ?>) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
-
- ConnectionConfiguration.Builder<B extends ConnectionConfiguration.Builder<B,C>,C extends ConnectionConfiguration> - Class in org.jivesoftware.smack
A builder for XMPP connection configurations.
- ConnectionConfiguration.SecurityMode - Enum in org.jivesoftware.smack
An enumeration for TLS security modes that are available when making a connection to the XMPP server.
- connectionCounterValue - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
A number to uniquely identify connections that are created.
- connectionCreated(XMPPConnection) - Method in interface org.jivesoftware.smack.ConnectionCreationListener
Notification that a new connection has been created.
- ConnectionCreationListener - Interface in org.jivesoftware.smack
Implementors of this interface will be notified when a new
XMPPConnection
has been created.
- ConnectionException(Throwable) - Constructor for exception org.jivesoftware.smack.SmackException.ConnectionException
-
- ConnectionListener - Interface in org.jivesoftware.smack
Interface that allows for implementing classes to listen for connection closing and reconnection events.
- connectionListeners - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
A collection of ConnectionListeners which listen for connection closing and reconnection events.
- connectionLock - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
-
- connectionTerminated() - Method in class org.jivesoftware.smack.AbstractConnectionClosedListener
-
- ConsoleDebugger - Class in org.jivesoftware.smack.debugger
Very simple debugger that prints to the console (stdout) the sent and received stanzas.
- ConsoleDebugger(XMPPConnection, Writer, Reader) - Constructor for class org.jivesoftware.smack.debugger.ConsoleDebugger
-
- containsKey(Object) - Method in class org.jivesoftware.smack.util.MultiMap
-
- containsValue(Object) - Method in class org.jivesoftware.smack.util.MultiMap
-
- CRAMMD5 - Static variable in class org.jivesoftware.smack.sasl.SASLMechanism
-
- create(XMPPConnection, Writer, Reader) - Method in class org.jivesoftware.smack.debugger.ReflectionDebuggerFactory
-
- create(XMPPConnection, Writer, Reader) - Method in interface org.jivesoftware.smack.debugger.SmackDebuggerFactory
Initialize the new SmackDebugger instance.
- create(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
- createBare(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
- createDebugger(XMPPConnection, Writer, Reader) - Static method in class org.jivesoftware.smack.SmackConfiguration
Creates new debugger instance with given arguments as parameters.
- createErrorResponse(IQ, XMPPError) - Static method in class org.jivesoftware.smack.packet.IQ
- createFull(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
- createPacketCollector(StanzaFilter) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- createPacketCollector(PacketCollector.Configuration) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- createPacketCollector(StanzaFilter) - Method in interface org.jivesoftware.smack.XMPPConnection
Creates a new stanza(/packet) collector for this connection.
- createPacketCollector(PacketCollector.Configuration) - Method in interface org.jivesoftware.smack.XMPPConnection
Create a new stanza(/packet) collector with the given stanza(/packet) collector configuration.
- createPacketCollectorAndSend(IQ) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- createPacketCollectorAndSend(StanzaFilter, Stanza) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- createPacketCollectorAndSend(IQ) - Method in interface org.jivesoftware.smack.XMPPConnection
Creates a new stanza(/packet) collector collecting packets that are replies to packet
.
- createPacketCollectorAndSend(StanzaFilter, Stanza) - Method in interface org.jivesoftware.smack.XMPPConnection
Creates a new stanza(/packet) collector for this connection.
- createResultIQ(IQ) - Static method in class org.jivesoftware.smack.packet.IQ
- createReturnExtension(String, String, Map<String, String>, List<? extends ExtensionElement>) - Method in class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
-
- createSocket(String, int) - Method in class org.jivesoftware.smack.proxy.Socks4ProxySocketFactory
-
- createSocket(String, int, InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks4ProxySocketFactory
-
- createSocket(InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks4ProxySocketFactory
-
- createSocket(InetAddress, int, InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks4ProxySocketFactory
-
- createSocket(String, int) - Method in class org.jivesoftware.smack.proxy.Socks5ProxySocketFactory
-
- createSocket(String, int, InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks5ProxySocketFactory
-
- createSocket(InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks5ProxySocketFactory
-
- createSocket(InetAddress, int, InetAddress, int) - Method in class org.jivesoftware.smack.proxy.Socks5ProxySocketFactory
-
- GET - Static variable in class org.jivesoftware.smack.filter.IQTypeFilter
-
- GET_OR_SET - Static variable in class org.jivesoftware.smack.filter.IQTypeFilter
-
- getAcceptedIssuers() - Method in class org.jivesoftware.smack.util.TLSUtils.AcceptAllTrustManager
-
- getAll(Object) - Method in class org.jivesoftware.smack.util.MultiMap
Get all values for the given key.
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.AuthMechanism
-
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Response
-
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
-
- getAuthenticationText() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
Should return the initial response of the SASL mechanism.
- getBlacklistedSASLMechanisms() - Static method in class org.jivesoftware.smack.SASLAuthentication
-
- getBodies() - Method in class org.jivesoftware.smack.packet.Message
Returns a set of all bodies in this Message, including the default message body accessible from
Message.getBody()
.
- getBody() - Method in class org.jivesoftware.smack.packet.Message
Returns the default body of the message, or null if the body has not been set.
- getBody(String) - Method in class org.jivesoftware.smack.packet.Message
Returns the body corresponding to the language.
- getBodyLanguages() - Method in class org.jivesoftware.smack.packet.Message
Returns all the languages being used for the bodies, not including the default body.
- getBooleanAttribute(XmlPullParser, String) - Static method in class org.jivesoftware.smack.util.ParserUtils
Get the boolean value of an argument.
- getBooleanAttribute(XmlPullParser, String, boolean) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getCallbackHandler() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns a CallbackHandler to obtain information, such as the password or principal information during the SASL authentication.
- getChildElementName() - Method in class org.jivesoftware.smack.packet.IQ
-
- getChildElementNamespace() - Method in class org.jivesoftware.smack.packet.IQ
-
- getChildElementXML() - Method in class org.jivesoftware.smack.packet.IQ
Returns the sub-element XML section of the IQ packet, or the empty String if there isn't one.
- getClassLoaders() - Static method in class org.jivesoftware.smack.util.FileUtils
Returns default classloaders.
- getCollectedCount() - Method in class org.jivesoftware.smack.PacketCollector
Get the number of collected stanzas this stanza(/packet) collector has collected so far.
- getCompresionHandlers() - Static method in class org.jivesoftware.smack.SmackConfiguration
-
- getCompressionMethod() - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
-
- getCondition() - Method in class org.jivesoftware.smack.packet.StreamError
-
- getCondition() - Method in class org.jivesoftware.smack.packet.XMPPError
Returns the error condition.
- getConditionText() - Method in class org.jivesoftware.smack.packet.StreamError
-
- getConditionText() - Method in class org.jivesoftware.smack.packet.XMPPError
-
- getConfiguration() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getConfigUrl() - Method in class org.jivesoftware.smack.initializer.UrlInitializer
-
- getConnectionCounter() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getConnectionCounter() - Method in interface org.jivesoftware.smack.XMPPConnection
Get the connection counter of this XMPPConnection instance.
- getConnectionCreationListeners() - Static method in class org.jivesoftware.smack.AbstractXMPPConnection
Get the collection of listeners that are interested in connection creation events.
- getConnectionCreationListeners() - Static method in class org.jivesoftware.smack.XMPPConnectionRegistry
Get the collection of listeners that are interested in connection creation events.
- getConnectionLock() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getContent() - Method in class org.jivesoftware.smack.packet.UnparsedIQ
-
- getContent() - Method in class org.jivesoftware.smack.parsing.UnparsablePacket
Retrieve the raw stanza data
- getCustomSSLContext() - Method in class org.jivesoftware.smack.ConnectionConfiguration
- getData() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Success
Returns additional data for the SASL layer or null
.
- getDebuggerClass() - Static method in class org.jivesoftware.smack.debugger.ReflectionDebuggerFactory
Returns debugger class used by this factory
- getDebuggerFactory() - Static method in class org.jivesoftware.smack.SmackConfiguration
-
- getDefaultLanguage() - Static method in class org.jivesoftware.smack.packet.Stanza
Returns the default language used for all messages containing localized content.
- getDefaultPacketReplyTimeout() - Static method in class org.jivesoftware.smack.SmackConfiguration
Returns the number of milliseconds to wait for a response from the server.
- getDefaultParsingExceptionCallback() - Static method in class org.jivesoftware.smack.SmackConfiguration
Returns the default parsing exception callback
- getDescriptiveText() - Method in class org.jivesoftware.smack.packet.AbstractError
Get the descriptive text of this SASLFailure.
- getDescriptiveText(String) - Method in class org.jivesoftware.smack.packet.AbstractError
Get the descriptive test of this SASLFailure.
- getDNSResolver() - Static method in class org.jivesoftware.smack.util.DNSUtil
Returns the current DNS resolved used to perform DNS lookups.
- getElement() - Method in class org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- getElement() - Method in interface org.jivesoftware.smack.iqrequest.IQRequestHandler
-
- getElementName() - Method in class org.jivesoftware.smack.compress.packet.Compress.Feature
-
- getElementName() - Method in class org.jivesoftware.smack.compress.packet.Compress
-
- getElementName() - Method in class org.jivesoftware.smack.compress.packet.Compressed
-
- getElementName() - Method in class org.jivesoftware.smack.packet.Bind.Feature
-
- getElementName() - Method in class org.jivesoftware.smack.packet.DefaultExtensionElement
Returns the XML element name of the extension sub-packet root element.
- getElementName() - Method in class org.jivesoftware.smack.packet.Mechanisms
-
- getElementName() - Method in interface org.jivesoftware.smack.packet.NamedElement
Returns the root element name.
- getElementName() - Method in class org.jivesoftware.smack.packet.Session.Feature
-
- getElementName() - Method in class org.jivesoftware.smack.packet.StartTls
-
- getElementName() - Method in class org.jivesoftware.smack.packet.StreamOpen
-
- getEnabledPerDefault() - Static method in class org.jivesoftware.smack.ReconnectionManager
Get the current default reconnection mechanism setting for new XMPP connections.
- getEnabledSSLCiphers() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Return the enabled SSL/TLS ciphers.
- getEnabledSSLProtocols() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Return the enabled SSL/TLS protocols.
- getError() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns the error associated with this packet, or null if there are no errors.
- getError() - Method in class org.jivesoftware.smack.packet.Stanza
Returns the error associated with this packet, or null if there are no errors.
- getErrorGenerator() - Method in class org.jivesoftware.smack.packet.XMPPError
-
- getErrorMessage() - Method in class org.jivesoftware.smack.util.dns.HostAddress
-
- getException() - Method in class org.jivesoftware.smack.util.dns.HostAddress
Retrieve the Exception that caused a connection failure to this HostAddress.
- getExtension(String, String) - Method in class org.jivesoftware.smack.packet.AbstractError
Returns the first stanza(/packet) extension that matches the specified element name and namespace, or null if it doesn't exist.
- getExtension(String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns the first extension of this stanza(/packet) that has the given namespace.
- getExtension(String, String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns the first stanza(/packet) extension that matches the specified element name and namespace, or null if it doesn't exist.
- getExtension(String) - Method in class org.jivesoftware.smack.packet.Stanza
Returns the first extension of this stanza(/packet) that has the given namespace.
- getExtension(String, String) - Method in class org.jivesoftware.smack.packet.Stanza
Returns the first extension that matches the specified element name and namespace, or null if it doesn't exist.
- getExtensionProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Returns the stanza(/packet) extension provider registered to the specified XML element name and namespace.
- getExtensionProviderInfo() - Method in class org.jivesoftware.smack.provider.ProviderFileLoader
-
- getExtensionProviderInfo() - Method in interface org.jivesoftware.smack.provider.ProviderLoader
Provides the extension providers for the creation of extension providers to be added to the ProviderManager
.
- getExtensionProviders() - Static method in class org.jivesoftware.smack.provider.ProviderManager
Returns an unmodifiable collection of all PacketExtensionProvider instances.
- getExtensions() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns a copy of the stanza(/packet) extensions attached to the packet.
- getExtensions(String, String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Return a set of all extensions with the given element name and namespace.
- getExtensions() - Method in class org.jivesoftware.smack.packet.Stanza
Returns a list of all extension elements of this stanza.
- getExtensions(String, String) - Method in class org.jivesoftware.smack.packet.Stanza
Return a set of all extensions with the given element name and namespace.
- getExtensionsXML() - Method in class org.jivesoftware.smack.packet.Stanza
Returns the extension sub-packets (including properties data) as an XML String, or the Empty String if there are no stanza(/packet) extensions.
- getFailedAddresses() - Method in exception org.jivesoftware.smack.SmackException.ConnectionException
-
- getFeature(String, String) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getFeature() - Method in exception org.jivesoftware.smack.SmackException.FeatureNotSupportedException
Get the feature which is not supported.
- getFeature(String, String) - Method in interface org.jivesoftware.smack.XMPPConnection
Get the feature stanza(/packet) extensions for a given stream feature of the server, or null
if the server doesn't support that feature.
- getFilePath() - Method in class org.jivesoftware.smack.initializer.VmArgInitializer
-
- getFilter() - Method in exception org.jivesoftware.smack.SmackException.NoResponseException
Get the filter that was used to collect the response.
- getFirst(Object) - Method in class org.jivesoftware.smack.util.MultiMap
Get the first value for the given key, or null
if there are no entries.
- getFQDN() - Method in class org.jivesoftware.smack.util.dns.HostAddress
-
- getFrom() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns who the stanza(/packet) is being sent "from" or null if the value is not set.
- getFrom() - Method in class org.jivesoftware.smack.packet.Stanza
Returns who the stanza(/packet) is being sent "from" or null if the value is not set.
- getFromMode() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getFromMode() - Method in interface org.jivesoftware.smack.XMPPConnection
Get the currently active FromMode.
- getHost() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getHost() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the host name of the server where the XMPP server is running.
- getHostnameVerifier() - Method in class org.jivesoftware.smack.ConnectionConfiguration
- getInputStream(InputStream) - Method in class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
-
- getInputStream(InputStream) - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
-
- getInstanceFor(AbstractXMPPConnection) - Static method in class org.jivesoftware.smack.ReconnectionManager
Get a instance of ReconnectionManager for the given connection.
- getIntegerAttribute(XmlPullParser, String) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getIntegerAttribute(XmlPullParser, String, int) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getIntegerFromNextText(XmlPullParser) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getInterceptor() - Method in class org.jivesoftware.smack.AbstractXMPPConnection.InterceptorWrapper
-
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.packet.Bind
-
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.packet.EmptyResultIQ
-
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.packet.IQ
This method must be overwritten by IQ subclasses to create their child content.
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.packet.SimpleIQ
-
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.packet.UnparsedIQ
-
- getIQProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Returns the IQ provider registered to the specified XML element name and namespace.
- getIQProviderInfo() - Method in class org.jivesoftware.smack.provider.ProviderFileLoader
-
- getIQProviderInfo() - Method in interface org.jivesoftware.smack.provider.ProviderLoader
Provides the IQ provider info for the creation of IQ providers to be added to the ProviderManager
.
- getIQProviders() - Static method in class org.jivesoftware.smack.provider.ProviderManager
Returns an unmodifiable collection of all IQProvider instances.
- getJid() - Method in class org.jivesoftware.smack.packet.Bind
-
- getJid() - Method in exception org.jivesoftware.smack.SmackException.FeatureNotSupportedException
Get JID which does not support the feature.
- getKeystorePath() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Retuns the path to the keystore file.
- getKeystoreType() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the keystore type, or null if it's not set.
- getLanguage() - Method in class org.jivesoftware.smack.packet.Message.Body
Returns the language of this message body.
- getLanguage() - Method in class org.jivesoftware.smack.packet.Message.Subject
Returns the language of this message subject.
- getLanguage() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns the xml:lang of this Stanza, or null if one has not been set.
- getLanguage() - Method in class org.jivesoftware.smack.packet.Stanza
Returns the xml:lang of this Stanza, or null if one has not been set.
- getLastStanzaReceived() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getLastStanzaReceived() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the timestamp in milliseconds when the last stanza was received.
- getListener() - Method in class org.jivesoftware.smack.AbstractXMPPConnection.ListenerWrapper
-
- getLoadingExceptions() - Method in class org.jivesoftware.smack.provider.ProviderFileLoader
-
- getLongAttribute(XmlPullParser, String) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getLongAttribute(XmlPullParser, String, long) - Static method in class org.jivesoftware.smack.util.ParserUtils
-
- getMechanism() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.AuthMechanism
-
- getMechanism() - Method in exception org.jivesoftware.smack.sasl.SASLErrorException
-
- getMechanisms() - Method in class org.jivesoftware.smack.packet.Mechanisms
-
- getMessage() - Method in class org.jivesoftware.smack.packet.Message.Body
Returns the message content.
- getMessage() - Method in exception org.jivesoftware.smack.XMPPException.XMPPErrorException
-
- getMethods() - Method in class org.jivesoftware.smack.compress.packet.Compress.Feature
-
- getMode() - Method in class org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- getMode() - Method in interface org.jivesoftware.smack.iqrequest.IQRequestHandler
-
- getMode() - Method in class org.jivesoftware.smack.packet.Presence
Returns the mode of the presence update.
- getName() - Method in class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- getName() - Method in class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- getName() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
-
- getName() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
Returns the common name of the SASL mechanism.
- getNames() - Method in class org.jivesoftware.smack.packet.DefaultExtensionElement
Returns an unmodifiable collection of the names that can be used to get values of the stanza(/packet) extension.
- getNamespace() - Method in class org.jivesoftware.smack.compress.packet.Compress.Feature
-
- getNamespace() - Method in class org.jivesoftware.smack.compress.packet.Compress
-
- getNamespace() - Method in class org.jivesoftware.smack.compress.packet.Compressed
-
- getNamespace() - Method in class org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- getNamespace() - Method in interface org.jivesoftware.smack.iqrequest.IQRequestHandler
-
- getNamespace() - Method in class org.jivesoftware.smack.packet.Bind.Feature
-
- getNamespace() - Method in class org.jivesoftware.smack.packet.DefaultExtensionElement
Returns the XML namespace of the extension sub-packet root element.
- getNamespace() - Method in interface org.jivesoftware.smack.packet.ExtensionElement
Returns the root element XML namespace.
- getNamespace() - Method in class org.jivesoftware.smack.packet.Mechanisms
-
- getNamespace() - Method in class org.jivesoftware.smack.packet.Session.Feature
-
- getNamespace() - Method in class org.jivesoftware.smack.packet.StartTls
-
- getNamespace() - Method in class org.jivesoftware.smack.packet.StreamOpen
-
- getOutputStream(OutputStream) - Method in class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
-
- getOutputStream(OutputStream) - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
-
- getPacketCollectorSize() - Static method in class org.jivesoftware.smack.SmackConfiguration
Gets the default max size of a stanza(/packet) collector before it will delete the older packets.
- getPacketFilter() - Method in class org.jivesoftware.smack.PacketCollector
- getPacketID() - Method in interface org.jivesoftware.smack.packet.Packet
- getPacketID() - Method in class org.jivesoftware.smack.packet.Stanza
- getPacketReplyTimeout() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getPacketReplyTimeout() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the current value of the reply timeout in milliseconds for request for this XMPPConnection instance.
- getParserFor(String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- getParserFor(Reader) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- getParserFor(String, String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- getParsingException() - Method in class org.jivesoftware.smack.parsing.UnparsablePacket
-
- getParsingExceptionCallback() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Get the current active parsing exception callback.
- getPassword() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the password to use when trying to reconnect to the server.
- getPKCS11Library() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the PKCS11 library file location, needed when the Keystore type is PKCS11.
- getPort() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getPort() - Method in class org.jivesoftware.smack.util.dns.HostAddress
-
- getPort() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the port number of the XMPP server for this connection.
- getPriority() - Method in class org.jivesoftware.smack.packet.Presence
Returns the priority of the presence, or Integer.MIN_VALUE if no priority has been set.
- getPriority() - Method in class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- getPriority() - Method in class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- getPriority() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
-
- getPriority() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
-
- getPriority() - Method in class org.jivesoftware.smack.util.dns.SRVRecord
-
- getProvidersUrl() - Method in class org.jivesoftware.smack.initializer.UrlInitializer
-
- getProxyAddress() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getProxyPassword() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getProxyPort() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getProxyType() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getProxyUsername() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getReader() - Method in class org.jivesoftware.smack.debugger.AbstractDebugger
-
- getReader() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the special Reader that wraps the main Reader and logs data to the GUI.
- getReaderListener() - Method in class org.jivesoftware.smack.debugger.AbstractDebugger
-
- getReaderListener() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the thread that will listen for all incoming packets and write them to the GUI.
- getRegisterdSASLMechanisms() - Static method in class org.jivesoftware.smack.SASLAuthentication
Returns the registered SASLMechanism sorted by the level of preference.
- getResource() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the resource to use when trying to reconnect to the server.
- getResource() - Method in class org.jivesoftware.smack.packet.Bind
-
- getSASLAuthentication() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Returns the SASLAuthentication manager that is responsible for authenticating with the server.
- getSASLError() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.SASLFailure
Get the SASL related error condition.
- getSASLErrorString() - Method in class org.jivesoftware.smack.sasl.packet.SaslStreamElements.SASLFailure
-
- getSASLFailure() - Method in exception org.jivesoftware.smack.sasl.SASLErrorException
-
- getSaslMechs() - Static method in class org.jivesoftware.smack.SmackConfiguration
Returns the list of SASL mechanisms to be used.
- getSecurityMode() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the TLS security mode used when making the connection.
- getServiceName() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getServiceName() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the server name of the target server.
- getServiceName() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the name of the service provided by the XMPP server for this connection.
- getSocketFactory() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the socket factory used to create new xmppConnection sockets.
- getSocketFactory() - Method in class org.jivesoftware.smack.proxy.ProxyInfo
-
- getStanzaFilter() - Method in class org.jivesoftware.smack.PacketCollector
Returns the stanza filter associated with this stanza collector.
- getStanzaId() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns the unique ID of the stanza.
- getStanzaId() - Method in class org.jivesoftware.smack.packet.Stanza
Returns the unique ID of the stanza.
- getStatus() - Method in class org.jivesoftware.smack.packet.Presence
Returns the status message of the presence update, or null if there is not a status.
- getStreamError() - Method in exception org.jivesoftware.smack.XMPPException.StreamErrorException
Returns the StreamError associated with this exception.
- getStreamFeatureProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
-
- getStreamFeatureProviderInfo() - Method in class org.jivesoftware.smack.provider.ProviderFileLoader
-
- getStreamFeatureProviderInfo() - Method in interface org.jivesoftware.smack.provider.ProviderLoader
Provides the stream feature providers information for the creation of stream feature providers to be added to the ProviderManager
.
- getStreamForUrl(String, ClassLoader) - Static method in class org.jivesoftware.smack.util.FileUtils
-
- getStreamId() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getStreamId() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the stream ID for this connection, which is the value set by the server when opening an XMPP stream.
- getStringEncoder() - Static method in class org.jivesoftware.smack.util.stringencoder.Base32
-
- getStringEncoder() - Static method in class org.jivesoftware.smack.util.stringencoder.Base64UrlSafeEncoder
-
- getSubject() - Method in class org.jivesoftware.smack.packet.Message
Returns the default subject of the message, or null if the subject has not been set.
- getSubject(String) - Method in class org.jivesoftware.smack.packet.Message
Returns the subject corresponding to the language.
- getSubject() - Method in class org.jivesoftware.smack.packet.Message.Subject
Returns the subject content.
- getSubjectLanguages() - Method in class org.jivesoftware.smack.packet.Message
Returns all the languages being used for the subjects, not including the default subject.
- getSubjects() - Method in class org.jivesoftware.smack.packet.Message
Returns a set of all subjects in this Message, including the default message subject accessible from
Message.getSubject()
.
- getTexts() - Method in exception org.jivesoftware.smack.sasl.SASLErrorException
-
- getThis() - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
-
- getThread() - Method in class org.jivesoftware.smack.packet.Message
Returns the thread id of the message, which is a unique identifier for a sequence of "chat" messages.
- getTo() - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Returns who the stanza(/packet) is being sent "to", or null if the value is not set.
- getTo() - Method in class org.jivesoftware.smack.packet.Stanza
Returns who the stanza(/packet) is being sent "to", or null if the value is not set.
- getType() - Method in class org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- getType() - Method in interface org.jivesoftware.smack.iqrequest.IQRequestHandler
-
- getType() - Method in class org.jivesoftware.smack.packet.IQ
Returns the type of the IQ packet.
- getType() - Method in class org.jivesoftware.smack.packet.Message
Returns the type of the message.
- getType() - Method in class org.jivesoftware.smack.packet.Presence
Returns the type of this presence packet.
- getType() - Method in class org.jivesoftware.smack.packet.XMPPError
Returns the error type.
- getUser() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- getUser() - Method in interface org.jivesoftware.smack.XMPPConnection
Returns the full XMPP address of the user that is logged in to the connection or null if not logged in yet.
- getUsername() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the username to use when trying to reconnect to the server.
- getValue(String) - Method in class org.jivesoftware.smack.packet.DefaultExtensionElement
Returns a stanza(/packet) extension value given a name.
- getVersion() - Static method in class org.jivesoftware.smack.SmackConfiguration
Returns the Smack version information, eg "1.3.0".
- getWeight() - Method in class org.jivesoftware.smack.util.dns.SRVRecord
-
- getWriter() - Method in class org.jivesoftware.smack.debugger.AbstractDebugger
-
- getWriter() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the special Writer that wraps the main Writer and logs data to the GUI.
- getWriterListener() - Method in class org.jivesoftware.smack.debugger.AbstractDebugger
-
- getWriterListener() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the thread that will listen for all outgoing packets and write them to the GUI.
- getXMPPError() - Method in exception org.jivesoftware.smack.XMPPException.XMPPErrorException
Returns the XMPPError associated with this exception, or null if there isn't one.
- go(Runnable) - Static method in class org.jivesoftware.smack.util.Async
Creates a new thread with the given Runnable, marks it daemon, starts it and returns the started thread.
- go(Runnable, String) - Static method in class org.jivesoftware.smack.util.Async
Creates a new thread with the given Runnable, marks it daemon, sets the name, starts it and returns the started thread.
- GROUPCHAT - Static variable in class org.jivesoftware.smack.filter.MessageTypeFilter
-
- GSSAPI - Static variable in class org.jivesoftware.smack.sasl.SASLMechanism
-
- GT_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
-
- Packet - Interface in org.jivesoftware.smack.packet
- PacketCollector - Class in org.jivesoftware.smack
Provides a mechanism to collect packets into a result queue that pass a specified filter.
- PacketCollector(XMPPConnection, PacketCollector.Configuration) - Constructor for class org.jivesoftware.smack.PacketCollector
Creates a new stanza(/packet) collector.
- PacketCollector.Configuration - Class in org.jivesoftware.smack
-
- PacketExtension - Interface in org.jivesoftware.smack.packet
- PacketExtensionFilter - Class in org.jivesoftware.smack.filter
- PacketExtensionFilter(String, String) - Constructor for class org.jivesoftware.smack.filter.PacketExtensionFilter
Deprecated.
Creates a new stanza(/packet) extension filter.
- PacketExtensionFilter(String) - Constructor for class org.jivesoftware.smack.filter.PacketExtensionFilter
Deprecated.
Creates a new stanza(/packet) extension filter.
- PacketExtensionFilter(ExtensionElement) - Constructor for class org.jivesoftware.smack.filter.PacketExtensionFilter
Deprecated.
Creates a new stanza(/packet) extension filter for the given stanza(/packet) extension.
- packetExtensionfromCollection(Collection<ExtensionElement>, String, String) - Static method in class org.jivesoftware.smack.util.PacketUtil
- PacketExtensionIntrospectionProvider(Class<PE>) - Constructor for class org.jivesoftware.smack.provider.IntrospectionProvider.PacketExtensionIntrospectionProvider
-
- PacketFilter - Interface in org.jivesoftware.smack.filter
- PacketIDFilter - Class in org.jivesoftware.smack.filter
- PacketIDFilter(Stanza) - Constructor for class org.jivesoftware.smack.filter.PacketIDFilter
- PacketIDFilter(String) - Constructor for class org.jivesoftware.smack.filter.PacketIDFilter
- PacketListener - Interface in org.jivesoftware.smack
- PacketParserUtils - Class in org.jivesoftware.smack.util
Utility class that helps to parse packets.
- PacketParserUtils() - Constructor for class org.jivesoftware.smack.util.PacketParserUtils
-
- PacketTypeFilter - Class in org.jivesoftware.smack.filter
- PacketTypeFilter(Class<? extends Stanza>) - Constructor for class org.jivesoftware.smack.filter.PacketTypeFilter
Deprecated.
Creates a new stanza(/packet) type filter that will filter for packets that are the same type as packetType.
- PacketUtil - Class in org.jivesoftware.smack.util
-
- PacketUtil() - Constructor for class org.jivesoftware.smack.util.PacketUtil
-
- parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.provider.BindIQProvider
-
- parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
-
- parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.provider.IntrospectionProvider.IQIntrospectionProvider
-
- parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.provider.IntrospectionProvider.PacketExtensionIntrospectionProvider
-
- parse(XmlPullParser) - Method in class org.jivesoftware.smack.provider.Provider
-
- parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.provider.Provider
-
- parseAndProcessStanza(XmlPullParser) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- parseCompressionFeature(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parse the Compression Feature reported from the server.
- parseContent(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Returns the content of a element.
- parseContentDepth(XmlPullParser, int) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseContentDepth(XmlPullParser, int, boolean) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Returns the content from the current position of the parser up to the closing tag of the given depth.
- parseDescriptiveTexts(XmlPullParser, Map<String, String>) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseElement(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Returns the current element as string.
- parseElement(XmlPullParser, boolean) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseElementText(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Returns the textual content of an element as String.
- parseError(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses error sub-packets.
- parseExtensionElement(String, String, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses an extension element.
- parseFeatures(XmlPullParser) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- parseIQ(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses an IQ packet.
- parseMechanisms(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parse the available SASL mechanisms reported from the server.
- parseMessage(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses a message packet.
- parsePacketExtension(String, String, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
- parsePresence(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses a presence packet.
- ParserUtils - Class in org.jivesoftware.smack.util
-
- ParserUtils() - Constructor for class org.jivesoftware.smack.util.ParserUtils
-
- parseSASLFailure(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses SASL authentication error packets.
- parseSessionFeature(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseStanza(String) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseStanza(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Tries to parse and return either a Message, IQ or Presence stanza.
- parseStartTlsFeature(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
-
- parseStreamError(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses stream error packets.
- parseWithIntrospection(Class<?>, XmlPullParser, int) - Static method in class org.jivesoftware.smack.provider.IntrospectionProvider
-
- ParsingExceptionCallback - Class in org.jivesoftware.smack.parsing
Base class to receive parsing exceptions.
- ParsingExceptionCallback() - Constructor for class org.jivesoftware.smack.parsing.ParsingExceptionCallback
-
- password - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
The users password
- peek() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- performActionAndWaitForEvent(K, long, EventManger.Callback<E>) - Method in class org.jivesoftware.smack.util.EventManger
Perform an action and wait for an event.
- PLAIN - Static variable in class org.jivesoftware.smack.sasl.SASLMechanism
-
- PlainStreamElement - Interface in org.jivesoftware.smack.packet
Plain stream elements, ie.
- poll() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- poll(long, TimeUnit) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- pollResult() - Method in class org.jivesoftware.smack.PacketCollector
Polls to see if a stanza(/packet) is currently available and returns it, or immediately returns null if no packets are currently in the result queue.
- pollResultOrThrow() - Method in class org.jivesoftware.smack.PacketCollector
Polls to see if a stanza(/packet) is currently available and returns it, or immediately returns null if no packets are currently in the result queue.
- populateHostAddresses() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
- port - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
The used port to establish the connection to
- port - Variable in class org.jivesoftware.smack.ConnectionConfiguration
-
- prelude(ExtensionElement) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- prelude(String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- PRESENCE - Static variable in class org.jivesoftware.smack.filter.PacketTypeFilter
Deprecated.
- PRESENCE - Static variable in class org.jivesoftware.smack.filter.StanzaTypeFilter
-
- Presence - Class in org.jivesoftware.smack.packet
Represents XMPP presence packets.
- Presence(Presence.Type) - Constructor for class org.jivesoftware.smack.packet.Presence
Creates a new presence update.
- Presence(Presence.Type, String, int, Presence.Mode) - Constructor for class org.jivesoftware.smack.packet.Presence
Creates a new presence update with a specified status, priority, and mode.
- Presence(Presence) - Constructor for class org.jivesoftware.smack.packet.Presence
Copy constructor.
- Presence.Mode - Enum in org.jivesoftware.smack.packet
An enum to represent the presence mode.
- Presence.Type - Enum in org.jivesoftware.smack.packet
An enum to represent the presence type.
- PresenceListener - Interface in org.jivesoftware.smack
-
- PresenceTypeFilter - Class in org.jivesoftware.smack.filter
A filter for Presence types.
- printInterpreted - Static variable in class org.jivesoftware.smack.debugger.AbstractDebugger
-
- PROBE - Static variable in class org.jivesoftware.smack.filter.PresenceTypeFilter
-
- processConfigFile(InputStream, Collection<Exception>) - Static method in class org.jivesoftware.smack.SmackInitialization
-
- processConfigFile(InputStream, Collection<Exception>, ClassLoader) - Static method in class org.jivesoftware.smack.SmackInitialization
-
- processException(Exception) - Method in interface org.jivesoftware.smack.ExceptionCallback
-
- processMessage(Message) - Method in interface org.jivesoftware.smack.MessageListener
-
- processPacket(Stanza) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Processes a stanza(/packet) after it's been fully parsed by looping through the installed stanza(/packet) collectors and listeners and letting them examine the stanza(/packet) to see if they are a match with the filter.
- processPacket(Stanza) - Method in class org.jivesoftware.smack.PacketCollector
Processes a stanza(/packet) to see if it meets the criteria for this stanza(/packet) collector.
- processPacket(Stanza) - Method in interface org.jivesoftware.smack.StanzaListener
Process the next stanza(/packet) sent to this stanza(/packet) listener.
- processPresence(Presence) - Method in interface org.jivesoftware.smack.PresenceListener
-
- PROPERTY_JAVA_VENDOR - Static variable in class org.jivesoftware.smack.util.SystemUtil
-
- PROTO_SSL3 - Static variable in class org.jivesoftware.smack.util.TLSUtils
-
- PROTO_TLSV1 - Static variable in class org.jivesoftware.smack.util.TLSUtils
-
- PROTO_TLSV1_1 - Static variable in class org.jivesoftware.smack.util.TLSUtils
-
- PROTO_TLSV1_2 - Static variable in class org.jivesoftware.smack.util.TLSUtils
-
- Provider<E extends Element> - Class in org.jivesoftware.smack.provider
-
- Provider() - Constructor for class org.jivesoftware.smack.provider.Provider
-
- ProviderFileLoader - Class in org.jivesoftware.smack.provider
- ProviderFileLoader(InputStream) - Constructor for class org.jivesoftware.smack.provider.ProviderFileLoader
-
- ProviderFileLoader(InputStream, ClassLoader) - Constructor for class org.jivesoftware.smack.provider.ProviderFileLoader
-
- ProviderLoader - Interface in org.jivesoftware.smack.provider
- ProviderManager - Class in org.jivesoftware.smack.provider
Manages providers for parsing custom XML sub-documents of XMPP packets.
- ProviderManager() - Constructor for class org.jivesoftware.smack.provider.ProviderManager
-
- proxy - Variable in class org.jivesoftware.smack.ConnectionConfiguration
-
- ProxyException - Exception in org.jivesoftware.smack.proxy
An exception class to handle exceptions caused by proxy.
- ProxyException(ProxyInfo.ProxyType, String, Throwable) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyException(ProxyInfo.ProxyType, String) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyException(ProxyInfo.ProxyType) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyInfo - Class in org.jivesoftware.smack.proxy
Class which stores proxy information such as proxy type, host, port, authentication etc.
- ProxyInfo(ProxyInfo.ProxyType, String, int, String, String) - Constructor for class org.jivesoftware.smack.proxy.ProxyInfo
-
- ProxyInfo.ProxyType - Enum in org.jivesoftware.smack.proxy
-
- put(E) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- put(K, V) - Method in class org.jivesoftware.smack.util.MultiMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class org.jivesoftware.smack.util.MultiMap
-
- randomString(int) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns a random String of numbers and letters (lower and upper case) of the specified length.
- read(char[], int, int) - Method in class org.jivesoftware.smack.util.ObservableReader
-
- read() - Method in class org.jivesoftware.smack.util.ObservableReader
-
- read(char[]) - Method in class org.jivesoftware.smack.util.ObservableReader
-
- read(String) - Method in interface org.jivesoftware.smack.util.ReaderListener
Notification that the Reader has read a new string.
- reader - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
The Reader which is used for the debugger.
- ReaderListener - Interface in org.jivesoftware.smack.util
Interface that allows for implementing classes to listen for string reading events.
- readFile(File) - Static method in class org.jivesoftware.smack.util.FileUtils
-
- readFileOrThrow(File) - Static method in class org.jivesoftware.smack.util.FileUtils
Reads the contents of a File
- ready() - Method in class org.jivesoftware.smack.util.ObservableReader
-
- reconnectingIn(int) - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- reconnectingIn(int) - Method in interface org.jivesoftware.smack.ConnectionListener
The connection will retry to reconnect in the specified number of seconds.
- reconnectionFailed(Exception) - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- reconnectionFailed(Exception) - Method in interface org.jivesoftware.smack.ConnectionListener
An attempt to connect to the server has failed.
- ReconnectionManager - Class in org.jivesoftware.smack
Handles the automatic reconnection process.
- ReconnectionManager.ReconnectionPolicy - Enum in org.jivesoftware.smack
- reconnectionSuccessful() - Method in class org.jivesoftware.smack.AbstractConnectionListener
-
- reconnectionSuccessful() - Method in interface org.jivesoftware.smack.ConnectionListener
The connection has reconnected successfully to the server.
- ReflectionDebuggerFactory - Class in org.jivesoftware.smack.debugger
-
- ReflectionDebuggerFactory() - Constructor for class org.jivesoftware.smack.debugger.ReflectionDebuggerFactory
-
- registerIQRequestHandler(IQRequestHandler) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- registerIQRequestHandler(IQRequestHandler) - Method in interface org.jivesoftware.smack.XMPPConnection
Register an IQ request handler with this connection.
- registerSASLMechanism(SASLMechanism) - Static method in class org.jivesoftware.smack.SASLAuthentication
Registers a new SASL mechanism
- remainingCapacity() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- remove(Object) - Method in class org.jivesoftware.smack.util.MultiMap
Removes all mappings for the given key and returns the first value if there where mappings or null
if not.
- removeAsyncStanzaListener(StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removeAsyncStanzaListener(StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Removes an asynchronous stanza(/packet) listener for received packets from this connection.
- removeBody(String) - Method in class org.jivesoftware.smack.packet.Message
Removes the body with the given language from the message.
- removeBody(Message.Body) - Method in class org.jivesoftware.smack.packet.Message
Removes the body from the message and returns true if the body was removed.
- removeConnectionCreationListener(ConnectionCreationListener) - Static method in class org.jivesoftware.smack.XMPPConnectionRegistry
Removes a listener that was interested in connection creation events.
- removeConnectionListener(ConnectionListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removeConnectionListener(ConnectionListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Removes a connection listener from this connection.
- removeExtension(String, String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Remove the stanza(/packet) extension with the given elementName and namespace.
- removeExtension(ExtensionElement) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Removes a stanza(/packet) extension from the packet.
- removeExtension(String, String) - Method in class org.jivesoftware.smack.packet.Stanza
Remove the stanza(/packet) extension with the given elementName and namespace.
- removeExtension(ExtensionElement) - Method in class org.jivesoftware.smack.packet.Stanza
Removes a stanza(/packet) extension from the packet.
- removeExtensionProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Removes an extension provider with the specified element name and namespace.
- removeIQProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Removes an IQ provider with the specified element name and namespace.
- removeOne(Object, V) - Method in class org.jivesoftware.smack.util.MultiMap
Remove the mapping of the given key to the value.
- removePacketCollector(PacketCollector) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removePacketCollector(PacketCollector) - Method in interface org.jivesoftware.smack.XMPPConnection
Remove a stanza(/packet) collector of this connection.
- removePacketInterceptor(StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removePacketInterceptor(StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Removes a stanza(/packet) interceptor.
- removePacketListener(StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Deprecated.
- removePacketListener(StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
- removePacketSendingListener(StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removePacketSendingListener(StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Removes a stanza(/packet) listener for sending packets from this connection.
- removeReaderListener(ReaderListener) - Method in class org.jivesoftware.smack.util.ObservableReader
Removes a reader listener from this reader.
- removeSaslMech(String) - Static method in class org.jivesoftware.smack.SmackConfiguration
Remove a SASL mechanism from the list to be used.
- removeSaslMechs(Collection<String>) - Static method in class org.jivesoftware.smack.SmackConfiguration
Remove a Collection of SASL mechanisms to the list to be used.
- removeStreamFeatureProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
-
- removeSubject(String) - Method in class org.jivesoftware.smack.packet.Message
Removes the subject with the given language from the message.
- removeSubject(Message.Subject) - Method in class org.jivesoftware.smack.packet.Message
Removes the subject from the message and returns true if the subject was removed.
- removeSyncStanzaListener(StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- removeSyncStanzaListener(StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Removes a stanza(/packet) listener for received packets from this connection.
- removeWriterListener(WriterListener) - Method in class org.jivesoftware.smack.util.ObservableWriter
Removes a writer listener from this writer.
- reportFailure() - Method in class org.jivesoftware.smack.SynchronizationPoint
- reportFailure(E) - Method in class org.jivesoftware.smack.SynchronizationPoint
Report this synchronization point as failed because of the given exception.
- reportSuccess() - Method in class org.jivesoftware.smack.SynchronizationPoint
Report this synchronization point as successful.
- requestSent() - Method in class org.jivesoftware.smack.SynchronizationPoint
Check if this synchronization point has its request already sent.
- required() - Method in class org.jivesoftware.smack.packet.StartTls
-
- requireNonNull(T, String) - Static method in class org.jivesoftware.smack.util.Objects
-
- requireNotNullOrEmpty(CS, String) - Static method in class org.jivesoftware.smack.util.StringUtils
-
- reset() - Method in class org.jivesoftware.smack.util.ObservableReader
-
- resolveXMPPDomain(String, List<HostAddress>) - Static method in class org.jivesoftware.smack.util.DNSUtil
Returns a list of HostAddresses under which the specified XMPP server can be reached at for client-to-server communication.
- resolveXMPPServerDomain(String, List<HostAddress>) - Static method in class org.jivesoftware.smack.util.DNSUtil
Returns a list of HostAddresses under which the specified XMPP server can be reached at for server-to-server communication.
- ResourceBindingNotOfferedException() - Constructor for exception org.jivesoftware.smack.SmackException.ResourceBindingNotOfferedException
-
- Response() - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Response
-
- Response(String) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Response
-
- RESULT - Static variable in class org.jivesoftware.smack.filter.IQTypeFilter
-
- returnIfNotEmptyTrimmed(String) - Static method in class org.jivesoftware.smack.util.StringUtils
-
- RIGHT_ANGLE_BRACKET - Static variable in class org.jivesoftware.smack.util.XmlStringBuilder
-
- rightAngelBracket() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
- rightAngleBracket() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
Add a right angle bracket '>'
- SASLAnonymous - Class in org.jivesoftware.smack.sasl
Implementation of the SASL ANONYMOUS mechanism
- SASLAnonymous() - Constructor for class org.jivesoftware.smack.sasl.SASLAnonymous
-
- saslAuthentication - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
The SASLAuthentication manager that is responsible for authenticating with the server.
- SASLAuthentication - Class in org.jivesoftware.smack
This class is responsible authenticating the user using SASL, binding the resource to the connection and establishing a session with the server.
- SASLError - Enum in org.jivesoftware.smack.sasl
-
- SASLErrorException - Exception in org.jivesoftware.smack.sasl
-
- SASLErrorException(String, SaslStreamElements.SASLFailure) - Constructor for exception org.jivesoftware.smack.sasl.SASLErrorException
-
- SASLErrorException(String, SaslStreamElements.SASLFailure, Map<String, String>) - Constructor for exception org.jivesoftware.smack.sasl.SASLErrorException
-
- SASLFailure(String) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.SASLFailure
-
- SASLFailure(String, Map<String, String>) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.SASLFailure
-
- saslFeatureReceived - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
Set to success if the sasl feature has been received.
- SASLMechanism - Class in org.jivesoftware.smack.sasl
Base class for SASL mechanisms.
- SASLMechanism() - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism
-
- saslPrep(String) - Static method in class org.jivesoftware.smack.sasl.SASLMechanism
SASLprep the given String.
- SaslStreamElements - Class in org.jivesoftware.smack.sasl.packet
-
- SaslStreamElements() - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements
-
- SaslStreamElements.AuthMechanism - Class in org.jivesoftware.smack.sasl.packet
Initiating SASL authentication by select a mechanism.
- SaslStreamElements.Challenge - Class in org.jivesoftware.smack.sasl.packet
A SASL challenge stream element.
- SaslStreamElements.Response - Class in org.jivesoftware.smack.sasl.packet
A SASL response stream element.
- SaslStreamElements.SASLFailure - Class in org.jivesoftware.smack.sasl.packet
A SASL failure stream element, also called "SASL Error"
- SaslStreamElements.Success - Class in org.jivesoftware.smack.sasl.packet
A SASL success stream element.
- SASLXOauth2Mechanism - Class in org.jivesoftware.smack.sasl.core
- SASLXOauth2Mechanism() - Constructor for class org.jivesoftware.smack.sasl.core.SASLXOauth2Mechanism
-
- schedule(Runnable, long, TimeUnit) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- SCRAMSHA1Mechanism - Class in org.jivesoftware.smack.sasl.core
-
- SCRAMSHA1Mechanism() - Constructor for class org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism
-
- SecurityNotPossibleException(String) - Constructor for exception org.jivesoftware.smack.SmackException.SecurityNotPossibleException
-
- SecurityRequiredByClientException() - Constructor for exception org.jivesoftware.smack.SmackException.SecurityRequiredByClientException
-
- SecurityRequiredByServerException() - Constructor for exception org.jivesoftware.smack.SmackException.SecurityRequiredByServerException
-
- SecurityRequiredException(String) - Constructor for exception org.jivesoftware.smack.SmackException.SecurityRequiredException
-
- send(PlainStreamElement) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- send(PlainStreamElement) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a PlainStreamElement.
- sendAndWaitForResponse(TopLevelStreamElement) - Method in class org.jivesoftware.smack.SynchronizationPoint
Send the given top level stream element and wait for a response.
- sendAndWaitForResponseOrThrow(PlainStreamElement) - Method in class org.jivesoftware.smack.SynchronizationPoint
Send the given plain stream element and wait for a response.
- sendIqWithResponseCallback(IQ, StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendIqWithResponseCallback(IQ, StanzaListener, ExceptionCallback) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendIqWithResponseCallback(IQ, StanzaListener, ExceptionCallback, long) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendIqWithResponseCallback(IQ, StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a IQ stanza and invoke
callback
if there is a result of
IQ.Type.result
with that result IQ.
- sendIqWithResponseCallback(IQ, StanzaListener, ExceptionCallback) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a IQ stanza and invoke
callback
if there is a result of
IQ.Type.result
with that result IQ.
- sendIqWithResponseCallback(IQ, StanzaListener, ExceptionCallback, long) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a IQ stanza and invoke
callback
if there is a result of
IQ.Type.result
with that result IQ.
- sendPacket(Stanza) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Deprecated.
- sendPacket(Stanza) - Method in interface org.jivesoftware.smack.XMPPConnection
- sendStanza(Stanza) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendStanza(Stanza) - Method in interface org.jivesoftware.smack.XMPPConnection
Sends the specified stanza to the server.
- sendStanzaInternal(Stanza) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener, ExceptionCallback) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener, ExceptionCallback, long) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a stanza and wait asynchronously for a response by using replyFilter
.
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener, ExceptionCallback) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a stanza and wait asynchronously for a response by using replyFilter
.
- sendStanzaWithResponseCallback(Stanza, StanzaFilter, StanzaListener, ExceptionCallback, long) - Method in interface org.jivesoftware.smack.XMPPConnection
Send a stanza and wait asynchronously for a response by using replyFilter
.
- SERVER_NAMESPACE - Static variable in class org.jivesoftware.smack.packet.StreamOpen
-
- serviceName - Variable in class org.jivesoftware.smack.ConnectionConfiguration
Hostname of the XMPP server.
- serviceName - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
The name of the XMPP service
- Session - Class in org.jivesoftware.smack.packet
IQ stanza(/packet) that will be sent to the server to establish a session.
- Session() - Constructor for class org.jivesoftware.smack.packet.Session
-
- Session.Feature - Class in org.jivesoftware.smack.packet
-
- SET - Static variable in class org.jivesoftware.smack.filter.IQTypeFilter
-
- setBody(String) - Method in class org.jivesoftware.smack.packet.Message
Sets the body of the message.
- setCallbackHandler(CallbackHandler) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets a CallbackHandler to obtain information, such as the password or principal information during the SASL authentication.
- setCollectorToReset(PacketCollector) - Method in class org.jivesoftware.smack.PacketCollector.Configuration
Set the collector which timeout for the next result is reset once this collector collects a packet.
- setCustomSSLContext(SSLContext) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets a custom SSLContext for creating SSL sockets.
- setDebuggerClass(Class<? extends SmackDebugger>) - Static method in class org.jivesoftware.smack.debugger.ReflectionDebuggerFactory
Sets custom debugger class to be created by this factory
- setDebuggerEnabled(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets if the new connection about to be establish is going to be debugged.
- setDebuggerFactory(SmackDebuggerFactory) - Static method in class org.jivesoftware.smack.SmackConfiguration
Sets Smack debugger factory.
- setDefaultFixedDelay(int) - Static method in class org.jivesoftware.smack.ReconnectionManager
Set the default fixed delay in seconds between the reconnection attempts.
- setDefaultHostnameVerifier(HostnameVerifier) - Static method in class org.jivesoftware.smack.SmackConfiguration
Set the default HostnameVerifier that will be used by XMPP connections to verify the hostname of a TLS certificate.
- setDefaultPacketReplyTimeout(int) - Static method in class org.jivesoftware.smack.SmackConfiguration
Sets the number of milliseconds to wait for a response from the server.
- setDefaultParsingExceptionCallback(ParsingExceptionCallback) - Static method in class org.jivesoftware.smack.SmackConfiguration
Set the default parsing exception callback for all newly created connections
- setDefaultReconnectionPolicy(ReconnectionManager.ReconnectionPolicy) - Static method in class org.jivesoftware.smack.ReconnectionManager
Set the default Reconnection Policy to use
- setDNSResolver(DNSResolver) - Static method in class org.jivesoftware.smack.util.DNSUtil
Set the DNS resolver that should be used to perform DNS lookups.
- setEmptyElement() - Method in class org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder
-
- setEnabledPerDefault(boolean) - Static method in class org.jivesoftware.smack.ReconnectionManager
Set if the automatic reconnection mechanism will be enabled per default for new XMPP connections.
- setEnabledProtocolsAndCiphers(SSLSocket, String[], String[]) - Static method in class org.jivesoftware.smack.util.TLSUtils
-
- setEnabledSSLCiphers(String[]) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the enabled SSL/TLS ciphers.
- setEnabledSSLProtocols(String[]) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the enabled SSL/TLS protocols.
- setEncoder(Base64.Encoder) - Static method in class org.jivesoftware.smack.util.stringencoder.Base64
-
- setEncoder(StringEncoder) - Static method in class org.jivesoftware.smack.util.stringencoder.Base64UrlSafeEncoder
-
- setError(XMPPError) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Sets the error for this packet.
- setError(XMPPError) - Method in class org.jivesoftware.smack.packet.Stanza
Sets the error for this packet.
- setException(Exception) - Method in class org.jivesoftware.smack.util.dns.HostAddress
-
- setFixedDelay(int) - Method in class org.jivesoftware.smack.ReconnectionManager
- setFlushMethod(XMPPInputOutputStream.FlushMethod) - Static method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
Set the used flushed method when compressing data.
- setFrom(String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Sets who the stanza(/packet) is being sent "from".
- setFrom(String) - Method in class org.jivesoftware.smack.packet.Stanza
Sets who the stanza(/packet) is being sent "from".
- setFromMode(XMPPConnection.FromMode) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- setFromMode(XMPPConnection.FromMode) - Method in interface org.jivesoftware.smack.XMPPConnection
Set the FromMode for this connection instance.
- setHost(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
-
- setHostnameVerifier(HostnameVerifier) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the HostnameVerifier used to verify the hostname of SSLSockets used by XMPP connections created with this ConnectionConfiguration.
- setIdnaTransformer(StringTransformer) - Static method in class org.jivesoftware.smack.util.DNSUtil
Set the IDNA (Internationalizing Domain Names in Applications, RFC 3490) transformer.
- setKeystorePath(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets the path to the keystore file.
- setKeystoreType(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets the keystore type.
- setLanguage(String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Sets the xml:lang of this Stanza.
- setLanguage(String) - Method in class org.jivesoftware.smack.packet.Stanza
Sets the xml:lang of this Stanza.
- setLegacySessionDisabled(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
- setMode(Presence.Mode) - Method in class org.jivesoftware.smack.packet.Presence
Sets the mode of the presence update.
- setPacketCollectorSize(int) - Static method in class org.jivesoftware.smack.SmackConfiguration
Sets the default max size of a stanza(/packet) collector before it will delete the older packets.
- setPacketFilter(StanzaFilter) - Method in class org.jivesoftware.smack.PacketCollector.Configuration
- setPacketID(String) - Method in interface org.jivesoftware.smack.packet.Packet
- setPacketID(String) - Method in class org.jivesoftware.smack.packet.Stanza
- setPacketReplyTimeout(long) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
-
- setPacketReplyTimeout(long) - Method in interface org.jivesoftware.smack.XMPPConnection
Set the stanza(/packet) reply timeout in milliseconds.
- setParsingExceptionCallback(ParsingExceptionCallback) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Install a parsing exception callback, which will be invoked once an exception is encountered while parsing a stanza
- setPKCS11Library(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets the PKCS11 library file location, needed when the Keystore type is PKCS11
- setPort(int) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
-
- setPriority(int) - Method in class org.jivesoftware.smack.packet.Presence
Sets the priority of the presence.
- setProxyInfo(ProxyInfo) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the information about the Proxy used for the connection.
- setReconnectionPolicy(ReconnectionManager.ReconnectionPolicy) - Method in class org.jivesoftware.smack.ReconnectionManager
Set the Reconnection Policy to use
- setReplyToUnknownIq(boolean) - Method in class org.jivesoftware.smack.AbstractXMPPConnection
- setReplyToUnknownIqDefault(boolean) - Static method in class org.jivesoftware.smack.AbstractXMPPConnection
Set the default value used to determine if new connection will reply to unknown IQ requests.
- setResource(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the resource to use.
- setSaslPrepTransformer(StringTransformer) - Static method in class org.jivesoftware.smack.sasl.SASLMechanism
Set the SASLPrep StringTransformer.
- setSecurityMode(ConnectionConfiguration.SecurityMode) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets the TLS security mode used when making the connection.
- setSendPresence(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets if an initial available presence will be sent to the server.
- setServiceName(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the service name of this XMPP service (i.e., the XMPP domain).
- setSize(int) - Method in class org.jivesoftware.smack.PacketCollector.Configuration
Set the maximum size of this collector, i.e.
- setSocketFactory(SocketFactory) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Sets the socket factory used to create new xmppConnection sockets.
- setSSLv3AndTLSOnly(B) - Static method in class org.jivesoftware.smack.util.TLSUtils
Enable only TLS and SSLv3.
- setStanzaFilter(StanzaFilter) - Method in class org.jivesoftware.smack.PacketCollector.Configuration
Set the stanza filter used by this collector.
- setStanzaId(String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Sets the unique ID of the packet.
- setStanzaId(String) - Method in class org.jivesoftware.smack.packet.Stanza
Sets the unique ID of the packet.
- setStatus(String) - Method in class org.jivesoftware.smack.packet.Presence
Sets the status message of the presence update.
- setSubject(String) - Method in class org.jivesoftware.smack.packet.Message
Sets the subject of the message.
- setThread(String) - Method in class org.jivesoftware.smack.packet.Message
Sets the thread id of the message, which is a unique identifier for a sequence of "chat" messages.
- setTLSOnly(B) - Static method in class org.jivesoftware.smack.util.TLSUtils
Enable only TLS.
- setTo(String) - Method in interface org.jivesoftware.smack.packet.Packet
Deprecated.
Sets who the stanza(/packet) is being sent "to".
- setTo(String) - Method in class org.jivesoftware.smack.packet.Stanza
Sets who the stanza(/packet) is being sent "to".
- setType(IQ.Type) - Method in class org.jivesoftware.smack.packet.IQ
Sets the type of the IQ packet.
- setType(Message.Type) - Method in class org.jivesoftware.smack.packet.Message
Sets the type of the message.
- setType(Presence.Type) - Method in class org.jivesoftware.smack.packet.Presence
Sets the type of the presence packet.
- setUsernameAndPassword(CharSequence, String) - Method in class org.jivesoftware.smack.ConnectionConfiguration.Builder
Set the XMPP entities username and password.
- setValue(String, String) - Method in class org.jivesoftware.smack.packet.DefaultExtensionElement
Sets a stanza(/packet) extension value using the given name.
- setWasAuthenticated() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Sets whether the connection has already logged in the server.
- SHA1 - Class in org.jivesoftware.smack.util
-
- SHA1() - Constructor for class org.jivesoftware.smack.util.SHA1
-
- SHA1 - Static variable in class org.jivesoftware.smack.util.StringUtils
-
- shutdown() - Method in class org.jivesoftware.smack.AbstractXMPPConnection
Shuts the current connection down.
- shutdown() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
Shutdown the Queue.
- signalEvent(K, R) - Method in class org.jivesoftware.smack.util.EventManger
Signal an event and the event result.
- SimpleIQ - Class in org.jivesoftware.smack.packet
A simple IQ.
- SimpleIQ(String, String) - Constructor for class org.jivesoftware.smack.packet.SimpleIQ
-
- size() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- size() - Method in class org.jivesoftware.smack.util.MultiMap
-
- skip(long) - Method in class org.jivesoftware.smack.util.ObservableReader
-
- SmackConfiguration - Class in org.jivesoftware.smack
Represents the configuration of Smack.
- SmackConfiguration() - Constructor for class org.jivesoftware.smack.SmackConfiguration
-
- SmackDebugger - Interface in org.jivesoftware.smack.debugger
Interface that allows for implementing classes to debug XML traffic.
- SmackDebuggerFactory - Interface in org.jivesoftware.smack.debugger
-
- SmackException - Exception in org.jivesoftware.smack
Smack uses SmackExceptions for errors that are not defined by any XMPP specification.
- SmackException(Throwable) - Constructor for exception org.jivesoftware.smack.SmackException
Creates a new SmackException with the Throwable that was the root cause of the exception.
- SmackException(String) - Constructor for exception org.jivesoftware.smack.SmackException
-
- SmackException(String, Throwable) - Constructor for exception org.jivesoftware.smack.SmackException
-
- SmackException() - Constructor for exception org.jivesoftware.smack.SmackException
-
- SmackException.AlreadyConnectedException - Exception in org.jivesoftware.smack
-
- SmackException.AlreadyLoggedInException - Exception in org.jivesoftware.smack
-
- SmackException.ConnectionException - Exception in org.jivesoftware.smack
ConnectionException is thrown if Smack is unable to connect to all hosts of a given XMPP service.
- SmackException.FeatureNotSupportedException - Exception in org.jivesoftware.smack
-
- SmackException.IllegalStateChangeException - Exception in org.jivesoftware.smack
-
- SmackException.NoResponseException - Exception in org.jivesoftware.smack
Exception thrown always when there was no response to an request within the stanza(/packet) reply timeout of the used connection instance.
- SmackException.NotConnectedException - Exception in org.jivesoftware.smack
-
- SmackException.NotLoggedInException - Exception in org.jivesoftware.smack
-
- SmackException.ResourceBindingNotOfferedException - Exception in org.jivesoftware.smack
-
- SmackException.SecurityNotPossibleException - Exception in org.jivesoftware.smack
-
- SmackException.SecurityRequiredByClientException - Exception in org.jivesoftware.smack
-
- SmackException.SecurityRequiredByServerException - Exception in org.jivesoftware.smack
-
- SmackException.SecurityRequiredException - Exception in org.jivesoftware.smack
-
- SmackExecutorThreadFactory - Class in org.jivesoftware.smack.util
SmackExecutorThreadFactory creates daemon threads with a particular name.
- SmackExecutorThreadFactory(int, String) - Constructor for class org.jivesoftware.smack.util.SmackExecutorThreadFactory
-
- SmackInitialization - Class in org.jivesoftware.smack
-
- SmackInitialization() - Constructor for class org.jivesoftware.smack.SmackInitialization
-
- SmackInitializer - Interface in org.jivesoftware.smack.initializer
Defines an initialization class that will be instantiated and invoked by the
SmackConfiguration
class during initialization.
- Socks4ProxySocketFactory - Class in org.jivesoftware.smack.proxy
Socket factory for socks4 proxy
- Socks4ProxySocketFactory(ProxyInfo) - Constructor for class org.jivesoftware.smack.proxy.Socks4ProxySocketFactory
-
- Socks5ProxySocketFactory - Class in org.jivesoftware.smack.proxy
Socket factory for Socks5 proxy
- Socks5ProxySocketFactory(ProxyInfo) - Constructor for class org.jivesoftware.smack.proxy.Socks5ProxySocketFactory
-
- SRVRecord - Class in org.jivesoftware.smack.util.dns
-
- SRVRecord(String, int, int, int) - Constructor for class org.jivesoftware.smack.util.dns.SRVRecord
Create a new SRVRecord
- SSL - Static variable in class org.jivesoftware.smack.util.TLSUtils
-
- Stanza - Class in org.jivesoftware.smack.packet
Base class for XMPP Stanzas, which are called Stanza(/Packet) in older versions of Smack (i.e.
- Stanza() - Constructor for class org.jivesoftware.smack.packet.Stanza
-
- Stanza(String) - Constructor for class org.jivesoftware.smack.packet.Stanza
-
- Stanza(Stanza) - Constructor for class org.jivesoftware.smack.packet.Stanza
-
- StanzaExtensionFilter - Class in org.jivesoftware.smack.filter
Filters for stanzas with a particular type of stanza extension.
- StanzaExtensionFilter(String, String) - Constructor for class org.jivesoftware.smack.filter.StanzaExtensionFilter
Creates a new stanza extension filter.
- StanzaExtensionFilter(String) - Constructor for class org.jivesoftware.smack.filter.StanzaExtensionFilter
Creates a new stanza extension filter.
- StanzaExtensionFilter(ExtensionElement) - Constructor for class org.jivesoftware.smack.filter.StanzaExtensionFilter
Creates a new stanza extension filter for the given stanza extension.
- StanzaFilter - Interface in org.jivesoftware.smack.filter
Defines a way to filter stanzas for particular attributes.
- StanzaIdFilter - Class in org.jivesoftware.smack.filter
Filters for Stanzas with a particular stanza ID.
- StanzaIdFilter(Stanza) - Constructor for class org.jivesoftware.smack.filter.StanzaIdFilter
Creates a new stanza ID filter using the specified stanza's ID.
- StanzaIdFilter(String) - Constructor for class org.jivesoftware.smack.filter.StanzaIdFilter
Creates a new stanza ID filter using the specified stanza ID.
- StanzaIdUtil - Class in org.jivesoftware.smack.packet.id
-
- StanzaIdUtil() - Constructor for class org.jivesoftware.smack.packet.id.StanzaIdUtil
-
- StanzaListener - Interface in org.jivesoftware.smack
Provides a mechanism to listen for packets that pass a specified filter.
- stanzaType - Variable in class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
-
- StanzaTypeFilter - Class in org.jivesoftware.smack.filter
Filters for Stanzas of a particular type.
- StanzaTypeFilter(Class<? extends Stanza>) - Constructor for class org.jivesoftware.smack.filter.StanzaTypeFilter
Creates a new stanza(/packet) type filter that will filter for packets that are the same type as packetType.
- start() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
Start the queue.
- StartTls - Class in org.jivesoftware.smack.packet
-
- StartTls() - Constructor for class org.jivesoftware.smack.packet.StartTls
-
- StartTls(boolean) - Constructor for class org.jivesoftware.smack.packet.StartTls
-
- StreamError - Class in org.jivesoftware.smack.packet
Represents a stream error packet.
- StreamError(StreamError.Condition, String, Map<String, String>, List<ExtensionElement>) - Constructor for class org.jivesoftware.smack.packet.StreamError
-
- StreamError.Condition - Enum in org.jivesoftware.smack.packet
The defined stream error conditions, see RFC 6120 § 4.9.3
- StreamErrorException(StreamError) - Constructor for exception org.jivesoftware.smack.XMPPException.StreamErrorException
Creates a new XMPPException with the stream error that was the root case of the exception.
- StreamFeatureProviderInfo - Class in org.jivesoftware.smack.provider
-
- StreamFeatureProviderInfo(String, String, ExtensionElementProvider<ExtensionElement>) - Constructor for class org.jivesoftware.smack.provider.StreamFeatureProviderInfo
Defines an extension provider which implements the StreamFeatureProvider
interface.
- streamFeatures - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
-
- streamId - Variable in class org.jivesoftware.smack.AbstractXMPPConnection
The stream ID, see RFC 6120 § 4.7.3
- StreamOpen - Class in org.jivesoftware.smack.packet
-
- StreamOpen(CharSequence) - Constructor for class org.jivesoftware.smack.packet.StreamOpen
-
- StreamOpen(CharSequence, CharSequence, String) - Constructor for class org.jivesoftware.smack.packet.StreamOpen
-
- StreamOpen(CharSequence, CharSequence, String, String, StreamOpen.StreamContentNamespace) - Constructor for class org.jivesoftware.smack.packet.StreamOpen
-
- StreamOpen.StreamContentNamespace - Enum in org.jivesoftware.smack.packet
-
- StringEncoder - Interface in org.jivesoftware.smack.util.stringencoder
-
- StringTransformer - Interface in org.jivesoftware.smack.util
-
- StringUtils - Class in org.jivesoftware.smack.util
A collection of utility methods for String objects.
- StringUtils() - Constructor for class org.jivesoftware.smack.util.StringUtils
-
- SUBSCRIBE - Static variable in class org.jivesoftware.smack.filter.PresenceTypeFilter
-
- SUBSCRIBED - Static variable in class org.jivesoftware.smack.filter.PresenceTypeFilter
-
- subSequence(int, int) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
-
- subSequence(int, int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
-
- Success(String) - Constructor for class org.jivesoftware.smack.sasl.packet.SaslStreamElements.Success
Construct a new SASL success stream element with optional additional data for the SASL layer (RFC6120 6.3.10)
- SynchronizationPoint<E extends java.lang.Exception> - Class in org.jivesoftware.smack
-
- SynchronizationPoint(AbstractXMPPConnection) - Constructor for class org.jivesoftware.smack.SynchronizationPoint
Construct a new synchronization point for the given connection.
- SystemUtil - Class in org.jivesoftware.smack.util
-
- SystemUtil() - Constructor for class org.jivesoftware.smack.util.SystemUtil
-
- valueOf(String) - Static method in enum org.jivesoftware.smack.compression.XMPPInputOutputStream.FlushMethod
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.ConnectionConfiguration.SecurityMode
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.iqrequest.IQRequestHandler.Mode
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.IQ.Type
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.Message.Type
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.Presence.Mode
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.Presence.Type
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.StreamError.Condition
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.StreamOpen.StreamContentNamespace
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.XMPPError.Condition
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.packet.XMPPError.Type
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.proxy.ProxyInfo.ProxyType
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.ReconnectionManager.ReconnectionPolicy
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.sasl.SASLError
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.XMPPConnection.FromMode
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jivesoftware.smack.compression.XMPPInputOutputStream.FlushMethod
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.ConnectionConfiguration.SecurityMode
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.iqrequest.IQRequestHandler.Mode
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.IQ.Type
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.Message.Type
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.Presence.Mode
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.Presence.Type
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.StreamError.Condition
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.StreamOpen.StreamContentNamespace
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.XMPPError.Condition
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.packet.XMPPError.Type
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.proxy.ProxyInfo.ProxyType
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.ReconnectionManager.ReconnectionPolicy
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Static method in enum org.jivesoftware.smack.sasl.SASLError
Returns an array containing the constants of this enum type, inthe order they are declared.
- values() - Method in class org.jivesoftware.smack.util.MultiMap
Returns a new list containing all values of this multi map.
- values() - Static method in enum org.jivesoftware.smack.XMPPConnection.FromMode
Returns an array containing the constants of this enum type, inthe order they are declared.
- VERSION - Static variable in class org.jivesoftware.smack.packet.StreamOpen
RFC 6120 § 4.7.5
- VmArgInitializer - Class in org.jivesoftware.smack.initializer
Looks for a provider file location based on the VM argument smack.provider.file.
- VmArgInitializer() - Constructor for class org.jivesoftware.smack.initializer.VmArgInitializer
-