A B C D E F G H I J K L M N O P Q R S T U V W X 

A

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
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.AndFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.FromMatchesFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.IQReplyFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.IQTypeFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.MessageTypeFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.NotFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.OrFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.PacketExtensionFilter
 
accept(Packet) - Method in interface org.jivesoftware.smack.filter.PacketFilter
Tests whether or not the specified packet should pass the filter.
accept(Packet) - Method in class org.jivesoftware.smack.filter.PacketIDFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.PacketTypeFilter
 
accept(Packet) - Method in class org.jivesoftware.smack.filter.ThreadFilter
 
AccountManager - Class in org.jivesoftware.smack
Allows creation and management of accounts on an XMPP server.
activate() - Method in class org.jivesoftware.smack.initializer.SmackAndOsgiInitializer
A simple wrapper around SmackInitializer.initialize() for OSGi, as the activate method of a component must have a void return type.
addBody(String, String) - Method in class org.jivesoftware.smack.packet.Message
Adds a body with a corresponding language.
addChatListener(ChatManagerListener) - Method in class org.jivesoftware.smack.ChatManager
Register a new listener with the ChatManager to recieve events related to chats.
addCommonAttributes(XmlStringBuilder) - Method in class org.jivesoftware.smack.packet.Packet
Add to, from and id attributes
addCompressionHandler(XMPPInputOutputStream) - Static method in class org.jivesoftware.smack.SmackConfiguration
 
addConnectionCreationListener(ConnectionCreationListener) - Static method in class org.jivesoftware.smack.XMPPConnection
Adds a new listener that will be notified when new Connections are created.
addConnectionListener(ConnectionListener) - Method in class org.jivesoftware.smack.XMPPConnection
Adds a connection listener to this connection that will be notified when the connection closes or fails.
addEntry(RosterPacket.Item, String) - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
addEntry(RosterEntry) - Method in class org.jivesoftware.smack.RosterGroup
Adds a roster entry to this group.
addEntry(RosterPacket.Item, String) - Method in interface org.jivesoftware.smack.RosterStore
This method stores a new roster entry in this store or updates an existing one.
addExtension(PacketExtension) - Method in class org.jivesoftware.smack.packet.Packet
Adds a packet extension to the packet.
addExtension(PacketExtension) - Method in class org.jivesoftware.smack.packet.XMPPError
Adds a packet extension to the error.
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<PacketExtension>) - Method in class org.jivesoftware.smack.packet.Packet
Adds a collection of packet extensions to the packet.
addFilter(PacketFilter) - Method in class org.jivesoftware.smack.filter.AndFilter
Adds a filter to the filter list for the AND operation.
addFilter(PacketFilter) - Method in class org.jivesoftware.smack.filter.OrFilter
Adds a filter to the filter list for the OR operation.
addGroupName(String) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Adds a group name.
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
 
addMessageListener(MessageListener) - Method in class org.jivesoftware.smack.Chat
Adds a packet listener that will be notified of any new messages in the chat.
addOutgoingMessageInterceptor(PacketInterceptor) - Method in class org.jivesoftware.smack.ChatManager
Adds an interceptor which intercepts any messages sent through chats.
addOutgoingMessageInterceptor(PacketInterceptor, PacketFilter) - Method in class org.jivesoftware.smack.ChatManager
 
addPacketInterceptor(PacketInterceptor, PacketFilter) - Method in class org.jivesoftware.smack.XMPPConnection
Registers a packet interceptor with this connection.
addPacketListener(PacketListener, PacketFilter) - Method in class org.jivesoftware.smack.XMPPConnection
Registers a packet listener with this connection.
addPacketSendingListener(PacketListener, PacketFilter) - Method in class org.jivesoftware.smack.XMPPConnection
Registers a 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.
addRosterItem(RosterPacket.Item) - Method in class org.jivesoftware.smack.packet.RosterPacket
Adds a roster item to the packet.
addRosterListener(RosterListener) - Method in class org.jivesoftware.smack.Roster
Adds a listener to this roster.
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.
addSubject(String, String) - Method in class org.jivesoftware.smack.packet.Message
Adds a subject with a corresponding language.
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.
ageList - Variable in class org.jivesoftware.smack.util.Cache
Linked list to maintain time that cache objects were initially added to the cache, most recently added to oldest added.
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 packet filters.
AndFilter() - Constructor for class org.jivesoftware.smack.filter.AndFilter
Creates an empty AND filter.
AndFilter(PacketFilter...) - 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(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
 
ArrayBlockingQueueWithShutdown<E> - Class in org.jivesoftware.smack.util
Like ArrayBlockingQueue but with additional ArrayBlockingQueueWithShutdown.shutdown() and ArrayBlockingQueueWithShutdown.start() methods.
ArrayBlockingQueueWithShutdown(int) - Constructor for class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
ArrayBlockingQueueWithShutdown(int, boolean) - Constructor for class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
asString(TimeZone) - Static method in class org.jivesoftware.smack.util.XmppDateTime
Converts a time zone to the String format as specified in XEP-0082
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
 
authenticate(String, String, CallbackHandler) - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
 
authenticate(String, String, String) - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
 
authenticate() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
 
authenticate(String, String, CallbackHandler) - Method in class org.jivesoftware.smack.sasl.SASLGSSAPIMechanism
Builds and sends the auth stanza to the server.
authenticate(String, String, String) - Method in class org.jivesoftware.smack.sasl.SASLGSSAPIMechanism
Builds and sends the auth stanza to the server.
authenticate(String, String, String, String) - 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.sasl.SASLMechanism
Builds and sends the auth stanza to the server.
authenticate() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
 
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) - Method in class org.jivesoftware.smack.AbstractConnectionListener
 
authenticated(XMPPConnection) - Method in interface org.jivesoftware.smack.ConnectionListener
TODO
authenticated() - Method in class org.jivesoftware.smack.SASLAuthentication
Notification message saying that SASL authentication was successful.
authenticated - Variable in class org.jivesoftware.smack.XMPPConnection
Flag that indicates if the user is currently authenticated with the server.
authenticationFailed(SASLMechanism.SASLFailure) - Method in class org.jivesoftware.smack.SASLAuthentication
Notification message saying that SASL authentication has failed.
authenticationId - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
 

B

bad_request - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
Base32Encoder - Class in org.jivesoftware.smack.util
Base32 string encoding is useful for when filenames case-insensitive filesystems are encoded.
Base64 - Class in org.jivesoftware.smack.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.jivesoftware.smack.util
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.jivesoftware.smack.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.jivesoftware.smack.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.jivesoftware.smack.util
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.jivesoftware.smack.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.jivesoftware.smack.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
Base64Encoder - Class in org.jivesoftware.smack.util
A Base 64 encoding implementation.
Base64FileUrlEncoder - Class in org.jivesoftware.smack.util
A Base 64 encoding implementation that generates filename and Url safe encodings.
Bind - Class in org.jivesoftware.smack.packet
IQ packet used by Smack to bind a resource and to obtain the jid assigned by the server.
Bind() - Constructor for class org.jivesoftware.smack.packet.Bind
 
bindResourceAndEstablishSession(String) - Method in class org.jivesoftware.smack.XMPPConnection
 

C

Cache<K,V> - Class in org.jivesoftware.smack.util
A specialized Map that is size-limited (using an LRU algorithm) and has an optional expiration time for cache items.
Cache(int, long) - Constructor for class org.jivesoftware.smack.util.Cache
Create a new cache and specify the maximum size of for the cache in bytes, and the maximum lifetime of objects.
cacheHits - Variable in class org.jivesoftware.smack.util.Cache
Maintain the number of cache hits and misses.
cacheMisses - Variable in class org.jivesoftware.smack.util.Cache
Maintain the number of cache hits and misses.
callConnectionAuthenticatedListener() - Method in class org.jivesoftware.smack.XMPPConnection
 
callConnectionClosedOnErrorListener(Exception) - Method in class org.jivesoftware.smack.XMPPConnection
 
callConnectionConnectedListener() - Method in class org.jivesoftware.smack.XMPPConnection
 
cancel() - Method in class org.jivesoftware.smack.PacketCollector
Explicitly cancels the packet collector so that no more results are queued up.
challengeReceived(String) - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
 
challengeReceived(String) - 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
The server is challenging the SASL authentication we just sent.
changePassword(String) - Method in class org.jivesoftware.smack.AccountManager
Changes the password of the currently logged-in account.
charAt(int) - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
charAt(int) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
 
charAt(int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
Chat - Class in org.jivesoftware.smack
A chat is a series of messages sent between two users.
chatCreated(Chat, boolean) - Method in interface org.jivesoftware.smack.ChatManagerListener
Event fired when a new chat is created.
ChatManager - Class in org.jivesoftware.smack
The chat manager keeps track of references to all current chats.
ChatManager.MatchMode - Enum in org.jivesoftware.smack
Defines the different modes under which a match will be attempted with an existing chat when the incoming message does not have a thread id.
ChatManagerListener - Interface in org.jivesoftware.smack
A listener for chat related events.
clear() - Method in class org.jivesoftware.smack.util.Cache
 
close() - Method in class org.jivesoftware.smack.Chat
Closes the Chat and removes all references to it from the ChatManager.
close() - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
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(PacketExtension) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
closeEmptyElement() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
collectors - Variable in class org.jivesoftware.smack.XMPPConnection
A collection of PacketCollectors which collects packets for a specified filter and perform blocking and polling operations on the result queue.
compareTo(SRVRecord) - Method in class org.jivesoftware.smack.util.dns.SRVRecord
 
compressionHandler - Variable in class org.jivesoftware.smack.XMPPConnection
 
compressionMethod - Variable in class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
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.XMPPConnection
Holds the initial configuration used while creating the connection.
conflict - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
connect() - Method in class org.jivesoftware.smack.XMPPConnection
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(XMPPConnection) - Method in interface org.jivesoftware.smack.ConnectionListener
TODO
connectInternal() - Method in class org.jivesoftware.smack.XMPPConnection
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
 
connectionClosed() - Method in class org.jivesoftware.smack.AbstractConnectionListener
 
connectionClosed() - Method in interface org.jivesoftware.smack.ConnectionListener
Notification that the connection was closed normally or that the reconnection process has been aborted.
connectionClosed() - Method in class org.jivesoftware.smack.ReconnectionManager
 
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.
connectionClosedOnError(Exception) - Method in class org.jivesoftware.smack.ReconnectionManager
 
ConnectionConfiguration - Class in org.jivesoftware.smack
Configuration to use while establishing the connection to the server.
ConnectionConfiguration(String) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration for the specified service name.
ConnectionConfiguration(String, ProxyInfo) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration for the specified service name with specified proxy.
ConnectionConfiguration(String, int, String) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration using the specified host, port and service name.
ConnectionConfiguration(String, int, String, ProxyInfo) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration using the specified host, port and service name.
ConnectionConfiguration(String, int) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration for a connection that will connect to the desired host and port.
ConnectionConfiguration(String, int, ProxyInfo) - Constructor for class org.jivesoftware.smack.ConnectionConfiguration
Creates a new ConnectionConfiguration for a connection that will connect to the desired host and port with desired proxy.
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.XMPPConnection
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.
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.XMPPConnection
A collection of ConnectionListeners which listen for connection closing and reconnection events.
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
 
contains(String) - Method in class org.jivesoftware.smack.Roster
Returns true if the specified XMPP address is an entry in the roster.
contains(RosterEntry) - Method in class org.jivesoftware.smack.RosterGroup
Returns true if the specified entry is part of this group.
contains(String) - Method in class org.jivesoftware.smack.RosterGroup
Returns true if the specified XMPP address is an entry in this group.
containsKey(Object) - Method in class org.jivesoftware.smack.util.Cache
 
containsValue(Object) - Method in class org.jivesoftware.smack.util.Cache
 
convertRfc822TimezoneToXep82(String) - Static method in class org.jivesoftware.smack.util.XmppDateTime
 
convertXep82TimezoneToRfc822(String) - Static method in class org.jivesoftware.smack.util.XmppDateTime
Converts a XEP-0082 date String's time zone definition into a RFC822 time zone definition.
create(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
createAccount(String, String) - Method in class org.jivesoftware.smack.AccountManager
Creates a new account using the specified username and password.
createAccount(String, String, Map<String, String>) - Method in class org.jivesoftware.smack.AccountManager
Creates a new account using the specified username, password and account attributes.
createBare(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
createChat(String, MessageListener) - Method in class org.jivesoftware.smack.ChatManager
Creates a new chat and returns it.
createChat(String, String, MessageListener) - Method in class org.jivesoftware.smack.ChatManager
Creates a new chat using the specified thread ID, then returns it.
createCollector() - Method in class org.jivesoftware.smack.Chat
Creates a PacketCollector which will accumulate the Messages for this chat.
createEntry(String, String, String[]) - Method in class org.jivesoftware.smack.Roster
Creates a new roster entry and presence subscription.
createErrorResponse(IQ, XMPPError) - Static method in class org.jivesoftware.smack.packet.IQ
Convenience method to create a new IQ.Type.ERROR IQ based on a IQ.Type.GET or IQ.Type.SET IQ.
createFull(String) - Static method in class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
createGroup(String) - Method in class org.jivesoftware.smack.Roster
Creates a new group.
createPacketCollector(PacketFilter) - Method in class org.jivesoftware.smack.XMPPConnection
Creates a new packet collector for this connection.
createPacketCollectorAndSend(IQ) - Method in class org.jivesoftware.smack.XMPPConnection
Creates a new packet collector collecting packets that are replies to packet.
createResultIQ(IQ) - Static method in class org.jivesoftware.smack.packet.IQ
Convenience method to create a new empty IQ.Type.RESULT IQ based on a IQ.Type.GET or IQ.Type.SET IQ.
createReturnExtension(String, String, Map<String, String>, List<? extends PacketExtension>) - 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
 
cullCache() - Method in class org.jivesoftware.smack.util.Cache
Removes the least recently used elements if the cache size is greater than or equal to the maximum allowed size until the cache is at least 10% empty.

D

DEBUG_ENABLED - Static variable in class org.jivesoftware.smack.SmackConfiguration
Value that indicates whether debugging is enabled.
debugger - Variable in class org.jivesoftware.smack.XMPPConnection
The SmackDebugger allows to log and debug XML traffic.
decode(String) - Method in class org.jivesoftware.smack.util.Base32Encoder
 
DECODE - Static variable in class org.jivesoftware.smack.util.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class org.jivesoftware.smack.util.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.jivesoftware.smack.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.jivesoftware.smack.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String) - Method in class org.jivesoftware.smack.util.Base64Encoder
 
decode(String) - Method in class org.jivesoftware.smack.util.Base64FileUrlEncoder
 
decode(String) - Method in interface org.jivesoftware.smack.util.StringEncoder
Decodes an string back to it's initial representation
decodeBase64(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Decodes a base64 String.
decodeFileToFile(String, String) - Static method in class org.jivesoftware.smack.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.jivesoftware.smack.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.jivesoftware.smack.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.jivesoftware.smack.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_LANGUAGE - Static variable in class org.jivesoftware.smack.packet.Packet
 
DefaultPacketExtension - Class in org.jivesoftware.smack.packet
Default implementation of the PacketExtension interface.
DefaultPacketExtension(String, String) - Constructor for class org.jivesoftware.smack.packet.DefaultPacketExtension
Creates a new generic packet extension.
deleteAccount() - Method in class org.jivesoftware.smack.AccountManager
Deletes the currently logged-in account from the server.
deleteExpiredEntries() - Method in class org.jivesoftware.smack.util.Cache
Clears all entries out of cache where the entries are older than the maximum defined age.
DirectoryRosterStore - Class in org.jivesoftware.smack
Stores roster entries as specified by RFC 6121 for roster versioning in a set of files.
disconnect() - Method in class org.jivesoftware.smack.XMPPConnection
Closes the connection by setting presence to unavailable then closing the connection to the XMPP server.
disconnect(Presence) - Method in class org.jivesoftware.smack.XMPPConnection
Closes the connection.
DNSResolver - Interface in org.jivesoftware.smack.util.dns
Implementations of this interface define a class that is capable of resolving DNS addresses.
DNSUtil - Class in org.jivesoftware.smack.util
Utility class to perform DNS lookups for XMPP services.
DNSUtil() - Constructor for class org.jivesoftware.smack.util.DNSUtil
 
DONT_BREAK_LINES - Static variable in class org.jivesoftware.smack.util.Base64
Don't break lines when encoding (violates strict Base64 specification)
drainTo(Collection<? super E>) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
drainTo(Collection<? super E>, int) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 

E

element(String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
Does nothing if content is null.
element(String, Enum<?>) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
EmbeddedExtensionProvider - Class in org.jivesoftware.smack.provider
This class simplifies parsing of embedded elements by using the Template Method Pattern.
EmbeddedExtensionProvider() - Constructor for class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
 
emptyElement(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
encode(String) - Method in class org.jivesoftware.smack.util.Base32Encoder
 
ENCODE - Static variable in class org.jivesoftware.smack.util.Base64
Specify encoding.
encode(String) - Method in class org.jivesoftware.smack.util.Base64Encoder
 
encode(String) - Method in class org.jivesoftware.smack.util.Base64FileUrlEncoder
 
encode(String) - Method in interface org.jivesoftware.smack.util.StringEncoder
Encodes an string to another representation
encodeBase64(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Encodes a String as a base64 String.
encodeBase64(byte[]) - Static method in class org.jivesoftware.smack.util.StringUtils
Encodes a byte array into a base64 String.
encodeBase64(byte[], boolean) - Static method in class org.jivesoftware.smack.util.StringUtils
Encodes a byte array into a bse64 String.
encodeBase64(byte[], int, int, boolean) - Static method in class org.jivesoftware.smack.util.StringUtils
Encodes a byte array into a bse64 String.
encodeBytes(byte[]) - Static method in class org.jivesoftware.smack.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.jivesoftware.smack.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.jivesoftware.smack.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.jivesoftware.smack.util.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class org.jivesoftware.smack.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.jivesoftware.smack.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeHex(byte[]) - Static method in class org.jivesoftware.smack.util.StringUtils
Encodes an array of bytes as String representation of hexadecimal.
encodeObject(Serializable) - Static method in class org.jivesoftware.smack.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.jivesoftware.smack.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.jivesoftware.smack.util.Base64
Convenience method for encoding data to a file.
entriesAdded(Collection<String>) - Method in interface org.jivesoftware.smack.RosterListener
Called when roster entries are added.
entriesDeleted(Collection<String>) - Method in interface org.jivesoftware.smack.RosterListener
Called when a roster entries are removed.
entriesUpdated(Collection<String>) - Method in interface org.jivesoftware.smack.RosterListener
Called when a roster entries are updated.
entrySet() - Method in class org.jivesoftware.smack.util.Cache
 
equals(Object) - Method in class org.jivesoftware.smack.Chat
 
equals(Object) - Method in class org.jivesoftware.smack.packet.Message.Body
 
equals(Object) - Method in class org.jivesoftware.smack.packet.Message
 
equals(Object) - Method in class org.jivesoftware.smack.packet.Message.Subject
 
equals(Object) - Method in class org.jivesoftware.smack.packet.Packet
 
equals(Object) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
 
equals(Object) - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
equals(CharSequence) - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
equals(Object) - Method in class org.jivesoftware.smack.RosterEntry
 
equals(Object) - Method in class org.jivesoftware.smack.util.dns.HostAddress
 
equals(Object) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
equals(Object) - Method in class org.jivesoftware.smack.XMPPConnection.InterceptorWrapper
 
equalsDeep(Object) - Method in class org.jivesoftware.smack.RosterEntry
Indicates whether some other object is "equal to" this by comparing all members.
ERROR - Static variable in class org.jivesoftware.smack.packet.IQ.Type
 
escape(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
escapeForXML(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Escapes all necessary characters in the String so that it can be used in an XML doc.
escapeNode(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Escapes the node portion of a JID according to "JID Escaping" (JEP-0106).
ExceptionLoggingCallback - Class in org.jivesoftware.smack.parsing
Simple parsing exception callback that only logs the encountered parsing exception to java util logging.
ExceptionLoggingCallback() - Constructor for class org.jivesoftware.smack.parsing.ExceptionLoggingCallback
 
ExceptionThrowingCallback - Class in org.jivesoftware.smack.parsing
Parsing exception callback class that simply throws the encountered parsing exception.
ExceptionThrowingCallback() - Constructor for class org.jivesoftware.smack.parsing.ExceptionThrowingCallback
 
ExtensionProviderInfo - Class in org.jivesoftware.smack.provider
Defines the information required to register a packet extension Provider with the ProviderManager when using the ProviderLoader.
ExtensionProviderInfo(String, String, PacketExtensionProvider) - Constructor for class org.jivesoftware.smack.provider.ExtensionProviderInfo
Defines an extension provider which implements the PacketExtensionProvider interface.
ExtensionProviderInfo(String, String, Class<?>) - Constructor for class org.jivesoftware.smack.provider.ExtensionProviderInfo
Defines an extension provider which is adheres to the JavaBean spec for parsing the extension.

F

feature_not_implemented - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
FileUtils - Class in org.jivesoftware.smack.util
 
FileUtils() - Constructor for class org.jivesoftware.smack.util.FileUtils
 
finalize() - Method in class org.jivesoftware.smack.XMPPConnection
 
flush() - Method in class org.jivesoftware.smack.util.ObservableWriter
 
flushBase64() - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Method added by PHIL.
flushMethod - Static variable in class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
forbidden - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
forDefaultProxy() - Static method in class org.jivesoftware.smack.proxy.ProxyInfo
 
forHttpProxy(String, int, String, String) - Static method in class org.jivesoftware.smack.proxy.ProxyInfo
 
format(Date) - Method in enum org.jivesoftware.smack.util.XmppDateTime.DateFormatType
 
formatXEP0082Date(Date) - Static method in class org.jivesoftware.smack.util.XmppDateTime
Formats a Date into a XEP-0082 - XMPP Date and Time Profiles string.
forNoProxy() - Static method in class org.jivesoftware.smack.proxy.ProxyInfo
 
forSocks4Proxy(String, int, String, String) - Static method in class org.jivesoftware.smack.proxy.ProxyInfo
 
forSocks5Proxy(String, int, String, String) - Static method in class org.jivesoftware.smack.proxy.ProxyInfo
 
FromMatchesFilter - Class in org.jivesoftware.smack.filter
Filter for packets where the "from" field exactly matches a specified JID.
FromMatchesFilter(String, boolean) - Constructor for class org.jivesoftware.smack.filter.FromMatchesFilter
Creates a filter matching on the "from" field.
fromString(String) - Static method in class org.jivesoftware.smack.packet.IQ.Type
Converts a String into the corresponding types.
fromString(String) - Static method in enum org.jivesoftware.smack.packet.Message.Type
 
fromString(String) - Static method in enum org.jivesoftware.smack.packet.RosterPacket.ItemStatus
 
fromString(String) - Static method in enum org.jivesoftware.smack.sasl.SASLError
 

G

GET - Static variable in class org.jivesoftware.smack.packet.IQ.Type
 
get(Object) - Method in class org.jivesoftware.smack.util.Cache
 
getAccountAttribute(String) - Method in class org.jivesoftware.smack.AccountManager
Returns the value of a given account attribute or null if the account attribute wasn't found.
getAccountAttributes() - Method in class org.jivesoftware.smack.AccountManager
Returns an unmodifiable collection of the names of the required account attributes.
getAccountInstructions() - Method in class org.jivesoftware.smack.AccountManager
Returns the instructions for creating a new account, or null if there are no instructions.
getAttributes() - Method in class org.jivesoftware.smack.packet.Registration
Returns the map of String key/value pairs of account attributes.
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.
getCacheHits() - Method in class org.jivesoftware.smack.util.Cache
 
getCacheMisses() - Method in class org.jivesoftware.smack.util.Cache
 
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.
getChatListeners() - Method in class org.jivesoftware.smack.ChatManager
Returns an unmodifiable collection of all chat listeners currently registered with this manager.
getChildElementXML() - Method in class org.jivesoftware.smack.packet.Bind
 
getChildElementXML() - Method in class org.jivesoftware.smack.packet.IQ
Returns the sub-element XML section of the IQ packet, or null if there isn't one.
getChildElementXML() - Method in class org.jivesoftware.smack.packet.Registration
 
getChildElementXML() - Method in class org.jivesoftware.smack.packet.RosterPacket
 
getChildElementXML() - Method in class org.jivesoftware.smack.packet.Session
 
getChildElementXML() - Method in class org.jivesoftware.smack.util.PacketParserUtils.UnparsedResultIQ
 
getClassLoaders() - Static method in class org.jivesoftware.smack.util.FileUtils
Returns default classloaders.
getCode() - Method in class org.jivesoftware.smack.packet.StreamError
Returns the error code.
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.XMPPError
Returns the error condition.
getConfiguration() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the configuration used to connect to the server.
getConfigUrl() - Method in class org.jivesoftware.smack.initializer.UrlInitializer
 
getConnectionCounter() - Method in class org.jivesoftware.smack.XMPPConnection
Get the connection counter of this XMPPConnection instance.
getConnectionCreationListeners() - Static method in class org.jivesoftware.smack.XMPPConnection
Get the collection of listeners that are interested in connection creation events.
getConnectionID() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the connection ID for this connection, which is the value set by the server when opening a XMPP stream.
getConnectionListeners() - Method in class org.jivesoftware.smack.XMPPConnection
Get the collection of listeners that are interested in connection events.
getContent() - Method in class org.jivesoftware.smack.parsing.UnparsablePacket
Retrieve the raw stanza data
getCustomSSLContext() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Gets the custom SSLContext previously set with ConnectionConfiguration.setCustomSSLContext(SSLContext) for SSL sockets.
getDefaultLanguage() - Static method in class org.jivesoftware.smack.packet.Packet
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
getDefaultSubscriptionMode() - Static method in class org.jivesoftware.smack.Roster
Returns the default subscription processing mode to use when a new Roster is created.
getDNSResolver() - Static method in class org.jivesoftware.smack.util.DNSUtil
Returns the current DNS resolved used to perform DNS lookups.
getElementName() - Method in class org.jivesoftware.smack.packet.DefaultPacketExtension
Returns the XML element name of the extension sub-packet root element.
getElementName() - Method in interface org.jivesoftware.smack.packet.PacketExtension
Returns the root element name.
getEntries() - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
getEntries() - Method in class org.jivesoftware.smack.Roster
Returns an unmodifiable collection of all entries in the roster, including entries that don't belong to any groups.
getEntries() - Method in class org.jivesoftware.smack.RosterGroup
Returns an unmodifiable collection of all entries in the group.
getEntries() - Method in interface org.jivesoftware.smack.RosterStore
This method returns a collection of all roster items contained in this store.
getEntry(String) - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
getEntry(String) - Method in class org.jivesoftware.smack.Roster
Returns the roster entry associated with the given XMPP address or null if the user is not an entry in the roster.
getEntry(String) - Method in class org.jivesoftware.smack.RosterGroup
Returns the roster entry associated with the given XMPP address or null if the user is not an entry in the group.
getEntry(String) - Method in interface org.jivesoftware.smack.RosterStore
This method returns the roster item in this store for the given JID.
getEntryCount() - Method in class org.jivesoftware.smack.Roster
Returns a count of the entries in the roster.
getEntryCount() - Method in class org.jivesoftware.smack.RosterGroup
Returns the number of entries in the group.
getError() - Method in class org.jivesoftware.smack.packet.Packet
Returns the error associated with this packet, or null if there are no errors.
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) - Method in class org.jivesoftware.smack.packet.Packet
Returns the first extension of this packet that has the given namespace.
getExtension(String, String) - Method in class org.jivesoftware.smack.packet.Packet
Returns the first packet extension that matches the specified element name and namespace, or null if it doesn't exist.
getExtension(String, String) - Method in class org.jivesoftware.smack.packet.XMPPError
Returns the first packet 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 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 class org.jivesoftware.smack.packet.Packet
Returns an unmodifiable collection of the packet extensions attached to the packet.
getExtensions() - Method in class org.jivesoftware.smack.packet.XMPPError
Returns a List of the error extensions attached to the xmppError.
getExtensionsXML() - Method in class org.jivesoftware.smack.packet.Packet
Returns the extension sub-packets (including properties data) as an XML String, or the Empty String if there are no packet extensions.
getFailedAddresses() - Method in exception org.jivesoftware.smack.SmackException.ConnectionException
 
getFeature() - Method in exception org.jivesoftware.smack.SmackException.FeatureNotSupportedException
Get the feature which is not supported.
getFilePath() - Method in class org.jivesoftware.smack.initializer.VmArgInitializer
 
getFQDN() - Method in class org.jivesoftware.smack.util.dns.HostAddress
 
getFrom() - Method in class org.jivesoftware.smack.packet.Packet
Returns who the packet is being sent "from" or null if the value is not set.
getFromMode() - Method in class org.jivesoftware.smack.XMPPConnection
Get the currently active FromMode.
getGroup(String) - Method in class org.jivesoftware.smack.Roster
Returns the roster group with the specified name, or null if the group doesn't exist.
getGroupCount() - Method in class org.jivesoftware.smack.Roster
Returns the number of the groups in the roster.
getGroupNames() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Returns an unmodifiable set of the group names that the roster item belongs to.
getGroups() - Method in class org.jivesoftware.smack.Roster
Returns an unmodifiable collections of all the roster groups.
getGroups() - Method in class org.jivesoftware.smack.RosterEntry
Returns an unmodifiable collection of the roster groups that this entry belongs to.
getHost() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the host name of the server where the XMPP server is running.
getHostAddresses() - Method in class org.jivesoftware.smack.ConnectionConfiguration
 
getHostnameVerifier() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the configured HostnameVerifier of this ConnectionConfiguration or the Smack default HostnameVerifier configured with SmackConfiguration.setDefaultHostnameVerifier(HostnameVerifier).
getInputStream(InputStream) - Method in class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
 
getInputStream(InputStream) - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
getInstance(XMPPConnection) - Static method in class org.jivesoftware.smack.AccountManager
Returns the AccountManager instance associated with a given XMPPConnection.
getInstance() - Static method in class org.jivesoftware.smack.util.Base32Encoder
 
getInstance() - Static method in class org.jivesoftware.smack.util.Base64Encoder
 
getInstance() - Static method in class org.jivesoftware.smack.util.Base64FileUrlEncoder
 
getInstanceFor(XMPPConnection) - Static method in class org.jivesoftware.smack.ChatManager
Returns the ChatManager instance associated with a given XMPPConnection.
getInstructions() - Method in class org.jivesoftware.smack.packet.Registration
Returns the registration instructions, or null if no instructions have been set.
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.
getItemStatus() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Returns the roster item status.
getItemType() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Returns the roster item type.
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
Returns the xml:lang of this Message.
getLanguage() - Method in class org.jivesoftware.smack.packet.Message.Subject
Returns the language of this message subject.
getLanguage() - Method in class org.jivesoftware.smack.packet.Presence
Returns the xml:lang of this Presence, or null if one has not been set.
getListeners() - Method in class org.jivesoftware.smack.Chat
Returns an unmodifiable collection of all of the listeners registered with this chat.
getLoadingExceptions() - Method in class org.jivesoftware.smack.provider.ProviderFileLoader
 
getMatchMode() - Method in class org.jivesoftware.smack.ChatManager
Gets the current mode for matching messages with NO thread id to existing chats.
getMaxCacheSize() - Method in class org.jivesoftware.smack.util.Cache
 
getMaxLifetime() - Method in class org.jivesoftware.smack.util.Cache
 
getMechanism() - Method in exception org.jivesoftware.smack.sasl.SASLErrorException
 
getMessage() - Method in class org.jivesoftware.smack.packet.Message.Body
Returns the message content.
getMessage() - Method in class org.jivesoftware.smack.packet.XMPPError
Returns the message describing the error, or null if there is no message.
getMessage() - Method in exception org.jivesoftware.smack.XMPPException.StreamErrorException
 
getMessage() - Method in exception org.jivesoftware.smack.XMPPException.XMPPErrorException
 
getMode() - Method in class org.jivesoftware.smack.packet.Presence
Returns the mode of the presence update, or null if the mode is not set.
getName() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Returns the user's name.
getName() - Method in class org.jivesoftware.smack.RosterEntry
Returns the name associated with this entry.
getName() - Method in class org.jivesoftware.smack.RosterGroup
Returns the name of the group.
getName() - Method in class org.jivesoftware.smack.sasl.SASLAnonymous
 
getName() - Method in class org.jivesoftware.smack.sasl.SASLCramMD5Mechanism
 
getName() - Method in class org.jivesoftware.smack.sasl.SASLDigestMD5Mechanism
 
getName() - Method in class org.jivesoftware.smack.sasl.SASLExternalMechanism
 
getName() - Method in class org.jivesoftware.smack.sasl.SASLGSSAPIMechanism
 
getName() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
Returns the common name of the SASL mechanism.
getName() - Method in class org.jivesoftware.smack.sasl.SASLPlainMechanism
 
getNames() - Method in class org.jivesoftware.smack.packet.DefaultPacketExtension
Returns an unmodifiable collection of the names that can be used to get values of the packet extension.
getNamespace() - Method in class org.jivesoftware.smack.packet.DefaultPacketExtension
Returns the XML namespace of the extension sub-packet root element.
getNamespace() - Method in interface org.jivesoftware.smack.packet.PacketExtension
Returns the root element XML namespace.
getOutputStream(OutputStream) - Method in class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
 
getOutputStream(OutputStream) - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
getPacketCollectors() - Method in class org.jivesoftware.smack.XMPPConnection
Get the collection of all packet collectors for this connection.
getPacketCollectorSize() - Static method in class org.jivesoftware.smack.SmackConfiguration
Gets the default max size of a packet collector before it will delete the older packets.
getPacketFilter() - Method in class org.jivesoftware.smack.PacketCollector
Returns the packet filter associated with this packet collector.
getPacketID() - Method in class org.jivesoftware.smack.packet.Packet
Returns the unique ID of the packet.
getPacketInterceptors() - Method in class org.jivesoftware.smack.XMPPConnection
Get a map of all packet interceptors for sending packets of this connection.
getPacketListeners() - Method in class org.jivesoftware.smack.XMPPConnection
Get a map of all packet listeners for received packets of this connection.
getPacketReplyTimeout() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the current value of the reply timeout in milliseconds for request for this XMPPConnection instance.
getPacketSendingListeners() - Method in class org.jivesoftware.smack.XMPPConnection
Get a map of all packet listeners for sending packets of this connection.
getParsingException() - Method in class org.jivesoftware.smack.parsing.UnparsablePacket
 
getParticipant() - Method in class org.jivesoftware.smack.Chat
Returns the name of the user the chat is with.
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.util.dns.HostAddress
 
getPort() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the port number of the XMPP server for this connection.
getPresence(String) - Method in class org.jivesoftware.smack.Roster
Returns the presence info for a particular user.
getPresenceResource(String) - Method in class org.jivesoftware.smack.Roster
Returns the presence info for a particular user's resource, or unavailable presence if the user is offline or if no presence information is available, such as when you are not subscribed to the user's presence updates.
getPresences(String) - Method in class org.jivesoftware.smack.Roster
Returns a List of Presence objects for all of a user's current presences or an unavailable presence if the user is unavailable (offline) or if no presence information is available, such as when you are not subscribed to the user's presence updates.
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.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.ConsoleDebugger
 
getReader() - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
getReader() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the special Reader that wraps the main Reader and logs data to the GUI.
getReader() - Method in class org.jivesoftware.smack.XMPPConnection
 
getReaderListener() - Method in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
getReaderListener() - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
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.
getRegisterSASLMechanisms() - Static method in class org.jivesoftware.smack.SASLAuthentication
Returns the registerd SASLMechanism classes 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
 
getRoster() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the roster for the user.
getRosterItemCount() - Method in class org.jivesoftware.smack.packet.RosterPacket
Returns the number of roster items in this roster packet.
getRosterItems() - Method in class org.jivesoftware.smack.packet.RosterPacket
Returns an unmodifiable collection for the roster items in the packet.
getRosterStore() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Get the permanent roster store
getRosterVersion() - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
getRosterVersion() - Method in interface org.jivesoftware.smack.RosterStore
This method returns the version number as specified by the "ver" attribute of the local store.
getSASLAuthentication() - Method in class org.jivesoftware.smack.sasl.SASLMechanism
 
getSASLAuthentication() - Method in class org.jivesoftware.smack.XMPPConnection
Returns the SASLAuthentication manager that is responsible for authenticating with the server.
getSASLError() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.SASLFailure
Get the SASL related error condition.
getSASLErrorString() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.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.
getServiceCapsNode() - Method in class org.jivesoftware.smack.XMPPConnection
Retrieve the servers Entity Caps node XMPPConnection holds this information in order to avoid a dependency to smackx where EntityCapsManager lives from smack.
getServiceName() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns the server name of the target server.
getServiceName() - Method in class 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
 
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.
getStatus() - Method in class org.jivesoftware.smack.RosterEntry
Returns the roster subscription status of the entry.
getStreamError() - Method in exception org.jivesoftware.smack.XMPPException.StreamErrorException
Returns the StreamError associated with this exception.
getStreamForUrl(String, ClassLoader) - Static method in class org.jivesoftware.smack.util.FileUtils
 
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().
getSubscriptionMode() - Method in class org.jivesoftware.smack.Roster
Returns the subscription processing mode, which dictates what action Smack will take when subscription requests from other users are made.
getText() - Method in class org.jivesoftware.smack.packet.StreamError
Returns the error text, which may be null.
getTexts() - Method in exception org.jivesoftware.smack.sasl.SASLErrorException
 
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.
getThreadChat(String) - Method in class org.jivesoftware.smack.ChatManager
 
getThreadID() - Method in class org.jivesoftware.smack.Chat
Returns the thread id associated with this chat, which corresponds to the thread field of XMPP messages.
getTo() - Method in class org.jivesoftware.smack.packet.Packet
Returns who the packet is being sent "to", or null if the value is not set.
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.
getType() - Method in class org.jivesoftware.smack.RosterEntry
Returns the roster subscription type of the entry.
getUnfiledEntries() - Method in class org.jivesoftware.smack.Roster
Returns an unmodifiable collection for the unfiled roster entries.
getUnfiledEntryCount() - Method in class org.jivesoftware.smack.Roster
Returns a count of the unfiled entries in the roster.
getUser() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Returns the user.
getUser() - Method in class org.jivesoftware.smack.RosterEntry
Returns the JID of the user associated with this entry.
getUser() - Method in class 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.DefaultPacketExtension
Returns a packet extension value given a name.
getVersion() - Method in class org.jivesoftware.smack.packet.RosterPacket
 
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.ConsoleDebugger
 
getWriter() - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
getWriter() - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns the special Writer that wraps the main Writer and logs data to the GUI.
getWriter() - Method in class org.jivesoftware.smack.XMPPConnection
 
getWriterListener() - Method in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
getWriterListener() - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
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.
getXmlns() - Method in class org.jivesoftware.smack.packet.Packet
 
getXMPPError() - Method in exception org.jivesoftware.smack.XMPPException.XMPPErrorException
Returns the XMPPError associated with this exception, or null if there isn't one.
gone - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
GT_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
 
GZIP - Static variable in class org.jivesoftware.smack.util.Base64
Specify that data should be gzip-compressed.

H

halfOpenElement(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
handle(Callback[]) - Method in class org.jivesoftware.smack.sasl.SASLMechanism
 
handleUnparsablePacket(UnparsablePacket) - Method in class org.jivesoftware.smack.parsing.ExceptionLoggingCallback
 
handleUnparsablePacket(UnparsablePacket) - Method in class org.jivesoftware.smack.parsing.ExceptionThrowingCallback
 
handleUnparsablePacket(UnparsablePacket) - Method in class org.jivesoftware.smack.parsing.ParsingExceptionCallback
Called when parsing an message stanza caused an exception.
hasAnonymousAuthentication() - Method in class org.jivesoftware.smack.SASLAuthentication
Returns true if the server offered ANONYMOUS SASL as a way to authenticate users.
hash(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Hashes a String using the SHA-1 algorithm and returns the result as a String of hexadecimal numbers.
hashCode() - Method in class org.jivesoftware.smack.Chat
 
hashCode() - Method in class org.jivesoftware.smack.packet.Message.Body
 
hashCode() - Method in class org.jivesoftware.smack.packet.Message
 
hashCode() - Method in class org.jivesoftware.smack.packet.Message.Subject
 
hashCode() - Method in class org.jivesoftware.smack.packet.Packet
 
hashCode() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
 
hashCode() - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
hashCode() - Method in class org.jivesoftware.smack.RosterEntry
 
hashCode() - Method in class org.jivesoftware.smack.util.dns.HostAddress
 
hashCode() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
hasNonAnonymousAuthentication() - Method in class org.jivesoftware.smack.SASLAuthentication
Returns true if the server offered SASL authentication besides ANONYMOUS SASL.
HostAddress - Class in org.jivesoftware.smack.util.dns
 
HostAddress(String) - Constructor for class org.jivesoftware.smack.util.dns.HostAddress
Creates a new HostAddress with the given FQDN.
HostAddress(String, int) - Constructor for class org.jivesoftware.smack.util.dns.HostAddress
Creates a new HostAddress with the given FQDN.
hostAddresses - Variable in class org.jivesoftware.smack.ConnectionConfiguration
 
hostname - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
 

I

ID_NOT_AVAILABLE - Static variable in class org.jivesoftware.smack.packet.Packet
Constant used as packetID to indicate that a packet has no id.
init(String, ProxyInfo) - Method in class org.jivesoftware.smack.ConnectionConfiguration
 
init(File) - Static method in class org.jivesoftware.smack.DirectoryRosterStore
Creates a new roster store on disk
init() - Method in class org.jivesoftware.smack.SASLAuthentication
Initializes the internal state in order to be able to be reused.
init() - Static method in class org.jivesoftware.smack.util.DNSUtil
Initializes DNSUtil.
initDebugger() - Method in class org.jivesoftware.smack.XMPPConnection
Initialize the XMPPConnection.debugger.
initialize() - Method in interface org.jivesoftware.smack.initializer.SmackInitializer
 
initialize(ClassLoader) - Method in interface org.jivesoftware.smack.initializer.SmackInitializer
 
initialize() - Method in class org.jivesoftware.smack.initializer.UrlInitializer
 
initialize(ClassLoader) - Method in class org.jivesoftware.smack.initializer.UrlInitializer
 
initialize() - Method in class org.jivesoftware.smack.initializer.VmArgInitializer
 
interceptors - Variable in class org.jivesoftware.smack.XMPPConnection
List of PacketInterceptors that will be notified when a new packet is about to be sent to the server.
interceptPacket(Packet) - Method in interface org.jivesoftware.smack.PacketInterceptor
Process the packet that is about to be sent to the server.
internal_server_error - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
IQ - Class in org.jivesoftware.smack.packet
The base IQ (Info/Query) packet.
IQ() - Constructor for class org.jivesoftware.smack.packet.IQ
 
IQ(IQ) - Constructor for class org.jivesoftware.smack.packet.IQ
 
IQ.Type - Class in org.jivesoftware.smack.packet
A class to represent the type of the IQ packet.
IQProvider - Interface in org.jivesoftware.smack.provider
An interface for parsing custom IQ packets.
IQProviderInfo - Class in org.jivesoftware.smack.provider
Defines the information required to register an IQ Provider with the ProviderManager when using the ProviderLoader.
IQProviderInfo(String, String, IQProvider) - Constructor for class org.jivesoftware.smack.provider.IQProviderInfo
Defines an IQ provider which implements the IQProvider interface.
IQProviderInfo(String, String, Class<? extends IQ>) - Constructor for class org.jivesoftware.smack.provider.IQProviderInfo
Defines an IQ class which can be used as a provider via introspection.
IQReplyFilter - Class in org.jivesoftware.smack.filter
Filters for packets which are a valid reply to an IQ request.
IQReplyFilter(IQ, XMPPConnection) - Constructor for class org.jivesoftware.smack.filter.IQReplyFilter
Filters for packets which are a valid reply to an IQ request.
IQTypeFilter - Class in org.jivesoftware.smack.filter
A filter for IQ packet types.
IQTypeFilter(IQ.Type) - Constructor for class org.jivesoftware.smack.filter.IQTypeFilter
 
isAnonymous() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if currently authenticated anonymously.
isAuthenticated() - Method in class org.jivesoftware.smack.SASLAuthentication
Returns true if the user was able to authenticate with the server usins SASL.
isAuthenticated() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if currently authenticated by successfully calling the login method.
isAvailable() - Method in class org.jivesoftware.smack.packet.Presence
Returns true if the presence type is available (online) and false if the user is unavailable (offline), or if this is a presence packet involved in a subscription operation.
isAway() - Method in class org.jivesoftware.smack.packet.Presence
Returns true if the presence type is available and the presence mode is away, extended away, or do not disturb.
isCompressionEnabled() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns true if the connection is going to use stream compression.
isConnected() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if currently connected to the XMPP server.
isDebuggerEnabled() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns true if the new connection about to be establish is going to be debugged.
isEmpty() - Method in class org.jivesoftware.smack.util.Cache
 
isEmpty(CharSequence) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns true if the given CharSequence is empty
isFullJID(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns true if jid is a full JID (i.e.
isLegacySessionDisabled() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns true if a Session will be requested on login if the server supports it.
isNormalIncluded() - Method in class org.jivesoftware.smack.ChatManager
Determines whether incoming messages of type normal will be used for creating new chats or matching a message to existing ones.
isNotEmpty(CharSequence) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns true if CharSequence is not null and is not empty, false otherwise Examples: isNotEmpty(null) - false isNotEmpty("") - false isNotEmpty(" ") - true isNotEmpty("empty") - true
isNullOrEmpty(CharSequence) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns true if the given CharSequence is null or empty.
isReconnectionAllowed() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns if the reconnection mechanism is allowed to be used.
isRosterLoadedAtLogin() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns true if the roster will be loaded from the server when logging in.
isRosterVersioningSupported() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if the server supports roster versioning as defined in XEP-0237.
isSecureConnection() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if the connection to the server has successfully negotiated encryption.
isSendPresence() - Method in class org.jivesoftware.smack.ConnectionConfiguration
Returns true if an available presence should be sent when logging in while reconnecting.
isShutdown() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
Returns true if the queue is currently shut down.
isSupported() - Method in class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
 
isSupported() - Method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
isUsingCompression() - Method in class org.jivesoftware.smack.XMPPConnection
Returns true if network traffic is being compressed.
item_not_found - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
iterator() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 

J

Java7ZlibInputOutputStream - Class in org.jivesoftware.smack.compression
This class provides XMPP "zlib" compression with the help of the Deflater class of the Java API.
Java7ZlibInputOutputStream() - Constructor for class org.jivesoftware.smack.compression.Java7ZlibInputOutputStream
 
jid_malformed - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 

K

keySet() - Method in class org.jivesoftware.smack.util.Cache
 

L

lastAccessedList - Variable in class org.jivesoftware.smack.util.Cache
Linked list to maintain order that cache objects are accessed in, most used to least used.
LazyStringBuilder - Class in org.jivesoftware.smack.util
 
LazyStringBuilder() - Constructor for class org.jivesoftware.smack.util.LazyStringBuilder
 
length() - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
length() - Method in class org.jivesoftware.smack.util.LazyStringBuilder
 
length() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
LiteDebugger - Class in org.jivesoftware.smack.debugger
The LiteDebugger is a very simple debugger that allows to debug sent, received and interpreted messages.
LiteDebugger(XMPPConnection, Writer, Reader) - Constructor for class org.jivesoftware.smack.debugger.LiteDebugger
 
login(String, String) - Method in class org.jivesoftware.smack.XMPPConnection
Logs in to the server using the strongest authentication mode supported by the server, then sets presence to available.
login(String, String, String) - Method in class org.jivesoftware.smack.XMPPConnection
Logs in to the server using the strongest authentication mode supported by the server, then sets presence to available.
loginAnonymously() - Method in class org.jivesoftware.smack.XMPPConnection
Logs in to the server anonymously.
lookupSRVRecords(String) - Method in interface org.jivesoftware.smack.util.dns.DNSResolver
Gets a list of service records for the specified service.
LT_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
 

M

Manager - Class in org.jivesoftware.smack
 
Manager(XMPPConnection) - Constructor for class org.jivesoftware.smack.Manager
 
map - Variable in class org.jivesoftware.smack.util.Cache
The map the keys and values are stored in.
mark(int) - Method in class org.jivesoftware.smack.util.ObservableReader
 
markSupported() - Method in class org.jivesoftware.smack.util.ObservableReader
 
maxCacheSize - Variable in class org.jivesoftware.smack.util.Cache
Maximum number of items the cache will hold.
maxLifetime - Variable in class org.jivesoftware.smack.util.Cache
Maximum length of time objects can exist in cache before expiring.
maybeResolveDns() - Method in class org.jivesoftware.smack.XMPPConnection
 
MESSAGE - Static variable in class org.jivesoftware.smack.filter.PacketTypeFilter
 
Message - Class in org.jivesoftware.smack.packet
Represents XMPP message packets.
Message() - Constructor for class org.jivesoftware.smack.packet.Message
Creates a new, "normal" message.
Message(String) - Constructor for class org.jivesoftware.smack.packet.Message
Creates a new "normal" message to the specified recipient.
Message(String, Message.Type) - Constructor for class org.jivesoftware.smack.packet.Message
Creates a new message of the specified type to a recipient.
Message.Body - Class in org.jivesoftware.smack.packet
Represents a message body, its language and the content of the message.
Message.Subject - Class in org.jivesoftware.smack.packet
Represents a message subject, its language and the content of the subject.
Message.Type - Enum in org.jivesoftware.smack.packet
Represents the type of a message.
MessageListener - Interface in org.jivesoftware.smack
 
MessageTypeFilter - Class in org.jivesoftware.smack.filter
Filters for packets of a specific type of Message (e.g.
MessageTypeFilter(Message.Type) - Constructor for class org.jivesoftware.smack.filter.MessageTypeFilter
Creates a new message type filter using the specified message type.

N

NAMESPACE - Static variable in class org.jivesoftware.smack.packet.StreamError
 
newConnectionReader(Reader) - Method in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
newConnectionReader(Reader) - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
newConnectionReader(Reader) - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns a new special Reader that wraps the new connection Reader.
newConnectionWriter(Writer) - Method in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
newConnectionWriter(Writer) - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
newConnectionWriter(Writer) - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Returns a new special Writer that wraps the new connection Writer.
newXmppParser() - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Creates a new XmlPullParser suitable for parsing XMPP.
nextID() - Static method in class org.jivesoftware.smack.packet.Packet
Returns the next unique id.
nextResult() - Method in class org.jivesoftware.smack.PacketCollector
Returns the next available packet.
nextResult(long) - Method in class org.jivesoftware.smack.PacketCollector
Returns the next available packet.
nextResultBlockForever() - Method in class org.jivesoftware.smack.PacketCollector
Returns the next available packet.
nextResultOrThrow() - Method in class org.jivesoftware.smack.PacketCollector
Returns the next available packet.
nextResultOrThrow(long) - Method in class org.jivesoftware.smack.PacketCollector
Returns the next available packet.
NO_OPTIONS - Static variable in class org.jivesoftware.smack.util.Base64
No options specified.
not_acceptable - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
not_allowed - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
not_authorized - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
NotFilter - Class in org.jivesoftware.smack.filter
Implements the logical NOT operation on a packet filter.
NotFilter(PacketFilter) - Constructor for class org.jivesoftware.smack.filter.NotFilter
Creates a NOT filter using the specified filter.
notifyAttemptToReconnectIn(int) - Method in class org.jivesoftware.smack.ReconnectionManager
Fires listeners when The XMPPConnection will retry a reconnection.
notifyListener(Packet) - Method in class org.jivesoftware.smack.XMPPConnection.InterceptorWrapper
Notify and process the packet interceptor if the filter matches the packet.
notifyListener(Packet) - Method in class org.jivesoftware.smack.XMPPConnection.ListenerWrapper
Notify and process the packet listener if the filter matches the packet.
notifyReconnectionFailed(Exception) - Method in class org.jivesoftware.smack.ReconnectionManager
Fires listeners when a reconnection attempt has failed.
nullSafeCharSequenceComperator(CharSequence, CharSequence) - Static method in class org.jivesoftware.smack.util.StringUtils
 
nullSafeCharSequenceEquals(CharSequence, CharSequence) - Static method in class org.jivesoftware.smack.util.StringUtils
 

O

ObservableReader - Class in org.jivesoftware.smack.util
An ObservableReader is a wrapper on a Reader that notifies to its listeners when reading character streams.
ObservableReader(Reader) - Constructor for class org.jivesoftware.smack.util.ObservableReader
 
ObservableWriter - Class in org.jivesoftware.smack.util
An ObservableWriter is a wrapper on a Writer that notifies to its listeners when writing to character streams.
ObservableWriter(Writer) - Constructor for class org.jivesoftware.smack.util.ObservableWriter
 
offer(E) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
offer(E, long, TimeUnit) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
open(File) - Static method in class org.jivesoftware.smack.DirectoryRosterStore
Opens a roster store
openElement(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
optAppend(CharSequence) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
optAttribute(String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
optAttribute(String, Enum<?>) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
optElement(String, String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
optElement(String, Enum<?>) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
ORDERED - Static variable in class org.jivesoftware.smack.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
OrFilter - Class in org.jivesoftware.smack.filter
Implements the logical OR operation over two or more packet filters.
OrFilter() - Constructor for class org.jivesoftware.smack.filter.OrFilter
Creates an empty OR filter.
OrFilter(PacketFilter...) - Constructor for class org.jivesoftware.smack.filter.OrFilter
Creates an OR filter using the specified filters.
org.jivesoftware.smack - package org.jivesoftware.smack
Core classes of the Smack API.
org.jivesoftware.smack.compression - package org.jivesoftware.smack.compression
 
org.jivesoftware.smack.debugger - package org.jivesoftware.smack.debugger
Core debugger functionality.
org.jivesoftware.smack.filter - package org.jivesoftware.smack.filter
Allows PacketCollector and PacketListener instances to filter for packets with particular attributes.
org.jivesoftware.smack.initializer - package org.jivesoftware.smack.initializer
 
org.jivesoftware.smack.packet - package org.jivesoftware.smack.packet
XML packets that are part of the XMPP protocol.
org.jivesoftware.smack.parsing - package org.jivesoftware.smack.parsing
 
org.jivesoftware.smack.provider - package org.jivesoftware.smack.provider
Provides pluggable parsing of incoming IQ's and packet extensions.
org.jivesoftware.smack.proxy - package org.jivesoftware.smack.proxy
 
org.jivesoftware.smack.sasl - package org.jivesoftware.smack.sasl
SASL Mechanisms.
org.jivesoftware.smack.util - package org.jivesoftware.smack.util
Utility classes.
org.jivesoftware.smack.util.dns - package org.jivesoftware.smack.util.dns
 

P

Packet - Class in org.jivesoftware.smack.packet
Base class for XMPP packets.
Packet() - Constructor for class org.jivesoftware.smack.packet.Packet
 
Packet(Packet) - Constructor for class org.jivesoftware.smack.packet.Packet
 
PacketCollector - Class in org.jivesoftware.smack
Provides a mechanism to collect packets into a result queue that pass a specified filter.
PacketCollector(XMPPConnection, PacketFilter) - Constructor for class org.jivesoftware.smack.PacketCollector
Creates a new packet collector.
PacketCollector(XMPPConnection, PacketFilter, int) - Constructor for class org.jivesoftware.smack.PacketCollector
Creates a new packet collector.
PacketExtension - Interface in org.jivesoftware.smack.packet
Interface to represent packet extensions.
PacketExtensionFilter - Class in org.jivesoftware.smack.filter
Filters for packets with a particular type of packet extension.
PacketExtensionFilter(String, String) - Constructor for class org.jivesoftware.smack.filter.PacketExtensionFilter
Creates a new packet extension filter.
PacketExtensionFilter(String) - Constructor for class org.jivesoftware.smack.filter.PacketExtensionFilter
Creates a new packet extension filter.
PacketExtensionProvider - Interface in org.jivesoftware.smack.provider
An interface for parsing custom packets extensions.
PacketFilter - Interface in org.jivesoftware.smack.filter
Defines a way to filter packets for particular attributes.
PacketIDFilter - Class in org.jivesoftware.smack.filter
Filters for packets with a particular packet ID.
PacketIDFilter(Packet) - Constructor for class org.jivesoftware.smack.filter.PacketIDFilter
Creates a new packet ID filter using the specified packet's ID.
PacketIDFilter(String) - Constructor for class org.jivesoftware.smack.filter.PacketIDFilter
Creates a new packet ID filter using the specified packet ID.
PacketInterceptor - Interface in org.jivesoftware.smack
Provides a mechanism to intercept and modify packets that are going to be sent to the server.
PacketListener - Interface in org.jivesoftware.smack
Provides a mechanism to listen for packets that pass a specified filter.
PacketParserUtils - Class in org.jivesoftware.smack.util
Utility class that helps to parse packets.
PacketParserUtils() - Constructor for class org.jivesoftware.smack.util.PacketParserUtils
 
PacketParserUtils.UnparsedResultIQ - Class in org.jivesoftware.smack.util
This class represents and unparsed IQ of the type 'result'.
PacketParserUtils.UnparsedResultIQ(String) - Constructor for class org.jivesoftware.smack.util.PacketParserUtils.UnparsedResultIQ
 
PacketTypeFilter - Class in org.jivesoftware.smack.filter
Filters for packets of a particular type.
PacketTypeFilter(Class<? extends Packet>) - Constructor for class org.jivesoftware.smack.filter.PacketTypeFilter
Creates a new packet type filter that will filter for packets that are the same type as packetType.
parse(String) - Method in enum org.jivesoftware.smack.util.XmppDateTime.DateFormatType
 
parseBareAddress(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns the XMPP address with any resource information removed.
parseCompressionMethods(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parse the available compression methods reported from the server.
parseContent(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Returns the content of a element as string.
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.
parseDate(String) - Static method in class org.jivesoftware.smack.util.XmppDateTime
Parses the given date string in either of the three profiles of XEP-0082 - XMPP Date and Time Profiles or XEP-0091 - Legacy Delayed Delivery format.
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.
parseExtension(XmlPullParser) - Method in class org.jivesoftware.smack.provider.EmbeddedExtensionProvider
 
parseExtension(XmlPullParser) - Method in interface org.jivesoftware.smack.provider.PacketExtensionProvider
Parse an extension sub-packet and create a PacketExtension instance.
parseIQ(XmlPullParser) - Method in interface org.jivesoftware.smack.provider.IQProvider
Parse the IQ sub-document and create an IQ instance.
parseIQ(XmlPullParser, XMPPConnection) - 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.
parseName(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns the name portion of a XMPP address.
parsePacketExtension(String, String, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses a packet extension sub-packet.
parsePresence(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses a presence packet.
parseResource(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns the resource portion of a XMPP address.
parseSASLFailure(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses SASL authentication error packets.
parseServer(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Returns the server portion of a XMPP address.
parseStreamError(XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
Parses stream error packets.
parseWithIntrospection(String, Class<?>, XmlPullParser) - Static method in class org.jivesoftware.smack.util.PacketParserUtils
 
parseXEP0082Date(String) - Static method in class org.jivesoftware.smack.util.XmppDateTime
Deprecated.
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
 
payment_required - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
peek() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
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 packet is currently available and returns it, or immediately returns null if no packets are currently in the result queue.
prelude(PacketExtension) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
PRESENCE - Static variable in class org.jivesoftware.smack.filter.PacketTypeFilter
 
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.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.
presenceChanged(Presence) - Method in interface org.jivesoftware.smack.RosterListener
Called when the presence of a roster entry is changed.
printInterpreted - Static variable in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
processConfigFile(InputStream, Collection<Exception>) - Static method in class org.jivesoftware.smack.SmackConfiguration
 
processConfigFile(InputStream, Collection<Exception>, ClassLoader) - Static method in class org.jivesoftware.smack.SmackConfiguration
 
processMessage(Chat, Message) - Method in interface org.jivesoftware.smack.MessageListener
 
processPacket(Packet) - Method in class org.jivesoftware.smack.PacketCollector
Processes a packet to see if it meets the criteria for this packet collector.
processPacket(Packet) - Method in interface org.jivesoftware.smack.PacketListener
Process the next packet sent to this packet listener.
processPacket(Packet) - Method in class org.jivesoftware.smack.XMPPConnection
Processes a packet after it's been fully parsed by looping through the installed packet collectors and listeners and letting them examine the packet to see if they are a match with the filter.
ProviderFileLoader - Class in org.jivesoftware.smack.provider
Loads the IQProvider and PacketExtensionProvider information from a standard provider file in preparation for loading into the ProviderManager.
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
Used to load providers into the ProviderManager.
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.Cache
 
putAll(Map<? extends K, ? extends V>) - Method in class org.jivesoftware.smack.util.Cache
 

Q

QUOTE_ENCODE - Static variable in class org.jivesoftware.smack.util.StringUtils
 

R

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() - Method in class org.jivesoftware.smack.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.jivesoftware.smack.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
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.XMPPConnection
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
 
recipient_unavailable - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
reconnect() - Method in class org.jivesoftware.smack.ReconnectionManager
Starts a reconnection mechanism if it was configured to do that.
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.
reconnectionSuccessful() - Method in class org.jivesoftware.smack.AbstractConnectionListener
 
reconnectionSuccessful() - Method in interface org.jivesoftware.smack.ConnectionListener
The connection has reconnected successfully to the server.
recvListeners - Variable in class org.jivesoftware.smack.XMPPConnection
List of PacketListeners that will be notified when a new packet was received.
redirect - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
registerSASLMechanism(String, Class<? extends SASLMechanism>) - Static method in class org.jivesoftware.smack.SASLAuthentication
Registers a new SASL mechanism
Registration - Class in org.jivesoftware.smack.packet
Represents registration packets.
Registration() - Constructor for class org.jivesoftware.smack.packet.Registration
 
registration_required - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
reload() - Method in class org.jivesoftware.smack.Roster
Reloads the entire roster from the server.
remainingCapacity() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
remote_server_error - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
remote_server_not_found - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
remote_server_timeout - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
remove(Object) - Method in class org.jivesoftware.smack.util.Cache
 
remove(Object, boolean) - Method in class org.jivesoftware.smack.util.Cache
 
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.
removeChatListener(ChatManagerListener) - Method in class org.jivesoftware.smack.ChatManager
Removes a listener, it will no longer be notified of new events related to chats.
removeConnectionCreationListener(ConnectionCreationListener) - Static method in class org.jivesoftware.smack.XMPPConnection
Removes a listener that was interested in connection creation events.
removeConnectionListener(ConnectionListener) - Method in class org.jivesoftware.smack.XMPPConnection
Removes a connection listener from this connection.
removeEntry(String, String) - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
removeEntry(RosterEntry) - Method in class org.jivesoftware.smack.Roster
Removes a roster entry from the roster.
removeEntry(RosterEntry) - Method in class org.jivesoftware.smack.RosterGroup
Removes a roster entry from this group.
removeEntry(String, String) - Method in interface org.jivesoftware.smack.RosterStore
Removes an entry from the store
removeExtension(PacketExtension) - Method in class org.jivesoftware.smack.packet.Packet
Removes a 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.
removeGroupName(String) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Removes a group name.
removeIQProvider(String, String) - Static method in class org.jivesoftware.smack.provider.ProviderManager
Removes an IQ provider with the specified element name and namespace.
removeMessageListener(MessageListener) - Method in class org.jivesoftware.smack.Chat
 
removePacketCollector(PacketCollector) - Method in class org.jivesoftware.smack.XMPPConnection
Remove a packet collector of this connection.
removePacketInterceptor(PacketInterceptor) - Method in class org.jivesoftware.smack.XMPPConnection
Removes a packet interceptor.
removePacketListener(PacketListener) - Method in class org.jivesoftware.smack.XMPPConnection
Removes a packet listener for received packets from this connection.
removePacketSendingListener(PacketListener) - Method in class org.jivesoftware.smack.XMPPConnection
Removes a 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.
removeRosterListener(RosterListener) - Method in class org.jivesoftware.smack.Roster
Removes a listener from this roster.
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.
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.
removeWriterListener(WriterListener) - Method in class org.jivesoftware.smack.util.ObservableWriter
Removes a writer listener from this writer.
request_timeout - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
reset() - Method in class org.jivesoftware.smack.util.ObservableReader
 
resetEntries(Collection<RosterPacket.Item>, String) - Method in class org.jivesoftware.smack.DirectoryRosterStore
 
resetEntries(Collection<RosterPacket.Item>, String) - Method in interface org.jivesoftware.smack.RosterStore
This method updates the store so that it contains only the given entries.
resolveXMPPDomain(String) - 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) - 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.
resource_constraint - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
RESULT - Static variable in class org.jivesoftware.smack.packet.IQ.Type
 
resumeEncoding() - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Resumes encoding of the stream.
RIGHT_ANGEL_BRACKET - Static variable in class org.jivesoftware.smack.util.XmlStringBuilder
 
rightAngelBracket() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
rootWindowClosing(WindowEvent) - Method in class org.jivesoftware.smack.debugger.LiteDebugger
Notification that the root window is closing.
Roster - Class in org.jivesoftware.smack
Represents a user's roster, which is the collection of users a person receives presence updates for.
Roster.SubscriptionMode - Enum in org.jivesoftware.smack
An enumeration for the subscription mode options.
RosterEntry - Class in org.jivesoftware.smack
Each user in your roster is represented by a roster entry, which contains the user's JID and a name or nickname you assign.
RosterGroup - Class in org.jivesoftware.smack
A group of roster entries.
RosterListener - Interface in org.jivesoftware.smack
A listener that is fired any time a roster is changed or the presence of a user in the roster is changed.
RosterPacket - Class in org.jivesoftware.smack.packet
Represents XMPP roster packets.
RosterPacket() - Constructor for class org.jivesoftware.smack.packet.RosterPacket
 
RosterPacket.Item - Class in org.jivesoftware.smack.packet
A roster item, which consists of a JID, their name, the type of subscription, and the groups the roster item belongs to.
RosterPacket.Item(String, String) - Constructor for class org.jivesoftware.smack.packet.RosterPacket.Item
Creates a new roster item.
RosterPacket.ItemStatus - Enum in org.jivesoftware.smack.packet
The subscription status of a roster item.
RosterPacket.ItemType - Enum in org.jivesoftware.smack.packet
 
RosterStore - Interface in org.jivesoftware.smack
This is an interface for persistent roster store needed to implement roster versioning as per RFC 6121.

S

SASLAnonymous - Class in org.jivesoftware.smack.sasl
Implementation of the SASL ANONYMOUS mechanism
SASLAnonymous(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLAnonymous
 
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.
saslAuthentication - Variable in class org.jivesoftware.smack.XMPPConnection
The SASLAuthentication manager that is responsible for authenticating with the server.
SASLCramMD5Mechanism - Class in org.jivesoftware.smack.sasl
Implementation of the SASL CRAM-MD5 mechanism
SASLCramMD5Mechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLCramMD5Mechanism
 
SASLDigestMD5Mechanism - Class in org.jivesoftware.smack.sasl
Implementation of the SASL DIGEST-MD5 mechanism
SASLDigestMD5Mechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLDigestMD5Mechanism
 
SASLError - Enum in org.jivesoftware.smack.sasl
 
SASLErrorException - Exception in org.jivesoftware.smack.sasl
 
SASLErrorException(String, SASLMechanism.SASLFailure) - Constructor for exception org.jivesoftware.smack.sasl.SASLErrorException
 
SASLErrorException(String, SASLMechanism.SASLFailure, Map<String, String>) - Constructor for exception org.jivesoftware.smack.sasl.SASLErrorException
 
SASLExternalMechanism - Class in org.jivesoftware.smack.sasl
Implementation of the SASL EXTERNAL mechanism.
SASLExternalMechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLExternalMechanism
 
SASLGSSAPIMechanism - Class in org.jivesoftware.smack.sasl
Implementation of the SASL GSSAPI mechanism
SASLGSSAPIMechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLGSSAPIMechanism
 
SASLMechanism - Class in org.jivesoftware.smack.sasl
Base class for SASL mechanisms.
SASLMechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism
 
SASLMechanism.AuthMechanism - Class in org.jivesoftware.smack.sasl
Initiating SASL authentication by select a mechanism.
SASLMechanism.AuthMechanism(String, String) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.AuthMechanism
 
SASLMechanism.Challenge - Class in org.jivesoftware.smack.sasl
A SASL challenge stanza.
SASLMechanism.Challenge(String) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.Challenge
 
SASLMechanism.Response - Class in org.jivesoftware.smack.sasl
A SASL response stanza.
SASLMechanism.Response() - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.Response
 
SASLMechanism.Response(String) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.Response
 
SASLMechanism.SASLFailure - Class in org.jivesoftware.smack.sasl
A SASL failure stanza.
SASLMechanism.SASLFailure(String) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.SASLFailure
 
SASLMechanism.Success - Class in org.jivesoftware.smack.sasl
A SASL success stanza.
SASLMechanism.Success(String) - Constructor for class org.jivesoftware.smack.sasl.SASLMechanism.Success
 
SASLPlainMechanism - Class in org.jivesoftware.smack.sasl
Implementation of the SASL PLAIN mechanism
SASLPlainMechanism(SASLAuthentication) - Constructor for class org.jivesoftware.smack.sasl.SASLPlainMechanism
 
sc - Variable in class org.jivesoftware.smack.sasl.SASLMechanism
 
schedule(Runnable, long, TimeUnit) - Method in class org.jivesoftware.smack.Manager
 
schedule(Runnable, long, TimeUnit) - Method in class org.jivesoftware.smack.XMPPConnection
 
send(Packet) - Method in class org.jivesoftware.smack.SASLAuthentication
 
sendListeners - Variable in class org.jivesoftware.smack.XMPPConnection
List of PacketListeners that will be notified when a new packet was sent.
sendMessage(String) - Method in class org.jivesoftware.smack.Chat
Sends the specified text as a message to the other chat participant.
sendMessage(Message) - Method in class org.jivesoftware.smack.Chat
Sends a message to the other chat participant.
sendPacket(Packet) - Method in class org.jivesoftware.smack.XMPPConnection
Sends the specified packet to the server.
sendPacketInternal(Packet) - Method in class org.jivesoftware.smack.XMPPConnection
 
serverRequiresBinding() - Method in class org.jivesoftware.smack.XMPPConnection
Notification message saying that the server requires the client to bind a resource to the stream.
serverSupportsAccountCreation() - Method in class org.jivesoftware.smack.XMPPConnection
 
serverSupportsSession() - Method in class org.jivesoftware.smack.XMPPConnection
Notification message saying that the server supports sessions.
service_unavailable - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
Session - Class in org.jivesoftware.smack.packet
IQ packet that will be sent to the server to establish a session.
Session() - Constructor for class org.jivesoftware.smack.packet.Session
 
SET - Static variable in class org.jivesoftware.smack.packet.IQ.Type
 
setAttributes(Map<String, String>) - Method in class org.jivesoftware.smack.packet.Registration
Sets the account attributes.
setAvailableSASLMethods(Collection<String>) - Method in class org.jivesoftware.smack.SASLAuthentication
Sets the available SASL mechanism reported by the server.
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
Sets a CallbackHandler to obtain information, such as the password or principal information during the SASL authentication.
setCompressionEnabled(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if the connection is going to use stream compression.
setConnectionException(IOException) - Method in class org.jivesoftware.smack.XMPPConnection
 
setCustomSSLContext(SSLContext) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets a custom SSLContext for creating SSL sockets.
setDebuggerEnabled(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if the new connection about to be establish is going to be debugged.
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.
setDefaultIsNormalIncluded(boolean) - Static method in class org.jivesoftware.smack.ChatManager
 
setDefaultMatchMode(ChatManager.MatchMode) - Static method in class org.jivesoftware.smack.ChatManager
 
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
setDefaultSubscriptionMode(Roster.SubscriptionMode) - Static method in class org.jivesoftware.smack.Roster
Sets the default subscription processing mode to use when a new Roster is created.
setDefaultXmlns(String) - Static method in class org.jivesoftware.smack.packet.Packet
 
setDNSResolver(DNSResolver) - Static method in class org.jivesoftware.smack.util.DNSUtil
Set the DNS resolver that should be used to perform DNS lookups.
setError(XMPPError) - Method in class org.jivesoftware.smack.packet.Packet
Sets the error for this packet.
setException(Exception) - Method in class org.jivesoftware.smack.util.dns.HostAddress
 
setExtension(List<PacketExtension>) - Method in class org.jivesoftware.smack.packet.XMPPError
Set the packet extension to the error.
setFlushMethod(XMPPInputOutputStream.FlushMethod) - Static method in class org.jivesoftware.smack.compression.XMPPInputOutputStream
Set the used flushed method when compressing data.
setFrom(String) - Method in class org.jivesoftware.smack.packet.Packet
Sets who the packet is being sent "from".
setFromMode(XMPPConnection.FromMode) - Method in class org.jivesoftware.smack.XMPPConnection
Set the FromMode for this connection instance.
setHostnameVerifier(HostnameVerifier) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Set the HostnameVerifier used to verify the hostname of SSLSockets used by XMPP connections created with this ConnectionConfiguration.
setInstructions(String) - Method in class org.jivesoftware.smack.packet.Registration
Sets the registration instructions.
setItemStatus(RosterPacket.ItemStatus) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Sets the roster item status.
setItemType(RosterPacket.ItemType) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Sets the roster item type.
setJid(String) - Method in class org.jivesoftware.smack.packet.Bind
 
setKeystorePath(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets the path to the keystore file.
setKeystoreType(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets the keystore type.
setLanguage(String) - Method in class org.jivesoftware.smack.packet.Message
Sets the xml:lang of this Message.
setLanguage(String) - Method in class org.jivesoftware.smack.packet.Presence
Sets the xml:lang of this Presence.
setLegacySessionDisabled(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if a Session will be requested on login if the server supports it.
setLoginInfo(String, String, String) - Method in class org.jivesoftware.smack.XMPPConnection
 
setMatchMode(ChatManager.MatchMode) - Method in class org.jivesoftware.smack.ChatManager
Sets the mode for matching messages with NO thread id to existing chats.
setMaxCacheSize(int) - Method in class org.jivesoftware.smack.util.Cache
 
setMaxLifetime(long) - Method in class org.jivesoftware.smack.util.Cache
 
setMode(Presence.Mode) - Method in class org.jivesoftware.smack.packet.Presence
Sets the mode of the presence update.
setName(String) - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
Sets the user's name.
setName(String) - Method in class org.jivesoftware.smack.RosterEntry
Sets the name associated with this entry.
setName(String) - Method in class org.jivesoftware.smack.RosterGroup
Sets the name of the group.
setNormalIncluded(boolean) - Method in class org.jivesoftware.smack.ChatManager
Sets whether to allow incoming messages of type normal to be used for creating new chats or matching a message to an existing one.
setPacketCollectorSize(int) - Static method in class org.jivesoftware.smack.SmackConfiguration
Sets the default max size of a packet collector before it will delete the older packets.
setPacketID(String) - Method in class org.jivesoftware.smack.packet.Packet
Sets the unique ID of the packet.
setPacketReplyTimeout(long) - Method in class org.jivesoftware.smack.XMPPConnection
Set the packet reply timeout in milliseconds.
setPKCS11Library(String) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets the PKCS11 library file location, needed when the Keystore type is PKCS11
setPriority(int) - Method in class org.jivesoftware.smack.packet.Presence
Sets the priority of the presence.
setReconnectionAllowed(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if the reconnection mechanism is allowed to be used.
setResource(String) - Method in class org.jivesoftware.smack.packet.Bind
 
setRosterLoadedAtLogin(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if the roster will be loaded from the server when logging in.
setRosterStore(RosterStore) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Set the permanent roster store
setRosterVersioningSupported() - Method in class org.jivesoftware.smack.XMPPConnection
Indicates that the server supports roster versioning as defined in XEP-0237.
setSecurityMode(ConnectionConfiguration.SecurityMode) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets the TLS security mode used when making the connection.
setSendPresence(boolean) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets if an initial available presence will be sent to the server.
setServiceCapsNode(String) - Method in class org.jivesoftware.smack.XMPPConnection
Set the servers Entity Caps node XMPPConnection holds this information in order to avoid a dependency to smackx where EntityCapsManager lives from smack.
setServiceName(String) - Method in class org.jivesoftware.smack.XMPPConnection
 
setSocketFactory(SocketFactory) - Method in class org.jivesoftware.smack.ConnectionConfiguration
Sets the socket factory used to create new xmppConnection sockets.
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.
setSubscriptionMode(Roster.SubscriptionMode) - Method in class org.jivesoftware.smack.Roster
Sets the subscription processing mode, which dictates what action Smack will take when subscription requests from other users are made.
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.
setTo(String) - Method in class org.jivesoftware.smack.packet.Packet
Sets who the 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.
setValue(String, String) - Method in class org.jivesoftware.smack.packet.DefaultPacketExtension
Sets a packet extension value using the given name.
setVersion(String) - Method in class org.jivesoftware.smack.packet.RosterPacket
 
setWasAuthenticated(boolean) - Method in class org.jivesoftware.smack.XMPPConnection
Sets whether the connection has already logged in the server.
shutdown() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
Shutdown the Queue.
shutdown() - Method in class org.jivesoftware.smack.XMPPConnection
Shuts the current connection down.
size() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
size() - Method in class org.jivesoftware.smack.util.Cache
 
skip(long) - Method in class org.jivesoftware.smack.util.ObservableReader
 
SmackAndOsgiInitializer - Class in org.jivesoftware.smack.initializer
 
SmackAndOsgiInitializer() - Constructor for class org.jivesoftware.smack.initializer.SmackAndOsgiInitializer
 
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.
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.AlreadyLoggedInException - Exception in org.jivesoftware.smack
 
SmackException.AlreadyLoggedInException() - Constructor for exception org.jivesoftware.smack.SmackException.AlreadyLoggedInException
 
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.ConnectionException(Throwable) - Constructor for exception org.jivesoftware.smack.SmackException.ConnectionException
 
SmackException.ConnectionException(List<HostAddress>) - Constructor for exception org.jivesoftware.smack.SmackException.ConnectionException
 
SmackException.FeatureNotSupportedException - Exception in org.jivesoftware.smack
 
SmackException.FeatureNotSupportedException(String) - Constructor for exception org.jivesoftware.smack.SmackException.FeatureNotSupportedException
 
SmackException.FeatureNotSupportedException(String, String) - Constructor for exception org.jivesoftware.smack.SmackException.FeatureNotSupportedException
 
SmackException.IllegalStateChangeException - Exception in org.jivesoftware.smack
 
SmackException.IllegalStateChangeException() - Constructor for exception org.jivesoftware.smack.SmackException.IllegalStateChangeException
 
SmackException.NoResponseException - Exception in org.jivesoftware.smack
Exception thrown always when there was no response to an IQ request within the packet reply timeout of the used connection instance.
SmackException.NoResponseException() - Constructor for exception org.jivesoftware.smack.SmackException.NoResponseException
 
SmackException.NotConnectedException - Exception in org.jivesoftware.smack
 
SmackException.NotConnectedException() - Constructor for exception org.jivesoftware.smack.SmackException.NotConnectedException
 
SmackException.NotLoggedInException - Exception in org.jivesoftware.smack
 
SmackException.NotLoggedInException() - Constructor for exception org.jivesoftware.smack.SmackException.NotLoggedInException
 
SmackException.ResourceBindingNotOfferedException - Exception in org.jivesoftware.smack
 
SmackException.ResourceBindingNotOfferedException() - Constructor for exception org.jivesoftware.smack.SmackException.ResourceBindingNotOfferedException
 
SmackException.SecurityRequiredException - Exception in org.jivesoftware.smack
 
SmackException.SecurityRequiredException() - Constructor for exception org.jivesoftware.smack.SmackException.SecurityRequiredException
 
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
start() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
Start the queue.
StreamError - Class in org.jivesoftware.smack.packet
Represents a stream error packet.
StreamError(String) - Constructor for class org.jivesoftware.smack.packet.StreamError
 
StreamError(String, String) - Constructor for class org.jivesoftware.smack.packet.StreamError
 
StringEncoder - 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
 
SUBSCRIPTION_PENDING - Static variable in enum org.jivesoftware.smack.packet.RosterPacket.ItemStatus
 
subscription_required - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
subSequence(int, int) - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
subSequence(int, int) - Method in class org.jivesoftware.smack.util.LazyStringBuilder
 
subSequence(int, int) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
supportsAccountCreation() - Method in class org.jivesoftware.smack.AccountManager
Returns true if the server supports creating new accounts.
supportSASLMechanism(String) - Static method in class org.jivesoftware.smack.SASLAuthentication
Registers a new SASL mechanism in the specified preference position.
supportSASLMechanism(String, int) - Static method in class org.jivesoftware.smack.SASLAuthentication
Registers a new SASL mechanism in the specified preference position.
suspendEncoding() - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Suspends encoding of the stream.

T

take() - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
 
ThreadFilter - Class in org.jivesoftware.smack.filter
Filters for message packets with a particular thread value.
ThreadFilter(String) - Constructor for class org.jivesoftware.smack.filter.ThreadFilter
Creates a new thread filter using the specified thread value.
throwConnectionExceptionOrNoResponse() - Method in class org.jivesoftware.smack.XMPPConnection
 
toString() - Method in class org.jivesoftware.smack.Chat
 
toString() - Method in class org.jivesoftware.smack.filter.AndFilter
 
toString() - Method in class org.jivesoftware.smack.filter.FromMatchesFilter
 
toString() - Method in class org.jivesoftware.smack.filter.OrFilter
 
toString() - Method in class org.jivesoftware.smack.filter.PacketIDFilter
 
toString() - Method in class org.jivesoftware.smack.filter.PacketTypeFilter
 
toString() - Method in class org.jivesoftware.smack.packet.IQ.Type
 
toString() - Method in class org.jivesoftware.smack.packet.Packet
 
toString() - Method in class org.jivesoftware.smack.packet.Presence
 
toString() - Method in class org.jivesoftware.smack.packet.StreamError
 
toString() - Method in class org.jivesoftware.smack.packet.XMPPError.Condition
 
toString() - Method in class org.jivesoftware.smack.packet.XMPPError
 
toString() - Method in class org.jivesoftware.smack.RosterEntry
 
toString() - Method in enum org.jivesoftware.smack.sasl.SASLError
 
toString() - Method in class org.jivesoftware.smack.util.dns.HostAddress
 
toString() - Method in class org.jivesoftware.smack.util.dns.SRVRecord
 
toString() - Method in class org.jivesoftware.smack.util.LazyStringBuilder
 
toString() - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
toString() - Method in exception org.jivesoftware.smack.XMPPException.StreamErrorException
 
toString() - Method in exception org.jivesoftware.smack.XMPPException.XMPPErrorException
 
toXML() - Method in class org.jivesoftware.smack.packet.DefaultPacketExtension
 
toXML() - Method in class org.jivesoftware.smack.packet.IQ
 
toXML() - Method in class org.jivesoftware.smack.packet.Message
 
toXML() - Method in class org.jivesoftware.smack.packet.Packet
Returns the packet as XML.
toXML() - Method in interface org.jivesoftware.smack.packet.PacketExtension
Returns the XML representation of the PacketExtension.
toXML() - Method in class org.jivesoftware.smack.packet.Presence
 
toXML() - Method in class org.jivesoftware.smack.packet.RosterPacket.Item
 
toXML() - Method in class org.jivesoftware.smack.packet.XMPPError
Returns the error as XML.
toXML() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.AuthMechanism
 
toXML() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.Challenge
 
toXML() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.Response
 
toXML() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.SASLFailure
 
toXML() - Method in class org.jivesoftware.smack.sasl.SASLMechanism.Success
 

U

undefined_condition - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
unescapeNode(String) - Static method in class org.jivesoftware.smack.util.StringUtils
Un-escapes the node portion of a JID according to "JID Escaping" (JEP-0106).
unexpected_request - Static variable in class org.jivesoftware.smack.packet.XMPPError.Condition
 
UnparsablePacket - Class in org.jivesoftware.smack.parsing
Representation of an unparsable packet.
UnparsablePacket(String, Exception) - Constructor for class org.jivesoftware.smack.parsing.UnparsablePacket
 
unregisterSASLMechanism(String) - Static method in class org.jivesoftware.smack.SASLAuthentication
Unregisters an existing SASL mechanism.
UNSUBSCRIPTION_PENDING - Static variable in enum org.jivesoftware.smack.packet.RosterPacket.ItemStatus
 
unsupportSASLMechanism(String) - Static method in class org.jivesoftware.smack.SASLAuthentication
Un-supports an existing SASL mechanism.
URL_SAFE - Static variable in class org.jivesoftware.smack.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
UrlInitializer - Class in org.jivesoftware.smack.initializer
Loads the provider file defined by the URL returned by UrlInitializer.getProvidersUrl() and the generic smack configuration file returned UrlInitializer.getConfigUrl().
UrlInitializer() - Constructor for class org.jivesoftware.smack.initializer.UrlInitializer
 
userHasLogged(String) - Method in class org.jivesoftware.smack.debugger.ConsoleDebugger
 
userHasLogged(String) - Method in class org.jivesoftware.smack.debugger.LiteDebugger
 
userHasLogged(String) - Method in interface org.jivesoftware.smack.debugger.SmackDebugger
Called when a user has logged in to the server.

V

valueOf(String) - Static method in enum org.jivesoftware.smack.ChatManager.MatchMode
Returns the enum constant of this type with the specified name.
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.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.RosterPacket.ItemStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jivesoftware.smack.packet.RosterPacket.ItemType
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.Roster.SubscriptionMode
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.util.XmppDateTime.DateFormatType
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.ChatManager.MatchMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.compression.XMPPInputOutputStream.FlushMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.ConnectionConfiguration.SecurityMode
Returns an array containing the constants of this enum type, in the 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, in the 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, in the 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, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.packet.RosterPacket.ItemStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.packet.RosterPacket.ItemType
Returns an array containing the constants of this enum type, in the 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, in the 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, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.Roster.SubscriptionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.sasl.SASLError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.jivesoftware.smack.util.Cache
 
values() - Static method in enum org.jivesoftware.smack.util.XmppDateTime.DateFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jivesoftware.smack.XMPPConnection.FromMode
Returns an array containing the constants of this enum type, in the order they are declared.
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
 

W

wasAuthenticated - Variable in class org.jivesoftware.smack.XMPPConnection
Flag that indicates if the user was authenticated with the server when the connection to the server was closed (abruptly or not).
write(int) - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.jivesoftware.smack.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(char[], int, int) - Method in class org.jivesoftware.smack.util.ObservableWriter
 
write(int) - Method in class org.jivesoftware.smack.util.ObservableWriter
 
write(char[]) - Method in class org.jivesoftware.smack.util.ObservableWriter
 
write(String) - Method in class org.jivesoftware.smack.util.ObservableWriter
 
write(String, int, int) - Method in class org.jivesoftware.smack.util.ObservableWriter
 
write(String) - Method in interface org.jivesoftware.smack.util.WriterListener
Notification that the Writer has written a new string.
writeFile(File, String) - Static method in class org.jivesoftware.smack.util.FileUtils
 
writeFileOrThrow(File, String) - Static method in class org.jivesoftware.smack.util.FileUtils
 
writer - Variable in class org.jivesoftware.smack.XMPPConnection
The Writer which is used for the debugger.
WriterListener - Interface in org.jivesoftware.smack.util
Interface that allows for implementing classes to listen for string writing events.

X

xmllangAttribute(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
xmlnsAttribute(String) - Method in class org.jivesoftware.smack.util.XmlStringBuilder
 
XmlStringBuilder - Class in org.jivesoftware.smack.util
 
XmlStringBuilder() - Constructor for class org.jivesoftware.smack.util.XmlStringBuilder
 
XmlStringBuilder(PacketExtension) - Constructor for class org.jivesoftware.smack.util.XmlStringBuilder
 
XMPPConnection - Class in org.jivesoftware.smack
The abstract XMPPConnection class provides an interface for connections to a XMPP server and implements shared methods which are used by the different types of connections (e.g.
XMPPConnection(ConnectionConfiguration) - Constructor for class org.jivesoftware.smack.XMPPConnection
Create a new XMPPConnection to a XMPP server.
XMPPConnection.FromMode - Enum in org.jivesoftware.smack
 
XMPPConnection.InterceptorWrapper - Class in org.jivesoftware.smack
A wrapper class to associate a packet filter with an interceptor.
XMPPConnection.InterceptorWrapper(PacketInterceptor, PacketFilter) - Constructor for class org.jivesoftware.smack.XMPPConnection.InterceptorWrapper
Create a class which associates a packet filter with an interceptor.
XMPPConnection.ListenerWrapper - Class in org.jivesoftware.smack
A wrapper class to associate a packet filter with a listener.
XMPPConnection.ListenerWrapper(PacketListener, PacketFilter) - Constructor for class org.jivesoftware.smack.XMPPConnection.ListenerWrapper
Create a class which associates a packet filter with a listener.
XmppDateTime - Class in org.jivesoftware.smack.util
 
XmppDateTime() - Constructor for class org.jivesoftware.smack.util.XmppDateTime
 
XmppDateTime.DateFormatType - Enum in org.jivesoftware.smack.util
 
XMPPError - Class in org.jivesoftware.smack.packet
Represents a XMPP error sub-packet.
XMPPError(XMPPError.Condition) - Constructor for class org.jivesoftware.smack.packet.XMPPError
Creates a new error with the specified condition inferring the type.
XMPPError(XMPPError.Condition, String) - Constructor for class org.jivesoftware.smack.packet.XMPPError
Creates a new error with the specified condition and message infering the type.
XMPPError(XMPPError.Type, String, String, List<PacketExtension>) - Constructor for class org.jivesoftware.smack.packet.XMPPError
Creates a new error with the specified type, condition and message.
XMPPError.Condition - Class in org.jivesoftware.smack.packet
A class to represent predefined error conditions.
XMPPError.Condition(String) - Constructor for class org.jivesoftware.smack.packet.XMPPError.Condition
 
XMPPError.Type - Enum in org.jivesoftware.smack.packet
A class to represent the type of the Error.
XMPPException - Exception in org.jivesoftware.smack
A generic exception that is thrown when an error occurs performing an XMPP operation.
XMPPException() - Constructor for exception org.jivesoftware.smack.XMPPException
Creates a new XMPPException.
XMPPException(String) - Constructor for exception org.jivesoftware.smack.XMPPException
Creates a new XMPPException with a description of the exception.
XMPPException(String, Throwable) - Constructor for exception org.jivesoftware.smack.XMPPException
Creates a new XMPPException with a description of the exception and the Throwable that was the root cause of the exception.
XMPPException.StreamErrorException - Exception in org.jivesoftware.smack
 
XMPPException.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.
XMPPException.XMPPErrorException - Exception in org.jivesoftware.smack
 
XMPPException.XMPPErrorException(XMPPError) - Constructor for exception org.jivesoftware.smack.XMPPException.XMPPErrorException
Creates a new XMPPException with the XMPPError that was the root case of the exception.
XMPPException.XMPPErrorException(String, XMPPError, Throwable) - Constructor for exception org.jivesoftware.smack.XMPPException.XMPPErrorException
Creates a new XMPPException with a description of the exception, an XMPPError, and the Throwable that was the root cause of the exception.
XMPPException.XMPPErrorException(String, XMPPError) - Constructor for exception org.jivesoftware.smack.XMPPException.XMPPErrorException
Creates a new XMPPException with a description of the exception and the XMPPException that was the root cause of the exception.
XMPPInputOutputStream - Class in org.jivesoftware.smack.compression
 
XMPPInputOutputStream() - Constructor for class org.jivesoftware.smack.compression.XMPPInputOutputStream
 
XMPPInputOutputStream.FlushMethod - Enum in org.jivesoftware.smack.compression
 
A B C D E F G H I J K L M N O P Q R S T U V W X