- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- ProviderFileLoader(InputStream) - Constructor for class org.jivesoftware.smack.provider.ProviderFileLoader
-
- ProviderFileLoader(InputStream, ClassLoader) - Constructor for class org.jivesoftware.smack.provider.ProviderFileLoader
-
- ProviderLoader - Interface in org.jivesoftware.smack.provider
-
- ProviderManager - Class in org.jivesoftware.smack.provider
-
Manages providers for parsing custom XML sub-documents of XMPP packets.
- ProviderManager() - Constructor for class org.jivesoftware.smack.provider.ProviderManager
-
- proxy - Variable in class org.jivesoftware.smack.ConnectionConfiguration
-
- ProxyException - Exception in org.jivesoftware.smack.proxy
-
An exception class to handle exceptions caused by proxy.
- ProxyException(ProxyInfo.ProxyType, String, Throwable) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyException(ProxyInfo.ProxyType, String) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyException(ProxyInfo.ProxyType) - Constructor for exception org.jivesoftware.smack.proxy.ProxyException
-
- ProxyInfo - Class in org.jivesoftware.smack.proxy
-
Class which stores proxy information such as proxy type, host, port,
authentication etc.
- ProxyInfo(ProxyInfo.ProxyType, String, int, String, String) - Constructor for class org.jivesoftware.smack.proxy.ProxyInfo
-
- ProxyInfo.ProxyType - Enum in org.jivesoftware.smack.proxy
-
- put(E) - Method in class org.jivesoftware.smack.util.ArrayBlockingQueueWithShutdown
-
- put(K, V) - Method in class org.jivesoftware.smack.util.Cache
-
- putAll(Map<? extends K, ? extends V>) - Method in class org.jivesoftware.smack.util.Cache
-
- 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
-
- 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.
- 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.
- 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
-