- 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 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.
- 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.
- addOutboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Adds an outbound IQ listener to the session, which will get notified, whenever an IQ stanza is sent.
- addOutboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Adds an outbound message listener to the session, which will get notified, whenever a message is sent.
- addOutboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Adds an outbound presence listener to the session, which will get notified, whenever a presence is sent.
- addRosterListener(Consumer<RosterEvent>) - Method in class rocks.xmpp.im.roster.RosterManager
-
Adds a roster listener, which will get notified, whenever the roster changes.
- addSessionStatusListener(Consumer<SessionStatusEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Adds a session listener, which listens for session status changes.
- after(long, TimeUnit) - Static method in interface rocks.xmpp.core.session.ReconnectionStrategy
-
Reconnects always after a fix amount of time, e.g. after 10 seconds.
- approveSubscription(Jid) - Method in class rocks.xmpp.im.subscription.PresenceManager
-
Approves a subscription request.
- AuthenticationException - Exception in rocks.xmpp.core.sasl
-
An exception thrown during the login process, if SASL negotiation with the XMPP server fails.
- AuthenticationException(String) - Constructor for exception rocks.xmpp.core.sasl.AuthenticationException
-
- AuthenticationException(String, Failure) - Constructor for exception rocks.xmpp.core.sasl.AuthenticationException
-
- authenticationMechanisms(String...) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
-
Sets the preferred mechanisms used for this XMPP session.
- awaitNegotiation(Class<? extends StreamFeature>, long) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
-
Waits until the given feature will be negotiated.
- cacheDirectory(Path) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
-
- 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
-
- Chat - Class in rocks.xmpp.im.chat
-
An abstract chat class, which represents either a one-to-one chat session or a group chat session.
- Chat() - Constructor for class rocks.xmpp.im.chat.Chat
-
- ChatManager - Class in rocks.xmpp.im.chat
-
This class manages one-to-one chat sessions, which are described in
5.1.
- ChatSession - Class in rocks.xmpp.im.chat
-
Implements a one-to-one chat session.
- ChatSession.ChatPartnerEvent - Class in rocks.xmpp.im.chat
-
A
ChatPartnerEvent is fired, whenever a
ChatSession's partner was
replaced.
- ChatSessionEvent - Class in rocks.xmpp.im.chat
-
A chat session event is fired, whenever a new chat session is created.
- clear() - Method in class rocks.xmpp.debug.gui.DebugController
-
- clear() - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- clear() - Method in class rocks.xmpp.util.cache.LruCache
-
- clearInbound(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
-
- clearOutbound(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
-
- close() - Method in class rocks.xmpp.core.session.TcpConnection
-
Closes the TCP connection.
- close() - Method in class rocks.xmpp.core.session.XmppSession
-
Explicitly closes the session and performs a clean up of all listeners.
- close() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
-
- close() - Method in class rocks.xmpp.im.chat.ChatSession
-
- completeNegotiation(long) - Method in class rocks.xmpp.core.stream.StreamFeaturesManager
-
Negotiates all pending features, if any, and waits until all features have been negotiated.
- compress(OutputStream) - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
-
Gets the compressed output stream.
- CompressionManager - Class in rocks.xmpp.extensions.compress
-
- 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 a
disconnected.
- ConnectionEvent.Type - Enum in rocks.xmpp.core.session
-
The connection event type.
- ConnectionException - Exception in rocks.xmpp.core.session
-
Indicates a failure while connecting to the server.
- ConnectionException() - Constructor for exception rocks.xmpp.core.session.ConnectionException
-
- ConnectionException(String) - Constructor for exception rocks.xmpp.core.session.ConnectionException
-
- ConnectionException(Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
-
- ConnectionException(String, Throwable) - Constructor for exception rocks.xmpp.core.session.ConnectionException
-
- connectTimeout(int) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
-
Sets a timeout for the connection establishment.
- ConsoleDebugger - Class in rocks.xmpp.core.session.debug
-
A simple debugger implementation, which uses System.out to print XMPP traffic.
- ConsoleDebugger() - Constructor for class rocks.xmpp.core.session.debug.ConsoleDebugger
-
- containsKey(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- containsKey(Object) - Method in class rocks.xmpp.util.cache.LruCache
-
- containsValue(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- containsValue(Object) - Method in class rocks.xmpp.util.cache.LruCache
-
- context(CoreContext) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
-
- copyToClipboard(ActionEvent) - Method in class rocks.xmpp.debug.gui.DebugController
-
- CoreContext - Class in rocks.xmpp.core.session.context
-
Deprecated.
- CoreContext() - Constructor for class rocks.xmpp.core.session.context.CoreContext
-
Deprecated.
- CoreContext(Class<?>...) - Constructor for class rocks.xmpp.core.session.context.CoreContext
-
Deprecated.
- CoreContext(Extension...) - Constructor for class rocks.xmpp.core.session.context.CoreContext
-
Deprecated.
- 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
-
- 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(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- get(Object) - Method in class rocks.xmpp.util.cache.LruCache
-
- getActiveConnection() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the actively used connection.
- getAddedContacts() - Method in class rocks.xmpp.im.roster.RosterEvent
-
Gets the added contacts, which have been added since the last roster push or which have been initially set by the first roster result.
- getAuthenticationMechanisms() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
-
Gets the preferred authentication (SASL) mechanisms.
- getCacheDirectory() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
-
Gets the caching directory for directory-based caches used for:
XEP-0084: User Avatar
XEP-0115: Entity Capabilities
XEP-0153: vCard-Based Avatars
By default this directory is called
xmpp.rocks and is located in the operating system's application data folder:
For Windows it is
%APPDATA%, which usually is
C:\Users\{USERNAME}\AppData\Roaming
For Mac it is
~/Library/Application Support
Else it is the user's home directory.
- getCapabilities() - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesChangeEvent
-
- getCause() - Method in class rocks.xmpp.core.session.ConnectionEvent
-
Gets the cause of the disconnection or reconnection failure.
- getChatPartner() - Method in class rocks.xmpp.im.chat.ChatSession
-
Gets the chat partner of this chat session.
- getChatSession() - Method in class rocks.xmpp.im.chat.ChatSessionEvent
-
Gets the chat session.
- getClasses() - Method in class rocks.xmpp.core.session.Extension
-
Gets the collection of classes, which represent the extension's XML schema implementation.
- getCompressionMethods() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
-
Gets the compression methods.
- getCondition() - Method in exception rocks.xmpp.core.sasl.AuthenticationException
-
The specific SASL error condition.
- getCondition() - Method in exception rocks.xmpp.core.stanza.StanzaException
-
Gets the defined error condition.
- getCondition() - Method in exception rocks.xmpp.core.stream.StreamErrorException
-
Gets the defined error condition.
- getCondition() - Method in exception rocks.xmpp.extensions.httpbind.BoshException
-
Gets the BOSH error condition.
- getConfiguration() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the configuration for this session.
- getConfiguredCompressionMethods() - Method in class rocks.xmpp.extensions.compress.CompressionManager
-
Gets the configured compression methods.
- getConnectedResource() - Method in class rocks.xmpp.core.session.XmppClient
-
Gets the connected resource, which is assigned by the server after resource binding.
- getConnectedResource() - Method in class rocks.xmpp.core.session.XmppSession
-
The connected resource, which is assigned by the server.
- getConnections() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets an unmodifiable list of connections, which this session will try during connecting.
- getConnectTimeout() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
-
Gets the timeout for connection establishment.
- getContact(Jid) - Method in class rocks.xmpp.im.roster.RosterManager
-
Gets a contact by its JID.
- getContactGroups() - Method in class rocks.xmpp.im.roster.RosterManager
-
Gets the contact groups.
- getContacts() - Method in class rocks.xmpp.im.roster.RosterManager
-
Gets the contacts.
- getData(Class<T>) - Method in class rocks.xmpp.extensions.privatedata.PrivateDataManager
-
Gets private data, which is stored on the server.
- getDebugger() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the debugger or null if no debugger class was specified in the configuration.
- getDebugger() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
-
Gets the current debugger for this session.
- getDefault() - Static method in class rocks.xmpp.core.session.TcpConnectionConfiguration
-
Gets the default configuration.
- getDefault() - Static method in class rocks.xmpp.core.session.XmppSessionConfiguration
-
Gets the default configuration.
- getDefault() - Static method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
-
Gets the default configuration.
- getDefaultResponseTimeout() - Method in class rocks.xmpp.core.session.XmppSessionConfiguration
-
Gets the response timeout.
- getDomain() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the XMPP domain of the connected server.
- getEnabledFeatures() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the enabled features.
- getEntity() - Method in class rocks.xmpp.extensions.caps.EntityCapabilitiesChangeEvent
-
- 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.context.CoreContext
-
Deprecated.
Gets the class context.
- 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.
- getFile() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
-
Deprecated.
- 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.
- getLastSentPresence() - Method in class rocks.xmpp.im.subscription.PresenceManager
-
Gets the last sent (non-directed) presence, that has been broadcast by the server.
- getLastSentPresences() - Method in class rocks.xmpp.im.subscription.PresenceManager
-
Gets the last sent presences, that have been sent, including directed presences.
- getManager() - Method in class rocks.xmpp.core.session.Extension
-
Gets the manager class.
- getManager(Class<T>) - Method in class rocks.xmpp.core.session.XmppSession
-
Gets an instance of the specified manager class.
- getMechanismNames(Map<String, ?>) - Method in class rocks.xmpp.core.sasl.XmppSaslClientFactory
-
- getMessage() - Method in class rocks.xmpp.core.stanza.MessageEvent
-
Gets the message.
- getName() - Method in interface rocks.xmpp.extensions.compress.CompressionMethod
-
Gets the compression method name, e.g.
- getNamespace() - Method in class rocks.xmpp.core.session.Extension
-
Gets the protocol namespace.
- getNegotiatedCompressionMethod() - Method in class rocks.xmpp.extensions.compress.CompressionManager
-
Gets the negotiated compression method.
- getNewChatPartner() - Method in class rocks.xmpp.im.chat.ChatSession.ChatPartnerEvent
-
Gets the JID of the new chat partner.
- getNextReconnectionAttempt() - Method in class rocks.xmpp.core.session.ConnectionEvent
-
Gets the duration until the next reconnection is attempted.
- getNextReconnectionAttempt() - Method in class rocks.xmpp.core.session.ReconnectionManager
-
Gets the date of the next reconnection attempt.
- getNextReconnectionAttempt(int, Throwable) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
-
Gets the time (in seconds) until 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.
- 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.
- 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
-
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.
- getResultSetManagement() - Method in class rocks.xmpp.extensions.rsm.ResultSet
-
Gets the result set info.
- getRoute() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
-
Gets the route.
- getRoute() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
-
Gets the route.
- getSessionId() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
-
Gets the session id of this BOSH connection.
- getSocketFactory() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
-
Gets the socket factory.
- getSSLContext() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
-
Gets the SSL context.
- getStanza() - Method in exception rocks.xmpp.core.stanza.StanzaException
-
Gets the stanza, which includes the error.
- getStatus() - Method in class rocks.xmpp.core.session.SessionStatusEvent
-
Gets the session status.
- getStatus() - Method in class rocks.xmpp.core.session.XmppSession
-
Gets the status of the session.
- getStreamError() - Method in exception rocks.xmpp.core.stream.StreamErrorException
-
Deprecated.
- getStreamId() - Method in class rocks.xmpp.core.session.Connection
-
Gets the stream id of this connection.
- getStreamId() - Method in class rocks.xmpp.core.session.TcpConnection
-
- getStreamId() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
-
- 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.
- 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.
- 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.
- getXmppSession() - Method in class rocks.xmpp.core.session.Connection
-
Gets the XMPP session which is associated with this connection.
- GZIP - Static variable in class rocks.xmpp.extensions.compress.CompressionManager
-
The "gzip" compression method.
- 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
-
If the connection goes down, this class automatically reconnects, if the user was authenticated.
- ReconnectionStrategy - Interface in rocks.xmpp.core.session
-
A strategy for reconnection logic, i.e. when and in which interval reconnection attempts will happen.
- registerFeature(Extension) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Registers a feature / extension.
- remove(Object) - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- remove(Object) - Method in class rocks.xmpp.util.cache.LruCache
-
- removeCapabilitiesChangeListener(Consumer<EventObject>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes a property change listener.
- removeChatPartnerListener(Consumer<ChatSession.ChatPartnerEvent>) - Method in class rocks.xmpp.im.chat.ChatSession
-
Removes a chat partner listener.
- removeChatSessionListener(Consumer<ChatSessionEvent>) - Method in class rocks.xmpp.im.chat.ChatManager
-
Removes a previously added chat session listener.
- removeConnectionListener(Consumer<ConnectionEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added connection listener.
- removeContact(Jid) - Method in class rocks.xmpp.im.roster.RosterManager
-
Removes a contact from the roster.
- removeContactGroup(ContactGroup) - Method in class rocks.xmpp.im.roster.RosterManager
-
Removes a contact group.
- removeExtension(DataForm) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes an extension.
- removeFeature(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes a feature.
- removeFeature(Class<? extends Manager>) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes a feature by its manager class.
- removeIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes an identity.
- removeInboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added inbound IQ listener from the session.
- removeInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added inbound message listener from the session.
- removeInboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.im.chat.Chat
-
Removes a previously added message listener.
- removeInboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added inbound presence listener from the session.
- removeInfoNode(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
-
Removes an info node.
- removeIQHandler(Class<?>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes an IQ handler.
- removeOutboundIQListener(Consumer<IQEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added outbound IQ listener from the session.
- removeOutboundMessageListener(Consumer<MessageEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added outbound message listener from the session.
- removeOutboundPresenceListener(Consumer<PresenceEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added outbound presence listener from the session.
- removeRosterListener(Consumer<RosterEvent>) - Method in class rocks.xmpp.im.roster.RosterManager
-
Removes a previously added roster listener.
- removeSessionStatusListener(Consumer<SessionStatusEvent>) - Method in class rocks.xmpp.core.session.XmppSession
-
Removes a previously added session listener.
- renameContactGroup(ContactGroup, String) - Method in class rocks.xmpp.im.roster.RosterManager
-
Renames a contact group.
- requestRoster() - Method in class rocks.xmpp.im.roster.RosterManager
-
Requests the roster from the server.
- requestSubscription(Jid, String) - Method in class rocks.xmpp.im.subscription.PresenceManager
-
Sends a subscription request to a potential contact.
- 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.
- 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.context - package rocks.xmpp.core.session.context
-
Provides the session context for core XMPP functionality.
- 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.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.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
-
- rocks.xmpp.util.cache - package rocks.xmpp.util.cache
-
Provides simple cache implementations.
- RosterEvent - Class in rocks.xmpp.im.roster
-
A roster event which holds information about added, updated and removed contacts of the roster.
- RosterManager - Class in rocks.xmpp.im.roster
-
This class manages the roster (aka contact or buddy list).
- route(String) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
-
Sets the route, formatted as "protocol:host:port" (e.g., "xmpp:example.com:9999").
- 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.
- send(StreamElement) - Method in class rocks.xmpp.core.session.TcpConnection
-
- send(StreamElement) - Method in class rocks.xmpp.core.session.XmppClient
-
- send(StreamElement) - Method in class rocks.xmpp.core.session.XmppSession
-
Sends an XML element to the server, usually a stanza, i.e. a message, presence or IQ.
- send(StreamElement) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
-
- sendAndAwaitMessage(StreamElement, Predicate<Message>) - Method in class rocks.xmpp.core.session.XmppSession
-
Sends a stanza and then waits for a message stanza to arrive.
- sendAndAwaitPresence(StreamElement, Predicate<Presence>) - Method in class rocks.xmpp.core.session.XmppSession
-
Sends a stanza and then waits for a presence stanza to arrive.
- 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.
- 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
-
Sets the reconnection strategy.
- setRetrieveRosterOnLogin(boolean) - Method in class rocks.xmpp.im.roster.RosterManager
-
Controls, whether the roster is automatically retrieved as soon as the user has logged in.
- size() - Method in class rocks.xmpp.util.cache.DirectoryCache
-
- size() - Method in class rocks.xmpp.util.cache.LruCache
-
- socketFactory(SocketFactory) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
-
Sets a socket factory which creates the socket.
- 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.
- 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
-