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

A

AbstractTcpConnector<T> - Class in rocks.xmpp.core.net.client
An abstract transport connector which binds XMPP to TCP using the preferred TCP resolution process.
AbstractTcpConnector() - Constructor for class rocks.xmpp.core.net.client.AbstractTcpConnector
 
addCapabilitiesChangeListener(Consumer<EventObject>) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Adds a property change listener, which listens for changes in the identities, features and extensions 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.client.ClientServiceDiscoveryManager
Adds an extension.
addFeature(String) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Adds a feature.
addFeatureNegotiator(StreamFeatureNegotiator<? extends StreamFeature>) - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
Adds a new feature negotiator, which is responsible for negotiating an individual feature.
addIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
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.
addInfo(DiscoverableInfo) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Adds discoverable information to the root node.
addIQHandler(IQHandler) - Method in class rocks.xmpp.core.session.XmppSession
Adds an IQ handler for a given payload type.
addIQHandler(IQHandler, boolean) - Method in class rocks.xmpp.core.session.XmppSession
Deprecated.
Simply use XmppSession.addIQHandler(IQHandler), this method now behaves the same.
addMessageAcknowledgedListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a listener, which gets called, when the server acknowledges the receipt of a message.
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.
addSendFailedListener(BiConsumer<StreamElement, Throwable>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a listener, which gets called, whenever a stream element (e.g. message) has been sent unsuccessfully.
addSendSucceededListener(Consumer<StreamElement>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a listener, which gets called, whenever a stream element (e.g. message) has been sent successfully.
addSessionStatusListener(Consumer<SessionStatusEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Adds a session listener, which listens for session status changes.
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.
AUTHENTICATED - rocks.xmpp.core.session.XmppSession.Status
The session has authenticated.
AUTHENTICATING - rocks.xmpp.core.session.XmppSession.Status
The session is currently authenticating with the server.
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>) - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
Waits until the given feature will be negotiated.

B

BoshConnection - Class in rocks.xmpp.extensions.httpbind
The abstract base class for BOSH connections.
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.net.client.ClientConnectionConfiguration.Builder
Builds the connection configuration.
build() - Method in class rocks.xmpp.core.net.client.SocketConnectionConfiguration.Builder
Deprecated.
 
build() - Method in class rocks.xmpp.core.net.client.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.net.client.SocketConnectionConfiguration
Deprecated.
Creates a new builder for this class.
builder() - Static method in class rocks.xmpp.core.net.client.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.
cancel(boolean) - Method in class rocks.xmpp.core.session.SendTask
 
cancelNegotiation() - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
Cancels negotiation and releases any locks.
channelEncryption(ChannelEncryption) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets how the connection is secured via SSL.
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.
ClientConnectionConfiguration - Class in rocks.xmpp.core.net.client
A base class for connection configurations.
ClientConnectionConfiguration.Builder<T extends ClientConnectionConfiguration.Builder<T,​C>,​C extends ClientConnectionConfiguration> - Class in rocks.xmpp.core.net.client
An abstract builder class for building immutable configuration objects.
ClientEntityCapabilities1Protocol - Class in rocks.xmpp.extensions.caps.client
The Entity Caps protocol implementation from a client perspective.
ClientEntityCapabilities1Protocol(XmppSession) - Constructor for class rocks.xmpp.extensions.caps.client.ClientEntityCapabilities1Protocol
 
ClientEntityCapabilities2Protocol - Class in rocks.xmpp.extensions.caps2.client
The Entity Caps 2.0 protocol implementation from a client perspective.
ClientEntityCapabilities2Protocol(XmppSession) - Constructor for class rocks.xmpp.extensions.caps2.client.ClientEntityCapabilities2Protocol
 
ClientEntityCapabilitiesManager - Class in rocks.xmpp.extensions.caps.client
Caches entity capabilities.
ClientEntityCapabilitiesManager(XmppSession) - Constructor for class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
 
ClientEntityCapabilitiesSupport - Class in rocks.xmpp.extensions.caps.client
Helper class to add entity capabilities to outbound presence.
ClientEntityCapabilitiesSupport(XmppSession, AbstractEntityCapabilitiesProtocol<? extends EntityCapabilities>) - Constructor for class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesSupport
 
ClientServiceDiscoveryManager - Class in rocks.xmpp.extensions.disco.client
ClientStreamManager - Class in rocks.xmpp.extensions.sm.client
Manages the stream as described in XEP-0198: Stream Management.
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.im.chat.ChatSession
 
closeAsync() - Method in class rocks.xmpp.core.session.XmppSession
 
closeAsync(StreamError) - Method in class rocks.xmpp.core.session.XmppSession
 
CLOSED - rocks.xmpp.core.session.XmppSession.Status
The session is closed.
closeFuture() - Method in class rocks.xmpp.core.net.client.SocketConnection
 
closeFuture() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
closeOnShutdown(boolean) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Indicates whether the XMPP session is closed, when the JVM is shut down.
CLOSING - rocks.xmpp.core.session.XmppSession.Status
The session is closing.
compareTo(SrvRecord) - Method in class rocks.xmpp.dns.SrvRecord
 
compareTo(TxtRecord) - Method in class rocks.xmpp.dns.TxtRecord
 
completeNegotiation() - Method in class rocks.xmpp.core.stream.client.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.
compressConnection(String, Runnable) - Method in class rocks.xmpp.core.net.client.SocketConnection
 
CompressionManager - Class in rocks.xmpp.extensions.compress
Manages stream compression as described in XEP-0138: Stream Compression.
CompressionManager(Session, TcpConnection) - Constructor for class rocks.xmpp.extensions.compress.CompressionManager
 
CompressionMethod - Interface in rocks.xmpp.extensions.compress
An interface to describe a compression method.
compressionMethods(CompressionMethod...) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets the compression method.
connect() - Method in class rocks.xmpp.core.session.XmppSession
Connects to the XMPP server.
connect(Jid) - Method in class rocks.xmpp.core.session.XmppClient
Connects to the XMPP server.
connect(Jid) - Method in class rocks.xmpp.core.session.XmppSession
 
connect(XmppSession, TcpConnectionConfiguration, SessionOpen) - Method in class rocks.xmpp.core.net.client.SocketConnector
 
connect(XmppSession, BoshConnectionConfiguration, SessionOpen) - Method in class rocks.xmpp.extensions.httpbind.HttpClientConnector
 
connect(XmppSession, BoshConnectionConfiguration, SessionOpen) - Method in class rocks.xmpp.extensions.httpbind.HttpUrlConnector
 
connect(XmppSession, T, SessionOpen) - Method in interface rocks.xmpp.core.net.client.TransportConnector
Establishes a connection using the transport protocol specific configuration.
CONNECTED - rocks.xmpp.core.session.XmppSession.Status
The session is established with the server, features are negotiated, but we are not yet authenticated.
CONNECTING - rocks.xmpp.core.session.XmppSession.Status
The session is currently negotiating features.
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. When the automatic reconnection has successfully reconnected, i.e.
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(String, Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
ConnectionException(Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
 
connector(TransportConnector<C>) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets the transport connector, which is used to establish a connection.
connectTimeout(int) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.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
 
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, ClientConnectionConfiguration...) - Static method in class rocks.xmpp.core.session.XmppClient
Creates a new XMPP client instance.
create(String, XmppSessionConfiguration, ClientConnectionConfiguration...) - Static method in class rocks.xmpp.core.session.XmppClient
Creates a new XMPP client instance.
createChatSession(Jid) - Method in class rocks.xmpp.im.chat.ChatManager
Creates a new chat session or returns an existing one for the given chat partner and notifies any chat session listeners about it.
createChatSession(Jid, String) - Method in class rocks.xmpp.im.chat.ChatManager
Creates a new chat session with a given thread id or returns an existing one for the given chat partner and notifies any chat session listeners about it.
createConnection(XmppSession, SessionOpen) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
A factory method to create the connection.
createConnection(XmppSession, SessionOpen) - Method in class rocks.xmpp.core.net.client.SocketConnectionConfiguration
Deprecated.
 
createConnection(XmppSession, SessionOpen) - Method in class rocks.xmpp.core.net.client.TcpConnectionConfiguration
 
createConnection(XmppSession, SessionOpen) - 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.
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.
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.
createUnmarshaller(Locale) - Method in class rocks.xmpp.core.session.XmppSession
Creates a new unmarshaller with a default locale.

D

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.
defaultResponseTimeout(Duration) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the default response timeout for synchronous calls, usually IQ calls.
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.
disableFeature(Class<? extends Manager>) - Method in class rocks.xmpp.core.session.XmppSession
Disables a feature by its manager class.
disableFeature(String) - Method in class rocks.xmpp.core.session.XmppSession
Disables a feature by its name, usually a protocol namespace.
DISCONNECTED - rocks.xmpp.core.session.ConnectionEvent.Type
The connection is disconnected.
DISCONNECTED - rocks.xmpp.core.session.XmppSession.Status
The session has been temporarily disconnected by an exception.
discoverCapabilities(Jid) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
Discovers the capabilities of another XMPP entity.
discoverInformation(Jid, String) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Discovers information about another XMPP entity targeted at a specific node.
discoverItems(Jid, String, ResultSetManagement) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Discovers item associated with another XMPP entity.
DnsResolver - Class in rocks.xmpp.dns
A minimalistic DNS resolver, which can resolve SRV and TXT records in the context of XMPP.

E

enableFeature(Class<?>) - Method in class rocks.xmpp.core.session.XmppSession
Enables a feature by its manager class.
enableFeature(String) - Method in class rocks.xmpp.core.session.XmppSession
Enables a feature by its name, usually a protocol namespace.
equals(Object) - Method in class rocks.xmpp.core.session.Extension
 
equals(Object) - Method in class rocks.xmpp.dns.SrvRecord
 
equals(Object) - Method in class rocks.xmpp.dns.TxtRecord
 
executor(Executor) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the executor, which processes inbound stanzas.
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

flush() - Method in class rocks.xmpp.core.net.client.SocketConnection
 
flush() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 

G

get() - Method in class rocks.xmpp.core.session.SendTask
 
get(long, TimeUnit) - Method in class rocks.xmpp.core.session.SendTask
 
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:
getCause() - Method in class rocks.xmpp.core.session.ConnectionEvent
Gets the cause of the disconnection or reconnection failure.
getChannelEncryption() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
 
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.net.client.ClientConnectionConfiguration
Gets the compression methods.
getCondition() - Method in exception rocks.xmpp.core.sasl.AuthenticationException
The specific SASL 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.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.
getConnector() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Gets the transport connector.
getConnectTimeout() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
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.net.client.SocketConnectionConfiguration
Deprecated.
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 boshConnectionConfiguration.
getDefaultInfo() - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
 
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.
getExecutor() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the executor, which processes inbound stanzas.
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.client.ClientServiceDiscoveryManager
Gets an unmodifiable list of extensions.
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.client.StreamFeaturesManager
Gets the available features, which the server has advertised.
getFeatures(Class<T>) - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
 
getGroupDelimiter() - Method in class rocks.xmpp.im.roster.RosterManager
Gets the group delimiter.
getHostname() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
Gets the hostname.
getHostnameVerifier() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
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.client.ClientServiceDiscoveryManager
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.
getKeepAliveInterval() - Method in class rocks.xmpp.core.net.client.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.
getLocalXmppAddress() - Method in class rocks.xmpp.core.session.XmppSession
 
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
 
getName() - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
Gets the compression method name, e.g.
getNameServer() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the name server used for resolving DNS SRV and TXT records during connecting.
getNamespace() - Method in class rocks.xmpp.core.session.Extension
Gets the protocol namespace.
getNamespace() - Method in class rocks.xmpp.im.roster.RosterManager
 
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(int, Throwable) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
Gets the duration after which the next reconnection is attempted.
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.net.client.ClientConnectionConfiguration
Gets the port.
getPort() - Method in class rocks.xmpp.dns.SrvRecord
Gets the port on this target host of this service.
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.net.client.ClientConnectionConfiguration
Gets the proxy.
getReaderInterceptors() - Method in class rocks.xmpp.core.session.XmppSession
 
getReconnectionStrategy() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the reconnection strategy.
getRemoteAddress() - Method in class rocks.xmpp.core.net.client.SocketConnection
 
getRemoteAddress() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
getRemoteXmppAddress() - Method in class rocks.xmpp.core.session.XmppSession
 
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.
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.net.client.SocketConnectionConfiguration
Deprecated.
Gets the socket factory.
getSSLContext() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
Gets the SSL context.
getStanza() - Method in class rocks.xmpp.core.session.SendTask
Gets the stanza, which has been sent.
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.
getStreamManagementId() - Method in class rocks.xmpp.extensions.sm.client.ClientStreamManager
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.
getThreadFactory(String) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Gets the thread factory for the 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.
getWriterInterceptors() - Method in class rocks.xmpp.core.session.XmppSession
 
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 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.
handleElement(Object) - Method in class rocks.xmpp.core.stream.client.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.
handleOutboundPresence(PresenceEvent) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilities1Protocol
 
handleOutboundPresence(PresenceEvent) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesSupport
 
handleOutboundPresence(PresenceEvent) - Method in class rocks.xmpp.extensions.caps2.client.ClientEntityCapabilities2Protocol
 
hashCode() - Method in class rocks.xmpp.core.session.Extension
 
hashCode() - Method in class rocks.xmpp.dns.SrvRecord
 
hashCode() - Method in class rocks.xmpp.dns.TxtRecord
 
hostname(String) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets the hostname.
hostnameVerifier(HostnameVerifier) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets an optional hostname verifier, used to verify the hostname in the certificate presented by the server.
HttpClientConnector - Class in rocks.xmpp.extensions.httpbind
A BOSH transport connector which uses HttpClient.
HttpClientConnector() - Constructor for class rocks.xmpp.extensions.httpbind.HttpClientConnector
 
HttpUrlConnector - Class in rocks.xmpp.extensions.httpbind
A BOSH transport connector which uses HttpURLConnection.
HttpUrlConnector() - Constructor for class rocks.xmpp.extensions.httpbind.HttpUrlConnector
 

I

INITIAL - rocks.xmpp.core.session.XmppSession.Status
The session is in initial state.
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.
initialPresence(Supplier<Presence>) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets a supplier for initial presence which is sent during login.
isActive() - Method in class rocks.xmpp.extensions.sm.client.ClientStreamManager
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.
isCancelled() - Method in class rocks.xmpp.core.session.SendTask
 
isCloseOnShutdown() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
Indicates, if the session is gracefully closed on shutdown of the runtime (JVM).
isConnected() - Method in class rocks.xmpp.core.session.XmppSession
Indicates, whether the session is connected.
isDone() - Method in class rocks.xmpp.core.session.SendTask
 
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.
isEnabled() - Method in class rocks.xmpp.im.roster.RosterManager
 
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.client.ClientStreamManager
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.net.client.SocketConnection
 
isSecure() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
isSupported(String, Jid) - Method in class rocks.xmpp.core.session.XmppSession
Determines support of another XMPP entity for a 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.net.client.SocketConnection
 
isUsingAcknowledgements() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 

K

keepAliveInterval(int) - Method in class rocks.xmpp.core.net.client.SocketConnectionConfiguration.Builder
Deprecated.
Sets the whitespace keep-alive interval in seconds.
keepAliveInterval(Duration) - Method in class rocks.xmpp.core.net.client.TcpConnectionConfiguration.Builder
Sets the whitespace keep-alive interval.

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.

M

Manager - Class in rocks.xmpp.core.session
A generic manager class, which allows to enable or disable certain functionality.
Manager(XmppSession) - Constructor for class rocks.xmpp.core.session.Manager
 
Manager(XmppSession, boolean) - Constructor for class rocks.xmpp.core.session.Manager
 
markAcknowledged(Stanza) - Method in class rocks.xmpp.core.session.XmppSession
Marks a stanza as acknowledged.
mayReconnect(int, Throwable) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
 
Module - Interface in rocks.xmpp.core.session
A module defines a set of extensions.

N

nameServer(String) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the name server used for resolving DNS SRV and TXT records during connecting.
newHttpClientBuilder(ClientConnectionConfiguration) - Static method in class rocks.xmpp.extensions.httpbind.HttpClientConnector
Returns a new HttpClient.Builder configured with the given configuration.
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<?>, 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<?>, 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.
onFailed(BiConsumer<Throwable, S>) - Method in class rocks.xmpp.core.session.SendTask
Called, when a send operation failed.
onSent(Consumer<S>) - Method in class rocks.xmpp.core.session.SendTask
Called, when a stanza has been sent to 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.
open(SessionOpen) - Method in class rocks.xmpp.core.net.client.SocketConnection
 
open(SessionOpen) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 

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.net.client.ClientConnectionConfiguration.Builder
Sets the port.
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.
process(Reader, Consumer<StreamElement>, ReaderInterceptorChain) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
process(StreamElement, Writer, WriterInterceptorChain) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
process(StreamElement, Writer, WriterInterceptorChain) - Method in class rocks.xmpp.extensions.sm.client.ClientStreamManager
 
processFeatures(StreamFeatures) - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
Processes the <stream:features/> element and immediately starts negotiating the first feature.
processNegotiation(Object) - Method in class rocks.xmpp.core.tls.client.StartTlsManager
 
processNegotiation(Object) - Method in class rocks.xmpp.extensions.compress.CompressionManager
 
processNegotiation(Object) - Method in class rocks.xmpp.extensions.sm.client.ClientStreamManager
 
proxy(Proxy) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets the proxy, e.g. if you are behind a HTTP proxy and use a BOSH connection.

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, 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.
query(IQ, Duration) - 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

readCapabilities(Hash) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
 
readEntityCapabilities(Jid) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
 
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.
RECONNECTION_FAILED - rocks.xmpp.core.session.ConnectionEvent.Type
The reconnection has failed.
RECONNECTION_PENDING - rocks.xmpp.core.session.ConnectionEvent.Type
The reconnection is pending.
RECONNECTION_SUCCEEDED - rocks.xmpp.core.session.ConnectionEvent.Type
The reconnection has succeeded.
reconnectionStrategy(ReconnectionStrategy) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the reconnection strategy, which determined when to reconnect after a disconnection.
ReconnectionStrategy - Interface in rocks.xmpp.core.session
A strategy for reconnection logic, i.e. when and in which interval reconnection attempts will happen.
removeCapabilitiesChangeListener(Consumer<EventObject>) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
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.client.ClientServiceDiscoveryManager
Removes an extension.
removeFeature(String) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
Removes a feature.
removeFeatureNegotiator(StreamFeatureNegotiator<? extends StreamFeature>) - Method in class rocks.xmpp.core.stream.client.StreamFeaturesManager
Removes a feature negotiator.
removeIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.client.ClientServiceDiscoveryManager
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.
removeIQHandler(IQHandler) - Method in class rocks.xmpp.core.session.XmppSession
Removes an IQ handler.
removeMessageAcknowledgedListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added message acknowledge listener.
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.
removeSendFailedListener(BiConsumer<StreamElement, Throwable>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added send failed listener.
removeSendSucceededListener(Consumer<StreamElement>) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added send succeeded 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.
requestSubscription(Jid, String) - Method in class rocks.xmpp.im.subscription.PresenceManager
Sends a subscription request to a potential contact.
resolveSRV(CharSequence, CharSequence, String, long) - Static method in class rocks.xmpp.dns.DnsResolver
Resolves DNS SRV records for the given domain.
resolveTXT(CharSequence, String, long) - Static method in class rocks.xmpp.dns.DnsResolver
Resolves DNS TXT records for the given domain.
resume() - Method in class rocks.xmpp.extensions.sm.client.ClientStreamManager
Resumes the stream.
rocks.xmpp.core.net.client - package rocks.xmpp.core.net.client
Provides classes for client side connection configuration and establishment.
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.stream.client - package rocks.xmpp.core.stream.client
Provides classes for client-side stream negotiation.
rocks.xmpp.core.tls.client - package rocks.xmpp.core.tls.client
Provides classes for client-side STARTTLS negotiation.
rocks.xmpp.dns - package rocks.xmpp.dns
Provides classes for minimalistic DNS resolution for SRV and TXT records.
rocks.xmpp.extensions.caps.client - package rocks.xmpp.extensions.caps.client
 
rocks.xmpp.extensions.caps2.client - package rocks.xmpp.extensions.caps2.client
 
rocks.xmpp.extensions.compress - package rocks.xmpp.extensions.compress
Provides classes for XEP-0138: Stream Compression.
rocks.xmpp.extensions.disco.client - package rocks.xmpp.extensions.disco.client
 
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.sm.client - package rocks.xmpp.extensions.sm.client
 
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.
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

secureConnection() - Method in class rocks.xmpp.core.net.client.SocketConnection
This method is called from the reader thread.
send(StreamElement) - Method in class rocks.xmpp.core.net.client.SocketConnection
 
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.XmppSession
Sends an IQ.
sendMessage(String) - 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.core.session.XmppSession
Sends a message.
sendMessage(Message) - Method in class rocks.xmpp.im.chat.Chat
Sends a message to the chat.
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.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.
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(SocketConnectionConfiguration) - Static method in class rocks.xmpp.core.net.client.SocketConnectionConfiguration
Deprecated.
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.
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.
SocketConnection - Class in rocks.xmpp.core.net.client
The default TCP socket connection as described in TCP Binding.
SocketConnectionConfiguration - Class in rocks.xmpp.core.net.client
Deprecated, for removal: This API element is subject to removal in a future version.
SocketConnectionConfiguration.Builder - Class in rocks.xmpp.core.net.client
Deprecated.
A builder to create a TcpConnectionConfiguration instance.
SocketConnector - Class in rocks.xmpp.core.net.client
A TCP transport connector which uses Socket.
SocketConnector() - Constructor for class rocks.xmpp.core.net.client.SocketConnector
Creates a connector using a plain socket.
SocketConnector(SocketFactory) - Constructor for class rocks.xmpp.core.net.client.SocketConnector
Creates a connector using a socket factory.
socketFactory(SocketFactory) - Method in class rocks.xmpp.core.net.client.SocketConnectionConfiguration.Builder
Deprecated.
Sets a socket factory which creates the socket.
SrvRecord - Class in rocks.xmpp.dns
A DNS SRV resource record.
SrvRecord(int, int, int, String) - Constructor for class rocks.xmpp.dns.SrvRecord
 
sslContext(SSLContext) - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration.Builder
Sets a custom SSL context, used to secure the connection.
StartTlsManager - Class in rocks.xmpp.core.tls.client
Negotiates transport layer security during stream negotiation.
StartTlsManager(Session, TcpConnection, ChannelEncryption) - Constructor for class rocks.xmpp.core.tls.client.StartTlsManager
 
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.
StreamFeaturesManager - Class in rocks.xmpp.core.stream.client
Manages the various features, which are advertised during stream negotiation.

T

TcpConnectionConfiguration - Class in rocks.xmpp.core.net.client
A configuration for a TCP connection.
TcpConnectionConfiguration.Builder - Class in rocks.xmpp.core.net.client
A builder to create a TcpConnectionConfiguration instance.
threadFactory(ThreadFactory) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets a custom thread factory.
toString() - Method in class rocks.xmpp.core.net.client.ClientConnectionConfiguration
 
toString() - Method in class rocks.xmpp.core.net.client.SocketConnection
 
toString() - Method in class rocks.xmpp.core.session.ConnectionEvent
 
toString() - Method in class rocks.xmpp.core.session.Extension
 
toString() - Method in class rocks.xmpp.core.session.SessionStatusEvent
 
toString() - Method in class rocks.xmpp.dns.SrvRecord
 
toString() - Method in class rocks.xmpp.dns.TxtRecord
 
toString() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
 
TransportConnector<T extends ClientConnectionConfiguration> - Interface in rocks.xmpp.core.net.client
Transport Connectors bind XMPP to a transport protocol such as TCP, BOSH or WebSockets.
truncatedBinaryExponentialBackoffStrategy(int, int) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
This is the default reconnection strategy.
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.
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.

W

wait(Duration) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the longest time that the connection manager is allowed to wait before responding to any request during the session.
write(StreamElement) - Method in class rocks.xmpp.core.net.client.SocketConnection
 
write(StreamElement) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
writeCapabilities(Hash, DiscoverableInfo) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
 
writeEntityCapabilities(Jid, DiscoverableInfo) - Method in class rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesManager
 
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.

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.
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 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 
All Classes All Packages