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

A

accept(T) - Method in interface rocks.xmpp.core.stanza.StanzaFilter
Checks whether the stanza is accepted by this filter.
addChatSessionListener(ChatSessionListener) - Method in class rocks.xmpp.core.session.ChatManager
Adds a chat session listener.
addContact(Contact, boolean, String) - Method in class rocks.xmpp.core.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(Feature) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds a feature.
addFeatureListener(FeatureListener) - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Adds a feature listener, which will get notified about feature negotiation status changes.
addFeatureNegotiator(FeatureNegotiator) - Method in class rocks.xmpp.core.stream.FeaturesManager
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.
addInfoNode(InfoNode) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an info node.
addIQListener(IQListener) - Method in class rocks.xmpp.core.session.XmppSession
Adds an IQ listener to the connection, which will get notified, whenever an IQ stanza is received.
addItem(Item) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an item.
addItemNode(ItemNode) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds an item node.
addMessageListener(MessageListener) - Method in class rocks.xmpp.core.session.ChatSession
Adds a message listener, which will get notified, whenever a chat message has been received for this chat session.
addMessageListener(MessageListener) - Method in class rocks.xmpp.core.session.XmppSession
Adds a message listener to the connection, which will get notified, whenever a message is received.
addPresenceListener(PresenceListener) - Method in class rocks.xmpp.core.session.XmppSession
Adds a presence listener to the connection, which will get notified, whenever a presence is received.
addPropertyChangeListener(PropertyChangeListener) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Adds a property change listener, which listens for changes in the identities, features, extensions and items collections.
addRosterListener(RosterListener) - Method in class rocks.xmpp.core.roster.RosterManager
Adds a roster listener, which will get notified, whenever the roster changes.
addSessionStatusListener(SessionStatusListener) - Method in class rocks.xmpp.core.session.XmppSession
Adds a session listener, which listens for session status changes.
approveSubscription(Jid) - Method in class rocks.xmpp.core.subscription.PresenceManager
Approves a subscription request.
authenticate(String, String, String, CallbackHandler) - Method in class rocks.xmpp.core.sasl.AuthenticationManager
Authenticates a user by choosing the "best" SASL mechanism available to both client and server.
authenticateAnonymously() - Method in class rocks.xmpp.core.sasl.AuthenticationManager
Authenticates anonymously, if the server supports anonymous authentication.
AuthenticationManager - Class in rocks.xmpp.core.sasl
Manages SASL authentication as described in SASL Negotiation.
AuthenticationManager(XmppSession, Lock) - Constructor for class rocks.xmpp.core.sasl.AuthenticationManager
Creates the authentication manager.

B

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

C

canProcess(Object) - Method in class rocks.xmpp.core.sasl.AuthenticationManager
 
canProcess(Object) - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Checks, whether the element can be processed by the feature negotiator.
canProcess(Object) - Method in class rocks.xmpp.core.tls.SecurityManager
 
canProcess(Object) - Method in class rocks.xmpp.extensions.compress.CompressionManager
 
ChatManager - Class in rocks.xmpp.core.session
This class manages one-to-one chat sessions, which are described in 5.1.
ChatManager(XmppSession) - Constructor for class rocks.xmpp.core.session.ChatManager
Creates the chat manager.
ChatSession - Class in rocks.xmpp.core.session
Implements a one-to-one chat session.
chatSessionCreated(ChatSessionEvent) - Method in interface rocks.xmpp.core.session.ChatSessionListener
Called, whenever a new chat session is created.
ChatSessionEvent - Class in rocks.xmpp.core.session
A chat session event is fired, whenever a new chat session is created.
ChatSessionListener - Interface in rocks.xmpp.core.session
A listener interface which allows to listen for new chat sessions.
close() - Method in class rocks.xmpp.core.session.TcpConnection
 
close() - Method in class rocks.xmpp.core.session.XmppSession
Explicitly closes the connection and performs a clean up of all listeners.
close() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Closes the session as described in Terminating the HTTP Session.
CompressionManager - Class in rocks.xmpp.extensions.compress
Manages stream compression as described in XEP-0138: Stream Compression.
CompressionManager(XmppSession, FeatureListener, CompressionMethod) - Constructor for class rocks.xmpp.extensions.compress.CompressionManager
 
compressionMethod(CompressionMethod) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
Sets the compression method.
compressStream() - Method in class rocks.xmpp.core.session.Connection
Compresses the stream.
compressStream() - Method in class rocks.xmpp.core.session.TcpConnection
 
connect() - Method in class rocks.xmpp.core.session.Connection
Connects to the server.
connect() - Method in class rocks.xmpp.core.session.TcpConnection
Connects to the specified XMPP server using a socket connection.
connect() - Method in class rocks.xmpp.core.session.XmppSession
Connects to the XMPP server.
connect() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
Connection - Class in rocks.xmpp.core.session
The base connection class which provides hostname, port and proxy information.
Connection(XmppSession, ConnectionConfiguration) - Constructor for class rocks.xmpp.core.session.Connection
Creates a connection to the specified host and port through a proxy.
Connection(String, int, Proxy) - Constructor for class rocks.xmpp.core.session.Connection
Creates a connection to the specified host and port through a proxy.
ConnectionConfiguration - Class in rocks.xmpp.core.session
A base class for connection configurations.
ConnectionConfiguration(ConnectionConfiguration.Builder) - Constructor for class rocks.xmpp.core.session.ConnectionConfiguration
 
ConnectionConfiguration.Builder<T extends ConnectionConfiguration.Builder<T>> - Class in rocks.xmpp.core.session
An abstract builder class for building immutable configuration objects.
ConsoleDebugger - Class in rocks.xmpp.core.session.debug
 
ConsoleDebugger() - Constructor for class rocks.xmpp.core.session.debug.ConsoleDebugger
 
consume() - Method in class rocks.xmpp.core.stanza.IQEvent
Consumes this event, which basically indicates, that an IQ response has been sent by an event handler.
context(CoreContext) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets XMPP context which is used to setup the JAXBContext and which defines the initial extension managers.
CoreContext - Class in rocks.xmpp.core.session.context
The context provides XMPP classes as well as manager classes which are associated with an XMPP session.
CoreContext(Class<?>...) - Constructor for class rocks.xmpp.core.session.context.CoreContext
 
CoreContext(Collection<Class<? extends ExtensionManager>>, Class<?>...) - Constructor for class rocks.xmpp.core.session.context.CoreContext
 
createChatSession(Jid) - Method in class rocks.xmpp.core.session.ChatManager
Creates a new chat session and notifies any chat session listeners about it.
createConnection(XmppSession) - Method in class rocks.xmpp.core.session.ConnectionConfiguration
A factory method to create the connection.
createConnection(XmppSession) - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
 
createConnection(XmppSession) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
 
createInputStream(InputStream) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
createInputStream(InputStream) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
createOutputStream(OutputStream) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
createOutputStream(OutputStream) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
createSaslClient(String[], String, String, String, Map<String, ?>, CallbackHandler) - Method in class rocks.xmpp.core.sasl.XmppSaslClientFactory
 

D

debugger(XmppDebugger) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the debugger.
defaultResponseTimeout(int) - Method in class rocks.xmpp.core.session.XmppSessionConfiguration.Builder
Sets the default response timeout for synchronous calls, usually IQ calls.
denySubscription(Jid) - Method in class rocks.xmpp.core.subscription.PresenceManager
Cancels a previously granted subscription or denies a subscription request.
destroyChatSession(ChatSession) - Method in class rocks.xmpp.core.session.ChatManager
Destroys the chat session.
detach() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Detaches this BOSH session without closing (aka terminating) it.
discoverInformation(Jid) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers information about another XMPP entity.
discoverInformation(Jid, String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers information about another XMPP entity targeted at a specific node.
discoverItems(Jid) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.
discoverItems(Jid, String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Discovers item associated with another XMPP entity.

E

ExtensionManager - Class in rocks.xmpp.core.session
 
ExtensionManager(XmppSession, String...) - Constructor for class rocks.xmpp.core.session.ExtensionManager
 

F

FeatureEvent - Class in rocks.xmpp.core.stream
A feature event notifies listeners about the negotiation process of a feature.
FeatureListener - Interface in rocks.xmpp.core.stream
A feature listener, which listens for negotiation status changes.
FeatureNegotiator - Class in rocks.xmpp.core.stream
A base class to negotiate features.
FeatureNegotiator(Class<? extends StreamFeature>) - Constructor for class rocks.xmpp.core.stream.FeatureNegotiator
Constructs a feature negotiator.
FeatureNegotiator.Status - Enum in rocks.xmpp.core.stream
Represents the status of the feature negotiation.
features - Variable in class rocks.xmpp.core.session.ExtensionManager
 
FeaturesManager - Class in rocks.xmpp.core.stream
Manages the various features, which are advertised during stream negotiation.
FeaturesManager(XmppSession) - Constructor for class rocks.xmpp.core.stream.FeaturesManager
Creates a feature manager.
file(String) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the file on the host, e.g.

G

getActiveConnection() - Method in class rocks.xmpp.core.session.XmppSession
Gets the actively used connection.
getAddedContacts() - Method in class rocks.xmpp.core.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.
getAuthenticationManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the authentication manager, which is responsible for SASL negotiation.
getChatManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the chat manager, which is responsible for one-to-one chat sessions.
getChatPartner() - Method in class rocks.xmpp.core.session.ChatSession
Gets the chat partner of this chat session.
getChatSession() - Method in class rocks.xmpp.core.session.ChatSessionEvent
Gets the chat session.
getCompressionMethod() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Gets the compression method.
getCondition() - Method in exception rocks.xmpp.extensions.httpbind.BoshException
Gets the BOSH error condition.
getConfiguration() - Method in class rocks.xmpp.core.session.XmppSession
 
getConnectedResource() - Method in class rocks.xmpp.core.session.XmppSession
Gets the connected resource, which is assigned by the server after resource binding.
getConnections() - Method in class rocks.xmpp.core.session.XmppSession
Gets an unmodifiable list of connections.
getContact(Jid) - Method in class rocks.xmpp.core.roster.RosterManager
Gets a contact by its JID.
getContactGroups() - Method in class rocks.xmpp.core.roster.RosterManager
Gets the contact groups.
getContacts() - Method in class rocks.xmpp.core.roster.RosterManager
Gets the contacts.
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.
getDefaultTimeout() - Method in class rocks.xmpp.core.session.XmppSession
Gets the default timeout for synchronous operations.
getDomain() - Method in class rocks.xmpp.core.session.XmppSession
Gets the XMPP domain of the connected server.
getElement() - Method in class rocks.xmpp.core.stream.FeatureEvent
Gets the XML element, which fired the feature event.
getException() - Method in class rocks.xmpp.core.session.SessionStatusEvent
Gets the exception if the session abnormally disconnected or null.
getExtensionManager(Class<T>) - Method in class rocks.xmpp.core.session.XmppSession
 
getExtensionManagers() - Method in class rocks.xmpp.core.session.context.CoreContext
Gets the initial extension managers.
getExtensions() - Method in class rocks.xmpp.core.session.context.CoreContext
Gets the class context.
getExtensions() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable list of extensions.
getFeatureClass() - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Gets the feature class, this negotiator is responsible for.
getFeatures() - Method in class rocks.xmpp.core.stream.FeaturesManager
Gets the available features, which the server has advertised.
getFeatures() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable set of features.
getFeaturesManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the features manager, which is responsible for negotiating features.
getFile() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration
Gets the file on the host, e.g.
getGroupDelimiter() - Method in class rocks.xmpp.core.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.
getIQ() - Method in class rocks.xmpp.core.stanza.IQEvent
Gets the IQ stanza.
getItems() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Gets an unmodifiable list of items.
getKeepAliveInterval() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration
Gets the whitespace keep-alive interval.
getLastSentPresence() - Method in class rocks.xmpp.core.subscription.PresenceManager
Gets the last sent presence, that has been broadcast by the server.
getMarshaller() - Method in class rocks.xmpp.core.session.XmppSession
Gets the marshaller, which is used to marshal XML during writing to the output stream.
getMechanismNames(Map<String, ?>) - Method in class rocks.xmpp.core.sasl.XmppSaslClientFactory
 
getMessage() - Method in class rocks.xmpp.core.stanza.MessageEvent
Gets the message.
getNextReconnectionAttempt() - Method in class rocks.xmpp.core.session.ReconnectionManager
Gets the date of the next reconnection attempt.
getNextReconnectionAttempt(int) - Method in interface rocks.xmpp.core.session.ReconnectionStrategy
Gets the time (in seconds) until the next reconnection is attempted.
getNextReconnectionAttempt(int) - Method in class rocks.xmpp.core.session.TruncatedBinaryExponentialBackOffStrategy
 
getNode() - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Since this is the "root" node, it returns null.
getOldStatus() - Method in class rocks.xmpp.core.session.SessionStatusEvent
Gets the old session status.
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.
getPreferredMechanisms() - Method in class rocks.xmpp.core.sasl.AuthenticationManager
Gets the preferred mechanisms used for this connection.
getPresence() - Method in class rocks.xmpp.core.stanza.PresenceEvent
Gets the presence.
getPresence(Jid) - Method in class rocks.xmpp.core.subscription.PresenceManager
Gets the presence for a given contact.
getPresenceManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the presence manager, which is responsible for presence subscriptions.
getProxy() - Method in class rocks.xmpp.core.session.Connection
Gets the proxy.
getProxy() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the proxy.
getReconnectionManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the reconnection manager, which is responsible for automatic reconnection.
getReconnectionStrategy() - Method in class rocks.xmpp.core.session.ReconnectionManager
Gets the reconnection strategy.
getRemovedContacts() - Method in class rocks.xmpp.core.roster.RosterEvent
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.
getRosterManager() - Method in class rocks.xmpp.core.session.XmppSession
Gets the roster manager, which is responsible for retrieving, updating and deleting contacts from 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.session.TcpConnectionConfiguration
Gets the socket factory.
getSSLContext() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Gets the SSL context.
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 connection.
getStatus() - Method in class rocks.xmpp.core.stream.FeatureEvent
Gets the status of the feature negotiation.
getThread() - Method in class rocks.xmpp.core.session.ChatSession
Gets the thread id which is used for this chat session.
getUnaffiliatedContacts() - Method in class rocks.xmpp.core.roster.RosterManager
Gets the contacts, which are not affiliated to any group.
getUnmarshaller() - Method in class rocks.xmpp.core.session.XmppSession
Gets the unmarshaller, which is used to unmarshal XML during reading from the input stream.
getUpdatedContacts() - Method in class rocks.xmpp.core.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.
getXmppSession() - Method in class rocks.xmpp.core.session.Connection
Gets the XMPP session which is associated with this connection.

H

handleElement(Object) - Method in class rocks.xmpp.core.session.XmppSession
Handles a XMPP element.
hostname - Variable in class rocks.xmpp.core.session.Connection
 
hostname(String) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the hostname.
hostnameVerifier(HostnameVerifier) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets an optional hostname verifier, used to verify the hostname in the certificate presented by the server.

I

initialize(XmppSession) - Method in class rocks.xmpp.core.session.Connection
Deprecated.
initialize(XmppSession) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
initialize(XmppSession) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
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.
IQListener - Interface in rocks.xmpp.core.stanza
A listener interface, which allows to listen for received or sent IQ stanzas.
isConnected() - Method in class rocks.xmpp.core.session.XmppSession
Indicates, whether the session is connected.
isConsumed() - Method in class rocks.xmpp.core.stanza.IQEvent
Indicates, if this event has been consumed by an event handler, i.e. if the IQ has been responded to.
isCreatedByIncomingMessage() - Method in class rocks.xmpp.core.session.ChatSessionEvent
Indicates, whether the chat session has been created by an incoming message or programmatically.
isEnabled() - Method in class rocks.xmpp.core.session.Manager
Indicates, whether this manager is enabled or not.
isRetrieveRosterOnLogin() - Method in class rocks.xmpp.core.roster.RosterManager
Controls, whether the roster is automatically retrieved as soon as the user has logged in.
isSecure() - Method in class rocks.xmpp.core.session.ConnectionConfiguration
Indicates whether the connection is secured by SSL.

K

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

L

login(String, String) - Method in class rocks.xmpp.core.session.XmppSession
Authenticates against the server and binds a random resource (assigned by the server).
login(String, String, String) - Method in class rocks.xmpp.core.session.XmppSession
Authenticates against the server and binds a resource.
loginAnonymously() - Method in class rocks.xmpp.core.session.XmppSession
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() - Constructor for class rocks.xmpp.core.session.Manager
 
MessageEvent - Class in rocks.xmpp.core.stanza
A message event is fired whenever a message is received or sent.
MessageEvent(Object, Message, boolean) - Constructor for class rocks.xmpp.core.stanza.MessageEvent
Constructs a message event.
MessageListener - Interface in rocks.xmpp.core.stanza
A listener interface, which allows to listen for received or sent messages.

N

needsRestart() - Method in class rocks.xmpp.core.sasl.AuthenticationManager
 
needsRestart() - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Checks, if the feature needs a stream restart after it has been successfully negotiated.
needsRestart() - Method in class rocks.xmpp.core.tls.SecurityManager
 
needsRestart() - Method in class rocks.xmpp.extensions.compress.CompressionManager
Checks, if the feature needs a stream restart after it has been successfully negotiated.
negotiateNextFeature() - Method in class rocks.xmpp.core.stream.FeaturesManager
Negotiates the next feature.
negotiationStatusChanged(FeatureEvent) - Method in interface rocks.xmpp.core.stream.FeatureListener
Fired whenever the status of a feature negotiation has changed.
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(Exception) - Method in class rocks.xmpp.core.session.XmppSession
Called if any unhandled exception is thrown during reading or writing.
notifyFeatureNegotiated(FeatureNegotiator.Status, Object) - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Notifies the listener, if a feature negotiation has completed.

P

port - Variable in class rocks.xmpp.core.session.Connection
 
port(int) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the port.
PresenceEvent - Class in rocks.xmpp.core.stanza
A presence event is fired whenever a presence stanza is received or sent.
PresenceEvent(Object, Presence, boolean) - Constructor for class rocks.xmpp.core.stanza.PresenceEvent
Constructs a presence event.
PresenceListener - Interface in rocks.xmpp.core.stanza
A listener interface, which allows to listen for received or sent presence stanzas.
PresenceManager - Class in rocks.xmpp.core.subscription
Manages subscription requests and presences.
PresenceManager(XmppSession) - Constructor for class rocks.xmpp.core.subscription.PresenceManager
 
processElement(Object) - Method in class rocks.xmpp.core.stream.FeaturesManager
Tries to process an element, which is a feature or may belong to a feature protocol, e.g. the <proceed/> element from TLS negotiation.
processFeatures(StreamFeatures) - Method in class rocks.xmpp.core.stream.FeaturesManager
Processes the <stream:features/> element and immediately starts negotiating the first feature.
processNegotiation(Object) - Method in class rocks.xmpp.core.sasl.AuthenticationManager
 
processNegotiation(Object) - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Processes a feature protocol element or the feature element itself.
processNegotiation(Object) - Method in class rocks.xmpp.core.tls.SecurityManager
 
processNegotiation(Object) - Method in class rocks.xmpp.extensions.compress.CompressionManager
 
proxy(Proxy) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets the proxy, e.g. if you are behind a HTTP proxy and use a BOSH connection.

Q

query(IQ) - Method in class rocks.xmpp.core.session.XmppSession
Sends an <iq/> stanza and waits for the response.
query(IQ, long) - Method in class rocks.xmpp.core.session.XmppSession
Sends an <iq/> stanza and waits for the response.

R

readStanza(String, Object) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
readStanza(String, Object) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 
reAuthenticate() - Method in class rocks.xmpp.core.sasl.AuthenticationManager
Re-authenticates after a connection has disconnected and reconnected.
reconnect() - Method in class rocks.xmpp.core.session.XmppSession
Reconnects to the XMPP server and automatically logs in by using the last known information (e.g. user name, password and bound resource).
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.
removeChatSessionListener(ChatSessionListener) - Method in class rocks.xmpp.core.session.ChatManager
Removes a previously added chat session listener.
removeContact(Jid) - Method in class rocks.xmpp.core.roster.RosterManager
Removes a contact from the roster.
removeContactGroup(ContactGroup) - Method in class rocks.xmpp.core.roster.RosterManager
Removes a contact group.
removeExtension(DataForm) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an extension.
removeFeature(Feature) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes a feature.
removeFeatureListener(FeatureListener) - Method in class rocks.xmpp.core.stream.FeatureNegotiator
Removes a previously added feature listener.
removeIdentity(Identity) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an identity.
removeInfoNode(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an info node.
removeIQListener(IQListener) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added IQ listener from the connection.
removeItem(Item) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an item.
removeItemNode(String) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes an item node.
removeMessageListener(MessageListener) - Method in class rocks.xmpp.core.session.ChatSession
Removes a previously added message listener.
removeMessageListener(MessageListener) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added message listener from the connection.
removePresenceListener(PresenceListener) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added presence listener from the connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class rocks.xmpp.extensions.disco.ServiceDiscoveryManager
Removes a property change listener.
removeRosterListener(RosterListener) - Method in class rocks.xmpp.core.roster.RosterManager
Removes a previously added roster listener.
removeSessionStatusListener(SessionStatusListener) - Method in class rocks.xmpp.core.session.XmppSession
Removes a previously added connection listener.
renameContactGroup(ContactGroup, String) - Method in class rocks.xmpp.core.roster.RosterManager
Renames a contact group.
requestRoster() - Method in class rocks.xmpp.core.roster.RosterManager
Requests the roster from the server.
requestSubscription(Jid, String) - Method in class rocks.xmpp.core.subscription.PresenceManager
Sends a subscription request to a potential contact.
restartStream() - Method in class rocks.xmpp.core.session.Connection
Restarts the stream.
restartStream() - Method in class rocks.xmpp.core.session.TcpConnection
 
restartStream() - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
Restarts the stream.
rocks.xmpp.core.roster - package rocks.xmpp.core.roster
Provides class for roster management.
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.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
Provides classes for debugging an XMPP session.
rocks.xmpp.core.stanza - package rocks.xmpp.core.stanza
Provides classes for XML stanza management (message, presence, IQ).
rocks.xmpp.core.stream - package rocks.xmpp.core.stream
Provides classes for XML Streams, especially Stream Negotiation.
rocks.xmpp.core.subscription - package rocks.xmpp.core.subscription
Provides classes for Managing Presence Subscriptions.
rocks.xmpp.core.tls - package rocks.xmpp.core.tls
Provides classes for transport layer security.
rocks.xmpp.extensions.compress - package rocks.xmpp.extensions.compress
Provides classes for XEP-0138: Stream Compression.
rocks.xmpp.extensions.disco - package rocks.xmpp.extensions.disco
Provides classes for XEP-0030: Service Discovery (#info).
rocks.xmpp.extensions.httpbind - package rocks.xmpp.extensions.httpbind
rosterChanged(RosterEvent) - Method in interface rocks.xmpp.core.roster.RosterListener
Called by the RosterManager, whenever the roster has changed.
RosterEvent - Class in rocks.xmpp.core.roster
A roster event which holds information about added, updated and removed contacts.
RosterListener - Interface in rocks.xmpp.core.roster
A listener interface which allows to listen for roster changes.
RosterManager - Class in rocks.xmpp.core.roster
This class manages the roster (aka contact or buddy list).
RosterManager(XmppSession) - Constructor for class rocks.xmpp.core.roster.RosterManager
 
route(String) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the route, formatted as "protocol:host:port" (e.g., "xmpp:example.com:9999").

S

secure(boolean) - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Sets whether the connection is secured via SSL.
SecurityManager - Class in rocks.xmpp.core.tls
Negotiates transport layer security during stream negotiation.
SecurityManager(XmppSession, FeatureListener, boolean) - Constructor for class rocks.xmpp.core.tls.SecurityManager
 
self() - Method in class rocks.xmpp.core.session.ConnectionConfiguration.Builder
Returns an instance of the concrete builder.
self() - Method in class rocks.xmpp.core.session.TcpConnectionConfiguration.Builder
 
self() - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
 
send(Message) - Method in class rocks.xmpp.core.session.ChatSession
Sends a chat message to the chat partner.
send(ClientStreamElement) - Method in class rocks.xmpp.core.session.Connection
Sends an element.
send(ClientStreamElement) - Method in class rocks.xmpp.core.session.TcpConnection
 
send(ClientStreamElement) - 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(ClientStreamElement) - Method in class rocks.xmpp.extensions.httpbind.BoshConnection
 
sendAndAwaitIQ(ClientStreamElement, StanzaFilter<IQ>) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and then waits for an IQ stanza to arrive.
sendAndAwaitIQ(ClientStreamElement, StanzaFilter<IQ>, long) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and then waits for an IQ stanza to arrive.
sendAndAwaitMessage(ClientStreamElement, StanzaFilter<Message>) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and then waits for a message stanza to arrive.
sendAndAwaitPresence(ClientStreamElement, StanzaFilter<Presence>) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and then waits for a presence stanza to arrive.
sendAndAwaitPresence(ClientStreamElement, StanzaFilter<Presence>, long) - Method in class rocks.xmpp.core.session.XmppSession
Sends a stanza and then waits for a presence stanza to arrive.
ServiceDiscoveryManager - Class in rocks.xmpp.extensions.disco
sessionStatusChanged(SessionStatusEvent) - Method in interface rocks.xmpp.core.session.SessionStatusListener
Called, whenever the status of the connection changed.
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.
SessionStatusListener - Interface in rocks.xmpp.core.session
Allows to listen for XMPP session status changes, e.g. disconnects.
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.ExtensionManager
Enables or disables support for the extension.
setEnabled(boolean) - Method in class rocks.xmpp.core.session.Manager
Enables or disables this manager.
setEnabled(boolean) - Method in class rocks.xmpp.core.session.ReconnectionManager
 
setGroupDelimiter(String) - Method in class rocks.xmpp.core.roster.RosterManager
Sets the group delimiter.
setPreferredMechanisms(LinkedHashSet<String>) - Method in class rocks.xmpp.core.sasl.AuthenticationManager
Sets the preferred mechanisms used for this connection.
setReconnectionStrategy(ReconnectionStrategy) - Method in class rocks.xmpp.core.session.ReconnectionManager
Sets the reconnection strategy.
setRetrieveRosterOnLogin(boolean) - Method in class rocks.xmpp.core.roster.RosterManager
Controls, whether the roster is automatically retrieved as soon as the user has logged in.
setXmppServiceDomain(String) - Method in class rocks.xmpp.core.session.XmppSession
Sets the XMPP service domain.
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.
StanzaFilter<T extends Stanza & ClientStreamElement> - Interface in rocks.xmpp.core.stanza
A simple filter for stanzas.

T

TcpConnection - Class in rocks.xmpp.core.session
The default TCP socket connection as described in TCP Binding.
TcpConnectionConfiguration - Class in rocks.xmpp.core.session
A configuration for the TCP connection.
TcpConnectionConfiguration.Builder - Class in rocks.xmpp.core.session
A builder to create a TcpConnectionConfiguration instance.
TruncatedBinaryExponentialBackOffStrategy - Class in rocks.xmpp.core.session
 
TruncatedBinaryExponentialBackOffStrategy(int, int) - Constructor for class rocks.xmpp.core.session.TruncatedBinaryExponentialBackOffStrategy
 

U

unsubscribe(Jid) - Method in class rocks.xmpp.core.subscription.PresenceManager
Unsubscribes from a contact's presence.
updateContact(Contact) - Method in class rocks.xmpp.core.roster.RosterManager
Updates a contact in the roster.

V

valueOf(String) - Static method in enum rocks.xmpp.core.session.XmppSession.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum rocks.xmpp.core.stream.FeatureNegotiator.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum rocks.xmpp.core.session.XmppSession.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum rocks.xmpp.core.stream.FeatureNegotiator.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

wait(int) - Method in class rocks.xmpp.extensions.httpbind.BoshConnectionConfiguration.Builder
Sets the longest time (in seconds) that the connection manager is allowed to wait before responding to any request during the session.
waitUntilSaslNegotiationStarted() - Method in class rocks.xmpp.core.session.XmppSession
Waits until SASL negotiation has started and then releases the lock.
writeStanza(String, Object) - Method in class rocks.xmpp.core.session.debug.ConsoleDebugger
 
writeStanza(String, Object) - Method in interface rocks.xmpp.core.session.debug.XmppDebugger
 

X

XmppDebugger - Interface in rocks.xmpp.core.session.debug
 
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 - Variable in class rocks.xmpp.core.session.ExtensionManager
 
XmppSession - Class in rocks.xmpp.core.session
The base class for establishing an XMPP session with a server.
XmppSession(String, ConnectionConfiguration...) - Constructor for class rocks.xmpp.core.session.XmppSession
Creates a session with the specified service domain, by using the default configuration.
XmppSession(String, XmppSessionConfiguration, ConnectionConfiguration...) - Constructor for class rocks.xmpp.core.session.XmppSession
Creates a session with the specified service domain by using a configuration.
XmppSession.Status - Enum in rocks.xmpp.core.session
Represents the connection 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.
A B C D E F G H I K L M N P Q R S T U V W X 
Skip navigation links

Copyright © 2014 XMPP.rocks. All rights reserved.