| Package | Description |
|---|---|
| rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
| rocks.xmpp.extensions.caps |
Provides classes for XEP-0115: Entity Capabilities.
|
| rocks.xmpp.extensions.disco |
Provides classes for XEP-0030: Service Discovery (#info).
|
| rocks.xmpp.extensions.privatedata |
Provides classes for XEP-0049: Private XML Storage.
|
| rocks.xmpp.im.roster |
Provides classes for roster management.
|
| rocks.xmpp.util.concurrent |
Provides classes for concurrency.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<Boolean> |
XmppClient.isSupported(String feature,
Jid jid)
Determines support of another XMPP entity for a given feature.
|
AsyncResult<IQ> |
XmppSession.query(IQ iq)
Sends an
<iq/> stanza and returns an async result, which can be used to wait for the response. |
<T> AsyncResult<T> |
XmppSession.query(IQ iq,
Class<T> clazz)
Sends an
<iq/> stanza and returns an async result, which can be used to wait for the response. |
AsyncResult<IQ> |
XmppSession.query(IQ iq,
Duration timeout)
Sends an
<iq/> stanza and returns an async result, which can be used to wait for the response. |
AsyncResult<Message> |
XmppSession.sendAndAwaitMessage(Message stanza,
Predicate<Message> filter)
Sends a stanza and returns an async result which can wait for the message stanza, which matches the predicate, to arrive.
|
AsyncResult<Presence> |
XmppSession.sendAndAwaitPresence(Presence stanza,
Predicate<Presence> filter)
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<InfoNode> |
EntityCapabilitiesManager.discoverCapabilities(Jid jid)
Discovers the capabilities of another XMPP entity.
|
AsyncResult<Boolean> |
EntityCapabilitiesManager.isSupported(String feature,
Jid jid)
Checks whether the entity supports the given feature.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<InfoNode> |
ServiceDiscoveryManager.discoverInformation(Jid jid)
Discovers information about another XMPP entity.
|
AsyncResult<InfoNode> |
ServiceDiscoveryManager.discoverInformation(Jid jid,
String node)
Discovers information about another XMPP entity targeted at a specific node.
|
AsyncResult<ItemNode> |
ServiceDiscoveryManager.discoverItems(Jid jid)
Discovers item associated with another XMPP entity.
|
AsyncResult<ItemNode> |
ServiceDiscoveryManager.discoverItems(Jid jid,
ResultSetManagement resultSet)
Discovers item associated with another XMPP entity.
|
AsyncResult<ItemNode> |
ServiceDiscoveryManager.discoverItems(Jid jid,
String node)
Discovers item associated with another XMPP entity.
|
AsyncResult<ItemNode> |
ServiceDiscoveryManager.discoverItems(Jid jid,
String node,
ResultSetManagement resultSetManagement)
Discovers item associated with another XMPP entity.
|
AsyncResult<List<Item>> |
ServiceDiscoveryManager.discoverServices(Identity identity)
Discovers a service on the connected server by its identity.
|
AsyncResult<List<Item>> |
ServiceDiscoveryManager.discoverServices(String feature)
Discovers a service on the connected server by its feature namespace.
|
| Modifier and Type | Method and Description |
|---|---|
<T> AsyncResult<T> |
PrivateDataManager.getData(Class<T> type)
Gets private data, which is stored on the server.
|
AsyncResult<Void> |
PrivateDataManager.storeData(Object privateData)
Stores private data.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<Void> |
RosterManager.addContact(Contact contact,
boolean requestSubscription,
String status)
Adds a contact to the roster and optionally also sends a subscription request to it.
|
AsyncResult<Void> |
RosterManager.removeContact(Jid jid)
Removes a contact from the roster.
|
AsyncResult<Void> |
RosterManager.removeContactGroup(ContactGroup contactGroup)
Removes a contact group.
|
AsyncResult<Void> |
RosterManager.renameContactGroup(ContactGroup contactGroup,
String name)
Renames a contact group.
|
AsyncResult<Roster> |
RosterManager.requestRoster()
Requests the roster from the server.
|
AsyncResult<Void> |
RosterManager.storeGroupDelimiter(String groupDelimiter)
Stores the roster group delimiter in the private storage and afterwards sets it.
|
AsyncResult<Void> |
RosterManager.updateContact(Contact contact)
Updates a contact in the roster.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<Void> |
AsyncResult.acceptEither(CompletionStage<? extends T> other,
Consumer<? super T> action) |
AsyncResult<Void> |
AsyncResult.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action) |
AsyncResult<Void> |
AsyncResult.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action,
Executor executor) |
<U> AsyncResult<U> |
AsyncResult.applyToEither(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
<U> AsyncResult<U> |
AsyncResult.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
<U> AsyncResult<U> |
AsyncResult.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn,
Executor executor) |
AsyncResult<T> |
AsyncResult.exceptionally(Function<Throwable,? extends T> fn) |
<U> AsyncResult<U> |
AsyncResult.handle(BiFunction<? super T,Throwable,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.handleAsync(BiFunction<? super T,Throwable,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.handleAsync(BiFunction<? super T,Throwable,? extends U> fn,
Executor executor) |
AsyncResult<Void> |
AsyncResult.runAfterBoth(CompletionStage<?> other,
Runnable action) |
AsyncResult<Void> |
AsyncResult.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
AsyncResult<Void> |
AsyncResult.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
AsyncResult<Void> |
AsyncResult.runAfterEither(CompletionStage<?> other,
Runnable action) |
AsyncResult<Void> |
AsyncResult.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
AsyncResult<Void> |
AsyncResult.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
AsyncResult<Void> |
AsyncResult.thenAccept(Consumer<? super T> action) |
AsyncResult<Void> |
AsyncResult.thenAcceptAsync(Consumer<? super T> action) |
AsyncResult<Void> |
AsyncResult.thenAcceptAsync(Consumer<? super T> action,
Executor executor) |
<U> AsyncResult<Void> |
AsyncResult.thenAcceptBoth(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
<U> AsyncResult<Void> |
AsyncResult.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
<U> AsyncResult<Void> |
AsyncResult.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action,
Executor executor) |
<U> AsyncResult<U> |
AsyncResult.thenApply(Function<? super T,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.thenApplyAsync(Function<? super T,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.thenApplyAsync(Function<? super T,? extends U> fn,
Executor executor) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombine(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn,
Executor executor) |
<U> AsyncResult<U> |
AsyncResult.thenCompose(Function<? super T,? extends CompletionStage<U>> fn) |
<U> AsyncResult<U> |
AsyncResult.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn) |
<U> AsyncResult<U> |
AsyncResult.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn,
Executor executor) |
AsyncResult<Void> |
AsyncResult.thenRun(Runnable action) |
AsyncResult<Void> |
AsyncResult.thenRunAsync(Runnable action) |
AsyncResult<Void> |
AsyncResult.thenRunAsync(Runnable action,
Executor executor) |
AsyncResult<T> |
AsyncResult.whenComplete(BiConsumer<? super T,? super Throwable> action) |
AsyncResult<T> |
AsyncResult.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action) |
AsyncResult<T> |
AsyncResult.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action,
Executor executor) |
Copyright © 2014–2016 XMPP.rocks. All rights reserved.