- 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
-
- 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
-
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.
- 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>) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
-
Waits until the given feature will be negotiated.
- cacheDirectory(Path) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
-
- cancel(boolean) - Method in class rocks.xmpp.core.session.SendTask
-
- 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
-
- clearInbound() - Method in class rocks.xmpp.debug.gui.DebugController
-
- clearOutbound() - 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
-
- 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() - 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
-
- 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
-
- copyToClipboard() - 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 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) - 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.
- 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:
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.Connection
-
Gets the configuration for this connection.
- 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.
- 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.
- 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 class rocks.xmpp.core.session.SendTask
-
Gets the stanza, which has been sent.
- 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
-
- GZIP - Static variable in interface rocks.xmpp.extensions.compress.CompressionMethod
-
The "gzip" compression method.
- 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
-
- 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.
- isCancelled() - Method in class rocks.xmpp.core.session.SendTask
-
- 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.
- 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
-
- 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.
- 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.
- removeFeatureNegotiator(StreamFeatureNegotiator) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
-
Removes a feature negotiator.
- 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.
- 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.
- 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.
- reset() - Method in class rocks.xmpp.extensions.sm.StreamManager
-
Resets any client enabled state.
- resolveSRV(CharSequence, CharSequence, String, long) - Static method in class rocks.xmpp.dns.DnsResolver
-
Resolves DNS SRV records for the given domain.
- resolveSRV(CharSequence, CharSequence, long) - Static method in class rocks.xmpp.dns.DnsResolver
-
Deprecated.
- resolveTXT(CharSequence, String, long) - Static method in class rocks.xmpp.dns.DnsResolver
-
Resolves DNS TXT records for the given domain.
- resolveTXT(CharSequence, long) - Static method in class rocks.xmpp.dns.DnsResolver
-
Deprecated.
- 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
-
Resumes the stream.
- rocks.xmpp.core.sasl - package rocks.xmpp.core.sasl
-
- 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
-
- 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
-
- 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
-
- rocks.xmpp.extensions.compress - package rocks.xmpp.extensions.compress
-
- rocks.xmpp.extensions.disco - package rocks.xmpp.extensions.disco
-
- rocks.xmpp.extensions.httpbind - package rocks.xmpp.extensions.httpbind
-
- rocks.xmpp.extensions.privatedata - package rocks.xmpp.extensions.privatedata
-
- rocks.xmpp.extensions.rsm - package rocks.xmpp.extensions.rsm
-
- rocks.xmpp.extensions.sm - package rocks.xmpp.extensions.sm
-
- rocks.xmpp.im.chat - package rocks.xmpp.im.chat
-
Provides core classes needed for chat.
- rocks.xmpp.im.roster - package rocks.xmpp.im.roster
-
- rocks.xmpp.im.subscription - package rocks.xmpp.im.subscription
-
- 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").
- 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.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(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.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.
- 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
-
- 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
-
- 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
-