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

A

AbstractIQHandler - Class in rocks.xmpp.core.stanza
This class is an IQ handler for extension managers.
addCapabilitiesChangeListener(Consumer<EventObject>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds a property change listener, which listens for changes in the identities, features, extensions and items collections.
addChatPartnerListener(Consumer<ChatSession.ChatPartnerEvent>) - Method in class rocks.xmpp.im.chat.ChatSession
Adds a chat partner listener.
addChatSessionListener(Consumer<ChatSessionEvent>) - Method in class rocks.xmpp.im.chat.ChatManager
Adds a chat session listener.
addConnectionListener(Consumer<ConnectionEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a connection listener, which is triggered, when the connection used by this session is disconnected or reconnected.
addContact(Contact, boolean, String) - Method in class rocks.xmpp.im.roster.RosterManager
Adds a contact to the roster and optionally also sends a subscription request to it.
addCreationListener(Consumer<XmppSession>) - Static method in class rocks.xmpp.core.session.XmppSession
Adds a listener, which is triggered, whenever a new session is created.
addExtension(DataForm) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an extension.
addFeature(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds a feature.
addFeature(Class<? extends Manager>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds a feature by its manager class.
addFeatureListener(StreamFeatureListener) - Method in class rocks.xmpp.core.stream.StreamFeatureNegotiator
Adds a feature listener, which will get notified about feature negotiation status changes.
addFeatureNegotiator(StreamFeatureNegotiator) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Adds a new feature negotiator, which is responsible for negotiating an individual feature.
addIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an identity.
addInboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an inbound IQ listener to the session, which will get notified, whenever an IQ stanza is received.
addInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an inbound message listener to the session, which will get notified, whenever a message is received.
addInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.im.chat.Chat
Adds a message listener, which allows to listen for inbound messages.
addInboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an inbound presence listener to the session, which will get notified, whenever a presence is received.
addInfoNode(InfoNode) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an info node.
addIQHandler(Class<?>, IQHandler) - Method in class rocks.xmpp.core.session.XmppSession
Adds an IQ handler for a given payload type.
addIQHandler(Class<?>, IQHandler, boolean) - Method in class rocks.xmpp.core.session.XmppSession
Adds an IQ handler for a given payload type.
addMessageAcknowledgedListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
 
addOutboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an outbound IQ listener to the session, which will get notified, whenever an IQ stanza is sent.
addOutboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an outbound message listener to the session, which will get notified, whenever a message is sent.
addOutboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds an outbound presence listener to the session, which will get notified, whenever a presence is sent.
addRosterListener(Consumer<RosterEvent>) - Method in class rocks.xmpp.im.roster.RosterManager
Adds a roster listener, which will get notified, whenever the roster changes.
addSessionStatusListener(Consumer<SessionStatusEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a session listener, which listens for session status changes.
after(long, TimeUnit) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
alwaysAfter(Duration) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
Reconnects always after a fix duration, e.g. after 10 seconds.
alwaysRandomlyAfter(Duration, Duration) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
Reconnects always after a random duration which lies between the given min and max duration, e.g. after 10-20 seconds.
approveSubscription(Jid) - Method in class rocks.xmpp.im.subscription.PresenceManager
Approves a subscription request.
asAttributes() - Method in class rocks.xmpp.dns.TxtRecord
Gets the attributes of this record.
AuthenticationException - Exception in rocks.xmpp.core.sasl
An exception thrown during the login process, if SASL negotiation with the XMPP server fails.
AuthenticationException(String) - Constructor for exception rocks.xmpp.core.sasl.AuthenticationException
 
AuthenticationException(String, Failure) - Constructor for exception rocks.xmpp.core.sasl.AuthenticationException
 
authenticationMechanisms(String...) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the preferred mechanisms used for this XMPP session.
awaitNegotiation(Class<? extends StreamFeature>, long) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Waits until the given feature will be negotiated.

B

BoshConnection - Class in rocks.xmpp.extensions.httpbind
BoshConnectionConfiguration - Class in rocks.xmpp.extensions.httpbind
A configuration for a BOSH connection.
BoshConnectionConfiguration.Builder - Class in rocks.xmpp.extensions.httpbind
A builder to create a BoshConnectionConfiguration instance.
BoshException - Exception in rocks.xmpp.extensions.httpbind
A BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.
build() - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Builds the connection configuration.
build() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
 
build() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Builds the configuration.
build() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
 
builder() - Static method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Creates a new builder for this class.
builder() - Static method in class rocks.xmpp.core.session.XmppSessionConfiguration
Creates a builder for this class.
builder() - Static method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Creates a new builder.

C

cacheDirectory(Path) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the caching directory for directory-based caches used for: XEP-0084: User Avatar XEP-0115: Entity Capabilities XEP-0153: vCard-Based Avatars If you want to disable the use of directory caching, pass null.
cancelNegotiation() - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Cancels negotiation and releases any locks.
canProcess(Object) - Method in class rocks.xmpp.core.stream.StreamFeatureNegotiator
Checks, whether the element can be processed by the feature negotiator.
canProcess(Object) - Method in class rocks.xmpp.extensions.compress.CompressionManager
 
canProcess(Object) - Method in class rocks.xmpp.extensions.sm.StreamManager
 
Chat - Class in rocks.xmpp.im.chat
An abstract chat class, which represents either a one-to-one chat session or a group chat session.
Chat() - Constructor for class rocks.xmpp.im.chat.Chat
 
ChatManager - Class in rocks.xmpp.im.chat
This class manages one-to-one chat sessions, which are described in 5.1.
ChatSession - Class in rocks.xmpp.im.chat
Implements a one-to-one chat session.
ChatSession.ChatPartnerEvent - Class in rocks.xmpp.im.chat
A ChatPartnerEvent is fired, whenever a ChatSession's partner was replaced.
ChatSessionEvent - Class in rocks.xmpp.im.chat
A chat session event is fired, whenever a new chat session is created.
clear() - Method in class rocks.xmpp.debug.gui.DebugController
 
clear() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
clear() - Method in class rocks.xmpp.util.cache.LruCache
 
clearInbound(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
 
clearOutbound(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
 
close() - Method in class rocks.xmpp.core.session.TcpConnection
Closes the TCP connection.
close() - Method in class rocks.xmpp.core.session.XmppSession
Explicitly closes the session and performs a clean up of all listeners.
close() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Closes the session as described in Terminating the HTTP Session.
close() - Method in class rocks.xmpp.im.chat.ChatSession
 
compareTo(SrvRecord) - Method in class rocks.xmpp.dns.SrvRecord
 
compareTo(TxtRecord) - Method in class rocks.xmpp.dns.TxtRecord
 
completeNegotiation(long) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Negotiates all pending features, if any, and waits until all features have been negotiated.
compress(OutputStream) - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
Gets the compressed output stream.
CompressionManager - Class in rocks.xmpp.extensions.compress
Manages stream compression as described in XEP-0138: Stream Compression.
CompressionMethod - Interface in rocks.xmpp.extensions.compress
An interface to describe a compression method.
compressionMethods(CompressionMethod...) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the compression method.
connect(Jid, String, Consumer<Jid>) - Method in class rocks.xmpp.core.session.Connection
Connects to the server and provides an optional 'from' attribute.
connect(Jid, String, Consumer<Jid>) - Method in class rocks.xmpp.core.session.TcpConnection
Connects to the specified XMPP server using a socket connection.
connect(Jid) - Method in class rocks.xmpp.core.session.XmppClient
Connects to the XMPP server.
connect() - Method in class rocks.xmpp.core.session.XmppSession
Connects to the XMPP server.
connect(Jid) - Method in class rocks.xmpp.core.session.XmppSession
 
connect(Jid, String, Consumer<Jid>) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Connects to the BOSH server.
Connection - Class in rocks.xmpp.core.session
The base connection class which provides hostname, port and proxy information.
ConnectionConfiguration - Class in rocks.xmpp.core.session
A base class for connection configurations.
ConnectionConfiguration.Builder<T extends ConnectionConfiguration.Builder<T>> - Class in rocks.xmpp.core.session
An abstract builder class for building immutable configuration objects.
ConnectionEvent - Class in rocks.xmpp.core.session
This event is fired for the following use cases: When the XMPP session's underlying connection gets disconnected.
ConnectionEvent.Type - Enum in rocks.xmpp.core.session
The connection event type.
ConnectionException - Exception in rocks.xmpp.core.session
Indicates a failure while connecting to the server.
ConnectionException() - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
ConnectionException(String) - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
ConnectionException(Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
ConnectionException(String, Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
connectTimeout(int) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets a timeout for the connection establishment.
ConsoleDebugger - Class in rocks.xmpp.core.session.debug
A simple debugger implementation, which uses System.out to print XMPP traffic.
ConsoleDebugger() - Constructor for class rocks.xmpp.core.session.debug.ConsoleDebugger
 
containsKey(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
containsKey(Object) - Method in class rocks.xmpp.util.cache.LruCache
 
containsValue(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
containsValue(Object) - Method in class rocks.xmpp.util.cache.LruCache
 
copyToClipboard(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
 
CoreModule - Class in rocks.xmpp.core.session
The core module provides XMPP classes as well as manager classes which are associated with an XMPP session.
CoreModule() - Constructor for class rocks.xmpp.core.session.CoreModule
 
create(String, ConnectionConfiguration...) - Static method in class rocks.xmpp.core.session.XmppClient
Creates a new XMPP client instance.
create(String, XmppSessionConfiguration, ConnectionConfiguration...) - Static method in class rocks.xmpp.core.session.XmppClient
Creates a new XMPP client instance.
create(ResultSetProvider<T>, ResultSetManagement) - Static method in class rocks.xmpp.extensions.rsm.ResultSet
Creates a result set from a result set provider and a result set management.
createChatSession(Jid) - Method in class rocks.xmpp.im.chat.ChatManager
Creates a new chat session and notifies any chat session listeners about it.
createConnection(XmppSession) - Method in class rocks.xmpp.core.session.ConnectionConfiguration
A factory method to create the connection.
createConnection(XmppSession) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
 
createConnection(XmppSession) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
 
createInputStream(InputStream) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
createInputStream(InputStream) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
Creates a new input stream from the actual input stream.
createInputStream(InputStream) - Method in class rocks.xmpp.debug.gui.VisualDebugger
 
createMarshaller() - Method in class rocks.xmpp.core.session.XmppSession
Creates a marshaller, which can be used to create XML from objects.
createOutputStream(OutputStream) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
createOutputStream(OutputStream) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
Creates a new output stream from the actual output stream.
createOutputStream(OutputStream) - Method in class rocks.xmpp.debug.gui.VisualDebugger
 
createSaslClient(String[], String, String, String, Map<String, ?>, CallbackHandler) - Method in class rocks.xmpp.core.sasl.XmppSaslClientFactory
 
createUnmarshaller() - Method in class rocks.xmpp.core.session.XmppSession
Creates a new unmarshaller, which can be used to unmarshal XML to objects.

D

DebugController - Class in rocks.xmpp.debug.gui
 
DebugController() - Constructor for class rocks.xmpp.debug.gui.DebugController
 
debugger(Class<? extends XmppDebugger>) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the debugger.
decompress(InputStream) - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
Decompresses an input stream.
DefaultItemProvider - Class in rocks.xmpp.extensions.disco
A default item provider for Service Discovery.
DefaultItemProvider(Collection<Item>) - Constructor for class rocks.xmpp.extensions.disco.DefaultItemProvider
 
defaultResponseTimeout(int) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the default response timeout for synchronous calls, usually IQ calls.
DEFLATE - Static variable in class rocks.xmpp.extensions.compress.CompressionManager
Deprecated.
DEFLATE - Static variable in interface rocks.xmpp.extensions.compress.CompressionMethod
The "deflate" compression method.
denySubscription(Jid) - Method in class rocks.xmpp.im.subscription.PresenceManager
Cancels a previously granted subscription or denies a subscription request.
detach() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Detaches this BOSH session without closing (aka terminating) it.
DirectoryCache - Class in rocks.xmpp.util.cache
A simple directory based cache for caching of persistent items like avatars or entity capabilities.
DirectoryCache(Path) - Constructor for class rocks.xmpp.util.cache.DirectoryCache
 
disableFeature(String) - Method in class rocks.xmpp.core.session.XmppSession
Disables a feature by its name, usually a protocol namespace.
disableFeature(Class<? extends Manager>) - Method in class rocks.xmpp.core.session.XmppSession
Disables a feature by its manager class.
discoverCapabilities(Jid) - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesManager
Discovers the capabilities of another XMPP entity.
discoverInformation(Jid) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers information about another XMPP entity.
discoverInformation(Jid, String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers information about another XMPP entity targeted at a specific node.
discoverItems(Jid) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.
discoverItems(Jid, ResultSetManagement) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.
discoverItems(Jid, String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.
discoverItems(Jid, String, ResultSetManagement) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.
discoverServices(Identity) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers a service on the connected server by its identity.
discoverServices(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers a service on the connected server by its feature namespace.
DnsResolver - Class in rocks.xmpp.dns
A minimalistic DNS resolver, which can resolve SRV and TXT records in the context of XMPP.

E

enableFeature(String) - Method in class rocks.xmpp.core.session.XmppSession
Enables a feature by its name, usually a protocol namespace.
enableFeature(Class<? extends Manager>) - Method in class rocks.xmpp.core.session.XmppSession
Enables a feature by its manager class.
EntityCapabilitiesManager - Class in rocks.xmpp.extensions.caps
This class manages XEP-0115: Entity Capabilities.
entrySet() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
entrySet() - Method in class rocks.xmpp.util.cache.LruCache
 
equals(Object) - Method in class rocks.xmpp.core.session.Extension
 
Extension - Class in rocks.xmpp.core.session
Represents an XMPP protocol extension (XEP).
extensions(Extension...) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Adds extensions to the session.

F

featureSuccessfullyNegotiated() - Method in interface rocks.xmpp.core.stream.StreamFeatureListener
Fired when the feature has been successfully negotiated.
filter() - Method in class rocks.xmpp.debug.gui.DebugController
 
forEachMessage() - Static method in class rocks.xmpp.extensions.sm.RequestStrategies
Requests an ack for each message.
forEachMessageOrEveryXStanzas(int) - Static method in class rocks.xmpp.extensions.sm.RequestStrategies
Requests an acknowledgement for each message and at the latest after X non-message stanzas (presence or IQ).
forEveryXStanzas(int) - Static method in class rocks.xmpp.extensions.sm.RequestStrategies
Requests an ack for every X stanzas.

G

get(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
get(Object) - Method in class rocks.xmpp.util.cache.LruCache
 
getActiveConnection() - Method in class rocks.xmpp.core.session.XmppSession
Gets the actively used connection.
getAddedContacts() - Method in class rocks.xmpp.im.roster.RosterEvent
Gets the added contacts, which have been added since the last roster push or which have been initially set by the first roster result.
getAuthenticationMechanisms() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the preferred authentication (SASL) mechanisms.
getCacheDirectory() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the caching directory for directory-based caches used for: XEP-0084: User Avatar XEP-0115: Entity Capabilities XEP-0153: vCard-Based Avatars By default this directory is called xmpp.rocks and is located in the operating system's application data folder:
For Windows it is %APPDATA%, which usually is C:\Users\{USERNAME}\AppData\Roaming
For Mac it is ~/Library/Application Support
Else it is the user's home directory.
getCause() - Method in class rocks.xmpp.core.session.ConnectionEvent
Gets the cause of the disconnection or reconnection failure.
getChatPartner() - Method in class rocks.xmpp.im.chat.ChatSession
Gets the chat partner of this chat session.
getChatSession() - Method in class rocks.xmpp.im.chat.ChatSessionEvent
Gets the chat session.
getClasses() - Method in class rocks.xmpp.core.session.Extension
Gets the collection of classes, which represent the extension's XML schema implementation.
getCompressionMethods() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the compression methods.
getCondition() - Method in exception rocks.xmpp.core.sasl.AuthenticationException
The specific SASL error condition.
getCondition() - Method in exception rocks.xmpp.core.stanza.StanzaException
Gets the defined error condition.
getCondition() - Method in exception rocks.xmpp.core.stream.StreamErrorException
Gets the defined error condition.
getCondition() - Method in exception rocks.xmpp.extensions.httpbind.BoshException
Gets the BOSH error condition.
getConfiguration() - Method in class rocks.xmpp.core.session.XmppSession
Gets the configuration for this session.
getConfiguredCompressionMethods() - Method in class rocks.xmpp.extensions.compress.CompressionManager
Gets the configured compression methods.
getConnectedResource() - Method in class rocks.xmpp.core.session.XmppClient
Gets the connected resource, which is assigned by the server after resource binding.
getConnectedResource() - Method in class rocks.xmpp.core.session.XmppSession
The connected resource, which is assigned by the server.
getConnections() - Method in class rocks.xmpp.core.session.XmppSession
Gets an unmodifiable list of connections, which this session will try during connecting.
getConnectTimeout() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the timeout for connection establishment.
getContact(Jid) - Method in class rocks.xmpp.im.roster.RosterManager
Gets a contact by its JID.
getContactGroups() - Method in class rocks.xmpp.im.roster.RosterManager
Gets the contact groups.
getContacts() - Method in class rocks.xmpp.im.roster.RosterManager
Gets the contacts.
getData(Class<T>) - Method in class rocks.xmpp.extensions.privatedata.PrivateDataManager
Gets private data, which is stored on the server.
getDebugger() - Method in class rocks.xmpp.core.session.XmppSession
Gets the debugger or null if no debugger class was specified in the configuration.
getDebugger() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the current debugger for this session.
getDefault() - Static method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Gets the default configuration.
getDefault() - Static method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the default configuration.
getDefault() - Static method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Gets the default configuration.
getDefaultResponseTimeout() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the response timeout.
getDomain() - Method in class rocks.xmpp.core.session.XmppSession
Gets the XMPP domain of the connected server.
getEnabledFeatures() - Method in class rocks.xmpp.core.session.XmppSession
Gets the enabled features.
getError() - Method in exception rocks.xmpp.core.stanza.StanzaException
Gets the stanza error, i.e. the <error/> element.
getError() - Method in exception rocks.xmpp.core.stream.StreamErrorException
Gets the stream error.
getExtensions() - Method in class rocks.xmpp.core.session.CoreModule
 
getExtensions() - Method in interface rocks.xmpp.core.session.Module
Gets the extensions belonging to this module.
getExtensions() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable list of extensions.
getFeatureClass() - Method in class rocks.xmpp.core.stream.StreamFeatureNegotiator
Gets the feature class, this negotiator is responsible for.
getFeatures() - Method in class rocks.xmpp.core.session.Extension
Gets the collection of "sub" features, which are associated with the extension.
getFeatures() - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Gets the available features, which the server has advertised.
getFeatures() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable set of features.
getGroupDelimiter() - Method in class rocks.xmpp.im.roster.RosterManager
Gets the group delimiter.
getHostname() - Method in class rocks.xmpp.core.session.Connection
Gets the hostname, which is used for the connection.
getHostname() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the hostname.
getHostnameVerifier() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the hostname verifier.
getHttpErrorCode() - Method in exception rocks.xmpp.extensions.httpbind.BoshException
Gets the HTTP error code.
getIdentities() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable set of identities.
getInitialPresence() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets a supplier for initial presence which is sent during login.
getIQ() - Method in class rocks.xmpp.core.stanza.IQEvent
Gets the IQ stanza.
getItemCount() - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
getItemCount() - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets the total item count.
getItems() - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
getItems(int, int) - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
getItems() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable list of items.
getItems() - Method in class rocks.xmpp.extensions.rsm.ResultSet
Gets the items.
getItems() - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets all items.
getItems(int, int) - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets the items in a specific range (by index).
getItemsAfter(String, int) - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
getItemsAfter(String, int) - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets the items after a specific item, which is determined by an item id.
getItemsBefore(String, int) - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
getItemsBefore(String, int) - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets the items before a specific item, which is determined by an item id.
getKeepAliveInterval() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Gets the whitespace keep-alive interval.
getLanguage() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the preferred or default language for any human-readable XML character data to be sent over the stream.
getLastSentPresence() - Method in class rocks.xmpp.im.subscription.PresenceManager
Gets the last sent (non-directed) presence, that has been broadcast by the server.
getLastSentPresences() - Method in class rocks.xmpp.im.subscription.PresenceManager
Gets the last sent presences, that have been sent, including directed presences.
getManager() - Method in class rocks.xmpp.core.session.Extension
Gets the manager class.
getManager(Class<T>) - Method in class rocks.xmpp.core.session.XmppSession
Gets an instance of the specified manager class.
getMechanismNames(Map<String, ?>) - Method in class rocks.xmpp.core.sasl.XmppSaslClientFactory
 
getMessage() - Method in class rocks.xmpp.core.stanza.MessageEvent
Gets the message.
getName() - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
Gets the compression method name, e.g.
getNamespace() - Method in class rocks.xmpp.core.session.Extension
Gets the protocol namespace.
getNegotiatedCompressionMethod() - Method in class rocks.xmpp.extensions.compress.CompressionManager
Gets the negotiated compression method.
getNewChatPartner() - Method in class rocks.xmpp.im.chat.ChatSession.ChatPartnerEvent
Gets the JID of the new chat partner.
getNextReconnectionAttempt() - Method in class rocks.xmpp.core.session.ConnectionEvent
Gets the duration until the next reconnection is attempted.
getNextReconnectionAttempt() - Method in class rocks.xmpp.core.session.ReconnectionManager
Deprecated.
Gets the date of the next reconnection attempt.
getNextReconnectionAttempt(int, Throwable) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
Gets the duration after which the next reconnection is attempted.
getNode() - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesManager
Gets the node.
getOldChatPartner() - Method in class rocks.xmpp.im.chat.ChatSession.ChatPartnerEvent
Gets the JID of the old chat partner.
getOldStatus() - Method in class rocks.xmpp.core.session.SessionStatusEvent
Gets the old session status.
getPath() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Gets the path on the host, e.g.
getPort() - Method in class rocks.xmpp.core.session.Connection
Gets the port, which is used for the connection.
getPort() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the port.
getPort() - Method in class rocks.xmpp.dns.SrvRecord
Gets the port on this target host of this service.
getPresence() - Method in class rocks.xmpp.core.stanza.PresenceEvent
Gets the presence.
getPresence(Jid) - Method in class rocks.xmpp.im.subscription.PresenceManager
Gets the presence for a given contact.
getPriority() - Method in class rocks.xmpp.dns.SrvRecord
Gets the priority of this target host.
getProxy() - Method in class rocks.xmpp.core.session.Connection
Gets the proxy.
getProxy() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the proxy.
getReconnectionStrategy() - Method in class rocks.xmpp.core.session.ReconnectionManager
Deprecated.
Gets the reconnection strategy.
getReconnectionStrategy() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the reconnection strategy.
getRemovedContacts() - Method in class rocks.xmpp.im.roster.RosterEvent
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
getRequestStrategy() - Method in class rocks.xmpp.extensions.sm.StreamManager
Gets the request strategy.
getResultSetManagement() - Method in class rocks.xmpp.extensions.rsm.ResultSet
Gets the result set info.
getRoute() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Gets the route.
getRoute() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Gets the route.
getSessionId() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Gets the session id of this BOSH connection.
getSocketFactory() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Gets the socket factory.
getSSLContext() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the SSL context.
getStanza() - Method in exception rocks.xmpp.core.stanza.StanzaException
Gets the stanza, which includes the error.
getStatus() - Method in class rocks.xmpp.core.session.SessionStatusEvent
Gets the session status.
getStatus() - Method in class rocks.xmpp.core.session.XmppSession
Gets the status of the session.
getStreamError() - Method in exception rocks.xmpp.core.stream.StreamErrorException
Deprecated.
getStreamId() - Method in class rocks.xmpp.core.session.Connection
Gets the stream id of this connection.
getStreamId() - Method in class rocks.xmpp.core.session.TcpConnection
 
getStreamId() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
getStreamManagementId() - Method in class rocks.xmpp.extensions.sm.StreamManager
Gets the "SM-ID".
getTarget() - Method in class rocks.xmpp.dns.SrvRecord
Gets the domain name of the target host.
getText() - Method in class rocks.xmpp.dns.TxtRecord
Gets the text.
getThread() - Method in class rocks.xmpp.im.chat.ChatSession
Gets the thread id which is used for this chat session.
getThrowable() - Method in class rocks.xmpp.core.session.SessionStatusEvent
Gets the throwable if the session abnormally disconnected or null.
getType() - Method in class rocks.xmpp.core.session.ConnectionEvent
Gets the event type.
getUnacknowledgedStanzas() - Method in class rocks.xmpp.core.session.XmppSession
 
getUnaffiliatedContacts() - Method in class rocks.xmpp.im.roster.RosterManager
Gets the contacts, which are not affiliated to any group.
getUpdatedContacts() - Method in class rocks.xmpp.im.roster.RosterEvent
Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.
getUri() - Method in exception rocks.xmpp.extensions.httpbind.BoshException
Gets the URI in case of a "see-other-uri" error.
getWait() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Gets the longest time (in seconds) that the connection manager is allowed to wait before responding to any request during the session.
getWeight() - Method in class rocks.xmpp.dns.SrvRecord
Gets the weight of this target host.
getXmlInputFactory() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the XML input factory.
getXmlOutputFactory() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the XML output factory.
GZIP - Static variable in class rocks.xmpp.extensions.compress.CompressionManager
Deprecated.
GZIP - Static variable in interface rocks.xmpp.extensions.compress.CompressionMethod
The "gzip" compression method.

H

handleElement(Object) - Method in class rocks.xmpp.core.session.XmppSession
Handles an XMPP element.
handleRequest(IQ) - Method in class rocks.xmpp.core.stanza.AbstractIQHandler
 
handleRequest(IQ) - Method in interface rocks.xmpp.core.stanza.IQHandler
Handles an inbound IQ stanza of type get or set.
hashCode() - Method in class rocks.xmpp.core.session.Extension
 
hostname(String) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the hostname.
hostnameVerifier(HostnameVerifier) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets an optional hostname verifier, used to verify the hostname in the certificate presented by the server.

I

incrementInboundStanzaCount() - Method in class rocks.xmpp.extensions.sm.StreamManager
Increments the inbound stanza count.
indexOf(String) - Method in class rocks.xmpp.extensions.disco.DefaultItemProvider
 
indexOf(String) - Method in interface rocks.xmpp.extensions.rsm.ResultSetProvider
Gets the index of a specific item.
initialize(XmppSession) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
initialize(XmppSession) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
This method is called when a new XMPP session is initialized.
initialize(URL, ResourceBundle) - Method in class rocks.xmpp.debug.gui.DebugController
 
initialize(XmppSession) - Method in class rocks.xmpp.debug.gui.VisualDebugger
 
initialPresence(Supplier<Presence>) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets a supplier for initial presence which is sent during login.
IQEvent - Class in rocks.xmpp.core.stanza
An IQ event is fired whenever an IQ stanza is received or sent.
IQEvent(Object, IQ, boolean) - Constructor for class rocks.xmpp.core.stanza.IQEvent
Constructs an IQ event.
IQHandler - Interface in rocks.xmpp.core.stanza
Handles an inbound IQ request, (IQ stanzas of type IQ.Type.GET or IQ.Type.SET) by processing the request and returning an IQ response of type result or error.
isActive() - Method in class rocks.xmpp.extensions.sm.StreamManager
Returns true, as soon as the server has enabled stream management, i.e. if both client and server are using stream management.
isAnonymous() - Method in class rocks.xmpp.core.session.XmppClient
Indicates whether the session has been logged in anonymously.
isAskForGroupDelimiter() - Method in class rocks.xmpp.im.roster.RosterManager
Indicates whether the server is asked for the roster delimiter before requesting the roster.
isAuthenticated() - Method in class rocks.xmpp.core.session.XmppSession
Returns true, if the session is authenticated.
isConnected() - Method in class rocks.xmpp.core.session.XmppSession
Indicates, whether the session is connected.
isEmpty() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
isEmpty() - Method in class rocks.xmpp.util.cache.LruCache
 
isEnabled() - Method in class rocks.xmpp.core.session.Extension
Indicates whether the extension is enabled or not.
isEnabled() - Method in class rocks.xmpp.core.session.Manager
Indicates, whether this manager is enabled or not.
isInbound() - Method in class rocks.xmpp.im.chat.ChatSessionEvent
Indicates, whether the chat session has been created by an inbound message or programmatically.
isResumable() - Method in class rocks.xmpp.extensions.sm.StreamManager
If the server will allow the stream to be resumed.
isRetrieveRosterOnLogin() - Method in class rocks.xmpp.im.roster.RosterManager
Controls, whether the roster is automatically retrieved as soon as the user has logged in.
isRosterVersioningSupported() - Method in class rocks.xmpp.im.roster.RosterManager
Indicates whether the server supports roster versioning.
isSecure() - Method in class rocks.xmpp.core.session.Connection
Indicates whether this connection is secured by TLS/SSL.
isSecure() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Indicates whether the connection is secured by SSL.
isSecure() - Method in class rocks.xmpp.core.session.TcpConnection
 
isSecure() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
isSupported(String, Jid) - Method in class rocks.xmpp.core.session.XmppClient
Determines support of another XMPP entity for a given feature.
isSupported(String, Jid) - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesManager
Checks whether the entity supports the given feature.
isUseKeySequence() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
If the connection is secured via a key sequence mechanism.
isUsingAcknowledgements() - Method in class rocks.xmpp.core.session.Connection
Indicates, whether this connection is using acknowledgements.
isUsingAcknowledgements() - Method in class rocks.xmpp.core.session.TcpConnection
 
isUsingAcknowledgements() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 

K

keepAliveInterval(int) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
Sets the whitespace keep-alive interval in seconds.
keySet() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
keySet() - Method in class rocks.xmpp.util.cache.LruCache
 

L

language(Locale) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the preferred or default language for any human-readable XML character data to be sent over the stream.
login(String, String) - Method in class rocks.xmpp.core.session.XmppClient
Authenticates against the server and binds a random resource (assigned by the server).
login(String, String, String) - Method in class rocks.xmpp.core.session.XmppClient
Authenticates against the server with username/password credential and binds a resource.
login(String, String, String, String) - Method in class rocks.xmpp.core.session.XmppClient
Authenticates against the server with an authorization id and username/password credential and binds a resource.
login(String, CallbackHandler, String) - Method in class rocks.xmpp.core.session.XmppClient
Authenticates against the server with a custom callback handler and binds a resource.
loginAnonymously() - Method in class rocks.xmpp.core.session.XmppClient
Logs in anonymously and binds a resource.
LruCache<K,V> - Class in rocks.xmpp.util.cache
A simple concurrent implementation of a least-recently-used cache.
LruCache(int) - Constructor for class rocks.xmpp.util.cache.LruCache
 

M

Manager - Class in rocks.xmpp.core.session
A generic manager class, which allows to enable or disable certain functionality.
markAcknowledged(Stanza) - Method in class rocks.xmpp.core.session.XmppSession
 
markUnacknowledged(Stanza) - Method in class rocks.xmpp.extensions.sm.StreamManager
Marks a stanza as unacknowledged.
mayReconnect(int, Throwable) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
 
MessageEvent - Class in rocks.xmpp.core.stanza
A message event is fired whenever a message is received or sent.
MessageEvent(Object, Message, boolean) - Constructor for class rocks.xmpp.core.stanza.MessageEvent
Constructs a message event.
Module - Interface in rocks.xmpp.core.session
A module defines a set of extensions.

N

needsRestart() - Method in class rocks.xmpp.core.stream.StreamFeatureNegotiator
Checks, if the feature needs a stream restart after it has been successfully negotiated.
needsRestart() - Method in class rocks.xmpp.extensions.compress.CompressionManager
Checks, if the feature needs a stream restart after it has been successfully negotiated.
none() - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
Reconnection won't happen automatically, i.e. it's disabled.
NoResponseException - Exception in rocks.xmpp.core.session
This exception is thrown, when no response has been received from an XMPP entity.
NoResponseException(String) - Constructor for exception rocks.xmpp.core.session.NoResponseException
 
notifyException(Throwable) - Method in class rocks.xmpp.core.session.XmppSession
Called if any unhandled exception is thrown during reading or writing.

O

of(Class<?>...) - Static method in class rocks.xmpp.core.session.Extension
Creates an extension with a set of classes (XML schema implementations) used by this extension.
of(Class<? extends Manager>, boolean) - Static method in class rocks.xmpp.core.session.Extension
Creates an extension, which won't get advertised during service discovery and only has a manager class.
of(String, boolean, Class<?>...) - Static method in class rocks.xmpp.core.session.Extension
Creates an extension without business logic, but an XML schema class.
of(String, Class<? extends Manager>, boolean, Class<?>...) - Static method in class rocks.xmpp.core.session.Extension
Creates an extension with a namespace, business logic and XML schema classes.
of(String, Class<? extends Manager>, boolean, boolean, Class<?>...) - Static method in class rocks.xmpp.core.session.Extension
Creates an PEP (Personal Eventing Protocol) extension with a namespace, business logic and XML schema classes.
of(String, Class<? extends Manager>, Set<String>, boolean, Class<?>...) - Static method in class rocks.xmpp.core.session.Extension
Creates an extension which can advertise additional features, such as XEP-0300.
onAcknowledge(Consumer<S>) - Method in class rocks.xmpp.core.session.SendTask
Called when the sent stanza has been acknowledged by the server.
onSystemShutdownFirstOrElseSecond(ReconnectionStrategy, ReconnectionStrategy) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
Uses a hybrid reconnection strategy, which uses the first one on system shutdown and the second one on every other disconnection cause.

P

path(String) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the path on the host, e.g.
port(int) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the port.
PresenceEvent - Class in rocks.xmpp.core.stanza
A presence event is fired whenever a presence stanza is received or sent.
PresenceEvent(Object, Presence, boolean) - Constructor for class rocks.xmpp.core.stanza.PresenceEvent
Constructs a presence event.
PresenceManager - Class in rocks.xmpp.im.subscription
Manages subscription requests and presences.
PrivateDataManager - Class in rocks.xmpp.extensions.privatedata
This class implements XEP-0049: Private XML Storage.
processElement(Object) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Tries to process an element, which is a feature or may belong to a feature protocol, e.g. the <proceed/> element from TLS negotiation.
processFeatures(StreamFeatures) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
Processes the <stream:features/> element and immediately starts negotiating the first feature.
processNegotiation(Object) - Method in class rocks.xmpp.core.stream.StreamFeatureNegotiator
Processes a feature protocol element or the feature element itself.
processNegotiation(Object) - Method in class rocks.xmpp.extensions.compress.CompressionManager
 
processNegotiation(Object) - Method in class rocks.xmpp.extensions.sm.StreamManager
 
proxy(Proxy) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the proxy, e.g. if you are behind a HTTP proxy and use a BOSH connection.
put(String, byte[]) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
put(K, V) - Method in class rocks.xmpp.util.cache.LruCache
 
putAll(Map<? extends String, ? extends byte[]>) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
putAll(Map<? extends K, ? extends V>) - Method in class rocks.xmpp.util.cache.LruCache
 

Q

query(IQ) - Method in class rocks.xmpp.core.session.XmppSession
Sends an <iq/> stanza and returns an async result, which can be used to wait for the response.
query(IQ, long) - Method in class rocks.xmpp.core.session.XmppSession
Sends an <iq/> stanza and returns an async result, which can be used to wait for the response.
query(IQ, Class<T>) - Method in class rocks.xmpp.core.session.XmppSession
Sends an <iq/> stanza and returns an async result, which can be used to wait for the response.

R

readStanza(String, Object) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
readStanza(String, Object) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
This method is called, whenever a stream element is read.
readStanza(String, Object) - Method in class rocks.xmpp.debug.gui.VisualDebugger
 
ReconnectionManager - Class in rocks.xmpp.core.session
ReconnectionStrategy - Interface in rocks.xmpp.core.session
A strategy for reconnection logic, i.e. when and in which interval reconnection attempts will happen.
reconnectionStrategy(ReconnectionStrategy) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the reconnection strategy, which determined when to reconnect after a disconnection.
registerFeature(Extension) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Registers a feature / extension.
remove(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
 
remove(Object) - Method in class rocks.xmpp.util.cache.LruCache
 
removeCapabilitiesChangeListener(Consumer<EventObject>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes a property change listener.
removeChatPartnerListener(Consumer<ChatSession.ChatPartnerEvent>) - Method in class rocks.xmpp.im.chat.ChatSession
Removes a chat partner listener.
removeChatSessionListener(Consumer<ChatSessionEvent>) - Method in class rocks.xmpp.im.chat.ChatManager
Removes a previously added chat session listener.
removeConnectionListener(Consumer<ConnectionEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added connection listener.
removeContact(Jid) - Method in class rocks.xmpp.im.roster.RosterManager
Removes a contact from the roster.
removeContactGroup(ContactGroup) - Method in class rocks.xmpp.im.roster.RosterManager
Removes a contact group.
removeCreationListener(Consumer<XmppSession>) - Static method in class rocks.xmpp.core.session.XmppSession
Removes a previously added creation listener.
removeExtension(DataForm) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an extension.
removeFeature(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes a feature.
removeFeature(Class<? extends Manager>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes a feature by its manager class.
removeIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an identity.
removeInboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added inbound IQ listener from the session.
removeInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added inbound message listener from the session.
removeInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.im.chat.Chat
Removes a previously added message listener.
removeInboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added inbound presence listener from the session.
removeInfoNode(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an info node.
removeIQHandler(Class<?>) - Method in class rocks.xmpp.core.session.XmppSession
Removes an IQ handler.
removeOutboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added outbound IQ listener from the session.
removeOutboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added outbound message listener from the session.
removeOutboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added outbound presence listener from the session.
removeRosterListener(Consumer<RosterEvent>) - Method in class rocks.xmpp.im.roster.RosterManager
Removes a previously added roster listener.
removeSessionStatusListener(Consumer<SessionStatusEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added session listener.
renameContactGroup(ContactGroup, String) - Method in class rocks.xmpp.im.roster.RosterManager
Renames a contact group.
requestRoster() - Method in class rocks.xmpp.im.roster.RosterManager
Requests the roster from the server.
RequestStrategies - Class in rocks.xmpp.extensions.sm
A set of request strategies which are used for requesting acknowledgements from the server.
requestSubscription(Jid, String) - Method in class rocks.xmpp.im.subscription.PresenceManager
Sends a subscription request to a potential contact.
resolveSRV(CharSequence, CharSequence, long) - Static method in class rocks.xmpp.dns.DnsResolver
Resolves DNS SRV records for the given domain.
resolveTXT(CharSequence, long) - Static method in class rocks.xmpp.dns.DnsResolver
Resolves DNS TXT records for the given domain.
ResultSet<T extends ResultSetItem> - Class in rocks.xmpp.extensions.rsm
A result set usually consists of a list of items and additional result set information (e.g. to mark first and last items).
ResultSetProvider<T extends ResultSetItem> - Interface in rocks.xmpp.extensions.rsm
Provides methods which are needed for result set management.
resume() - Method in class rocks.xmpp.extensions.sm.StreamManager
 
rocks.xmpp.core.sasl - package rocks.xmpp.core.sasl
Provides classes for SASL Negotiation (authentication).
rocks.xmpp.core.session - package rocks.xmpp.core.session
Provides classes related to an XMPP session.
rocks.xmpp.core.session.debug - package rocks.xmpp.core.session.debug
Provides classes for debugging an XMPP session.
rocks.xmpp.core.stanza - package rocks.xmpp.core.stanza
Provides classes for XML stanza management (message, presence, IQ).
rocks.xmpp.core.stream - package rocks.xmpp.core.stream
Provides classes for XML Streams, especially Stream Negotiation.
rocks.xmpp.debug.gui - package rocks.xmpp.debug.gui
 
rocks.xmpp.dns - package rocks.xmpp.dns
Provides classes for minimalistic DNS resolution for SRV and TXT records.
rocks.xmpp.extensions.caps - package rocks.xmpp.extensions.caps
Provides classes for XEP-0115: Entity Capabilities.
rocks.xmpp.extensions.compress - package rocks.xmpp.extensions.compress
Provides classes for XEP-0138: Stream Compression.
rocks.xmpp.extensions.disco - package rocks.xmpp.extensions.disco
Provides classes for XEP-0030: Service Discovery (#info).
rocks.xmpp.extensions.httpbind - package rocks.xmpp.extensions.httpbind
rocks.xmpp.extensions.privatedata - package rocks.xmpp.extensions.privatedata
Provides classes for XEP-0049: Private XML Storage.
rocks.xmpp.extensions.rsm - package rocks.xmpp.extensions.rsm
Provides classes for XEP-0059: Result Set Management.
rocks.xmpp.extensions.sm - package rocks.xmpp.extensions.sm
Provides classes for XEP-0198: Stream Management.
rocks.xmpp.im.chat - package rocks.xmpp.im.chat
Provides core classes needed for chat.
rocks.xmpp.im.roster - package rocks.xmpp.im.roster
Provides classes for roster management.
rocks.xmpp.im.subscription - package rocks.xmpp.im.subscription
Provides classes for Managing Presence Subscriptions.
rocks.xmpp.util.cache - package rocks.xmpp.util.cache
Provides simple cache implementations.
RosterEvent - Class in rocks.xmpp.im.roster
A roster event which holds information about added, updated and removed contacts of the roster.
RosterManager - Class in rocks.xmpp.im.roster
This class manages the roster (aka contact or buddy list).
route(String) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the route, formatted as "protocol:host:port" (e.g., "xmpp:example.com:9999").

S

secure(boolean) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets whether the connection is secured via SSL.
send(StreamElement) - Method in class rocks.xmpp.core.session.Connection
Sends an element over this connection.
send(StreamElement) - Method in class rocks.xmpp.core.session.TcpConnection
 
send(StreamElement) - Method in class rocks.xmpp.core.session.XmppClient
 
send(StreamElement) - Method in class rocks.xmpp.core.session.XmppSession
Sends an XML element to the server, usually a stanza, i.e. a message, presence or IQ.
send(StreamElement) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
sendAndAwaitMessage(Message, Predicate<Message>) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and returns an async result which can wait for the message stanza, which matches the predicate, to arrive.
sendAndAwaitPresence(Presence, Predicate<Presence>) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive.
sendIQ(IQ) - Method in class rocks.xmpp.core.session.XmppClient
 
sendIQ(IQ) - Method in class rocks.xmpp.core.session.XmppSession
Sends an IQ.
sendMessage(Message) - Method in class rocks.xmpp.core.session.XmppClient
 
sendMessage(Message) - Method in class rocks.xmpp.core.session.XmppSession
Sends a message.
sendMessage(String) - Method in class rocks.xmpp.im.chat.Chat
Sends a message to the chat.
sendMessage(Message) - Method in class rocks.xmpp.im.chat.Chat
Sends a message to the chat.
sendMessage(String) - Method in class rocks.xmpp.im.chat.ChatSession
Sends a chat message to the chat partner.
sendMessage(Message) - Method in class rocks.xmpp.im.chat.ChatSession
Sends a chat message to the chat partner.
sendPresence(Presence) - Method in class rocks.xmpp.core.session.XmppClient
 
sendPresence(Presence) - Method in class rocks.xmpp.core.session.XmppSession
Sends a presence.
SendTask<S extends Stanza> - Class in rocks.xmpp.core.session
A send task is the result of a send action and allows to keep track of the sent stanza.
ServiceDiscoveryManager - Class in rocks.xmpp.extensions.disco
SessionStatusEvent - Class in rocks.xmpp.core.session
An XMPP session event is fired, whenever the status of a session has changed, e.g. when it is abnormally disconnected.
setAskForGroupDelimiter(boolean) - Method in class rocks.xmpp.im.roster.RosterManager
Sets whether the server is asked for the roster delimiter before requesting the roster.
setDefault(TcpConnectionConfiguration) - Static method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Sets the default configuration.
setDefault(XmppSessionConfiguration) - Static method in class rocks.xmpp.core.session.XmppSessionConfiguration
Sets the default configuration.
setDefault(BoshConnectionConfiguration) - Static method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Sets the default configuration.
setEnabled(boolean) - Method in class rocks.xmpp.core.session.Manager
Enables or disables this manager.
setGroupDelimiter(String) - Method in class rocks.xmpp.im.roster.RosterManager
Sets the group delimiter without storing it on the server.
setItemProvider(ResultSetProvider<Item>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Sets an item provider for the root node.
setItemProvider(String, ResultSetProvider<Item>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Sets an item provider for a node.
setNode(String) - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesManager
Sets the node.
setReconnectionStrategy(ReconnectionStrategy) - Method in class rocks.xmpp.core.session.ReconnectionManager
setRequestStrategy(Predicate<Stanza>) - Method in class rocks.xmpp.extensions.sm.StreamManager
Sets the request strategy.
setRetrieveRosterOnLogin(boolean) - Method in class rocks.xmpp.im.roster.RosterManager
Controls, whether the roster is automatically retrieved as soon as the user has logged in.
size() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
size() - Method in class rocks.xmpp.util.cache.LruCache
 
socketFactory(SocketFactory) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
Sets a socket factory which creates the socket.
SrvRecord - Class in rocks.xmpp.dns
A DNS SRV resource record.
sslContext(SSLContext) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets a custom SSL context, used to secure the connection.
StanzaException - Exception in rocks.xmpp.core.stanza
A stanza exception represents a stanza error.
StanzaException(Stanza) - Constructor for exception rocks.xmpp.core.stanza.StanzaException
Constructs a stanza exception.
storeData(Object) - Method in class rocks.xmpp.extensions.privatedata.PrivateDataManager
Stores private data.
storeGroupDelimiter(String) - Method in class rocks.xmpp.im.roster.RosterManager
Stores the roster group delimiter in the private storage and afterwards sets it.
StreamErrorException - Exception in rocks.xmpp.core.stream
Represents a stream error.
StreamErrorException(StreamError) - Constructor for exception rocks.xmpp.core.stream.StreamErrorException
Constructs a stanza exception.
StreamFeatureListener - Interface in rocks.xmpp.core.stream
A feature listener, which listens for successful feature negotiation.
StreamFeatureNegotiator - Class in rocks.xmpp.core.stream
A base class to negotiate features.
StreamFeatureNegotiator(XmppSession, Class<? extends StreamFeature>) - Constructor for class rocks.xmpp.core.stream.StreamFeatureNegotiator
Constructs a feature negotiator.
StreamFeatureNegotiator.Status - Enum in rocks.xmpp.core.stream
Represents the status of the feature negotiation.
StreamFeaturesManager - Class in rocks.xmpp.core.stream
Manages the various features, which are advertised during stream negotiation.
StreamManager - Class in rocks.xmpp.extensions.sm
Manages the stream as described in XEP-0198: Stream Management.
StreamNegotiationException - Exception in rocks.xmpp.core.stream
An exception which indicates a failure during stream negotiation, e.g. if TLS or SASL negotiation or compression or resource binding fails.
StreamNegotiationException(String) - Constructor for exception rocks.xmpp.core.stream.StreamNegotiationException
 
StreamNegotiationException(String, Throwable) - Constructor for exception rocks.xmpp.core.stream.StreamNegotiationException
 
StreamNegotiationException(Throwable) - Constructor for exception rocks.xmpp.core.stream.StreamNegotiationException
 

T

TcpConnection - Class in rocks.xmpp.core.session
The default TCP socket connection as described in TCP Binding.
TcpConnectionConfiguration - Class in rocks.xmpp.core.session
A configuration for a TCP connection.
TcpConnectionConfiguration.Builder - Class in rocks.xmpp.core.session
A builder to create a TcpConnectionConfiguration instance.
toString() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
 
toString() - Method in class rocks.xmpp.core.session.ConnectionEvent
 
toString() - Method in class rocks.xmpp.core.session.SessionStatusEvent
 
toString() - Method in class rocks.xmpp.core.session.TcpConnection
 
toString() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
 
toString() - Method in class rocks.xmpp.dns.SrvRecord
 
toString() - Method in class rocks.xmpp.dns.TxtRecord
 
toString() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
toString() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
 
truncatedBinaryExponentialBackoffStrategy(int, int) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
This is the default reconnection strategy used by the ReconnectionManager.
TxtRecord - Class in rocks.xmpp.dns
A DNS TXT resource record.

U

unsubscribe(Jid) - Method in class rocks.xmpp.im.subscription.PresenceManager
Unsubscribes from a contact's presence.
updateContact(Contact) - Method in class rocks.xmpp.im.roster.RosterManager
Updates a contact in the roster.
useKeySequence(boolean) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Indicates whether a key sequencing mechanism is used to secure a connection.

V

valueOf(String) - Static method in enum rocks.xmpp.core.session.ConnectionEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum rocks.xmpp.core.session.XmppSession.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum rocks.xmpp.core.stream.StreamFeatureNegotiator.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum rocks.xmpp.core.session.ConnectionEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum rocks.xmpp.core.session.XmppSession.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum rocks.xmpp.core.stream.StreamFeatureNegotiator.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class rocks.xmpp.util.cache.DirectoryCache
 
values() - Method in class rocks.xmpp.util.cache.LruCache
 
VisualDebugger - Class in rocks.xmpp.debug.gui
 
VisualDebugger() - Constructor for class rocks.xmpp.debug.gui.VisualDebugger
 

W

wait(int) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the longest time (in seconds) that the connection manager is allowed to wait before responding to any request during the session.
writeStanza(String, Object) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
writeStanza(String, Object) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
This method is called, whenever a stream element is written.
writeStanza(String, Object) - Method in class rocks.xmpp.debug.gui.VisualDebugger
 

X

XmppClient - Class in rocks.xmpp.core.session
The base class for establishing an XMPP session with a server, i.e. client-to-server sessions.
XmppClient(String, ConnectionConfiguration...) - Constructor for class rocks.xmpp.core.session.XmppClient
XmppClient(String, XmppSessionConfiguration, ConnectionConfiguration...) - Constructor for class rocks.xmpp.core.session.XmppClient
XmppDebugger - Interface in rocks.xmpp.core.session.debug
A debugger interface, which allows to implement custom debugger implementation to log XMPP traffic.
XmppSaslClientFactory - Class in rocks.xmpp.core.sasl
A factory which creates SaslClients, which are used in XMPP context and are not natively provided by the default security provider.
XmppSaslClientFactory() - Constructor for class rocks.xmpp.core.sasl.XmppSaslClientFactory
 
XmppSession - Class in rocks.xmpp.core.session
The base class for different kinds of XMPP sessions.
XmppSession.Status - Enum in rocks.xmpp.core.session
Represents the session status.
XmppSessionConfiguration - Class in rocks.xmpp.core.session
A configuration for an XmppSession.
XmppSessionConfiguration.Builder - Class in rocks.xmpp.core.session
A builder to create an XmppSessionConfiguration instance.

Z

ZLIB - Static variable in class rocks.xmpp.extensions.compress.CompressionManager
Deprecated.
ZLIB - Static variable in interface rocks.xmpp.extensions.compress.CompressionMethod
The "zlib" compression method.
A B C D E F G H I K L M N O P Q R S T U V W X Z 
Skip navigation links

Copyright © 2014–2016 XMPP.rocks. All rights reserved.