Uses of Class
rocks.xmpp.util.concurrent.AsyncResult
-
-
Uses of AsyncResult in rocks.xmpp.core.session
Methods in rocks.xmpp.core.session that return AsyncResult Modifier and Type Method Description AsyncResult<Boolean>
XmppSession. 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<Void>
XmppSession. send(StreamElement element)
Sends an XML element to the server, usually a stanza, i.e. a message, presence or IQ.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. -
Uses of AsyncResult in rocks.xmpp.extensions.avatar
Methods in rocks.xmpp.extensions.avatar that return AsyncResult Modifier and Type Method Description AsyncResult<byte[]>
AvatarManager. getAvatar(Jid contact)
Gets the user avatar as byte array.AsyncResult<byte[]>
CombinedAvatarManager. getAvatar(Jid contact)
Gets the user avatar from the user's vCard.AsyncResult<byte[]>
UserAvatarProtocol. getAvatar(Jid contact)
AsyncResult<BufferedImage>
AbstractAvatarManager. getAvatarImage(Jid contact)
AsyncResult<BufferedImage>
AvatarManager. getAvatarImage(Jid contact)
Gets the user avatar.AsyncResult<Void>
AvatarManager. publishAvatar(byte[] imageData)
Publishes an avatar.AsyncResult<Void>
CombinedAvatarManager. publishAvatar(byte[] imageData)
Publishes an avatar.AsyncResult<Void>
UserAvatarProtocol. publishAvatar(byte[] imageData)
Publishes an avatar to the personal eventing service.AsyncResult<Void>
AbstractAvatarManager. publishAvatarImage(BufferedImage bufferedImage)
AsyncResult<Void>
AvatarManager. publishAvatarImage(BufferedImage bufferedImage)
Publishes an avatar. -
Uses of AsyncResult in rocks.xmpp.extensions.blocking
Methods in rocks.xmpp.extensions.blocking that return AsyncResult Modifier and Type Method Description AsyncResult<IQ>
BlockingManager. blockContact(Jid... jids)
Blocks communications with contacts.AsyncResult<Set<Jid>>
BlockingManager. getBlockedContacts()
Retrieves the blocked contacts.AsyncResult<IQ>
BlockingManager. unblockContact(Jid... jids)
Unblocks communications with specific contacts or with all contacts. -
Uses of AsyncResult in rocks.xmpp.extensions.bookmarks
Methods in rocks.xmpp.extensions.bookmarks that return AsyncResult Modifier and Type Method Description AsyncResult<Void>
BookmarkManager. addBookmark(AbstractBookmark bookmark)
Adds a bookmark.AsyncResult<List<ChatRoomBookmark>>
BookmarkManager. getChatRoomBookmarks()
Gets a sorted collection of chat room bookmarks.AsyncResult<List<WebPageBookmark>>
BookmarkManager. getWebPageBookmarks()
Gets a sorted collection of web page bookmarks.AsyncResult<Void>
BookmarkManager. removeChatRoomBookmark(Jid chatRoom)
Removes a chat room bookmark.AsyncResult<Void>
BookmarkManager. removeWebPageBookmark(URL webPage)
Removes a web page bookmark. -
Uses of AsyncResult in rocks.xmpp.extensions.bytestreams
Methods in rocks.xmpp.extensions.bytestreams that return AsyncResult Modifier and Type Method Description abstract AsyncResult<ByteStreamSession>
ByteStreamEvent. accept()
Accepts the session.abstract AsyncResult<ByteStreamSession>
ByteStreamManager. initiateSession(Jid receiver, String sessionId)
Initiates a byte stream session with another entity. -
Uses of AsyncResult in rocks.xmpp.extensions.bytestreams.ibb
Methods in rocks.xmpp.extensions.bytestreams.ibb that return AsyncResult Modifier and Type Method Description AsyncResult<ByteStreamSession>
InBandByteStreamManager. initiateSession(Jid receiver, String sessionId)
AsyncResult<ByteStreamSession>
InBandByteStreamManager. initiateSession(Jid receiver, String sessionId, int blockSize)
Initiates an in-band byte stream session. -
Uses of AsyncResult in rocks.xmpp.extensions.bytestreams.s5b
Methods in rocks.xmpp.extensions.bytestreams.s5b that return AsyncResult Modifier and Type Method Description AsyncResult<List<StreamHost>>
Socks5ByteStreamManager. discoverProxies()
Discovers the SOCKS5 proxies.AsyncResult<List<StreamHost>>
Socks5ByteStreamManager. getAvailableStreamHosts()
Gets a list of available stream hosts, including the discovered proxies and the local host.AsyncResult<ByteStreamSession>
Socks5ByteStreamManager. initiateSession(Jid target, String sessionId)
Initiates a SOCKS5 session with a target. -
Uses of AsyncResult in rocks.xmpp.extensions.caps
Methods in rocks.xmpp.extensions.caps that return AsyncResult Modifier and Type Method Description AsyncResult<DiscoverableInfo>
EntityCapabilitiesManager. discoverCapabilities(Jid jid)
Discovers capabilities for the given entity.default AsyncResult<Boolean>
EntityCapabilitiesManager. isSupported(String feature, Jid jid)
Checks whether a feature is supported by checking the capabilities set of the entity. -
Uses of AsyncResult in rocks.xmpp.extensions.caps.client
Methods in rocks.xmpp.extensions.caps.client that return AsyncResult Modifier and Type Method Description AsyncResult<DiscoverableInfo>
ClientEntityCapabilitiesManager. discoverCapabilities(Jid jid)
Discovers the capabilities of another XMPP entity. -
Uses of AsyncResult in rocks.xmpp.extensions.carbons
Methods in rocks.xmpp.extensions.carbons that return AsyncResult Modifier and Type Method Description AsyncResult<IQ>
MessageCarbonsManager. disableCarbons()
Disables message carbons on the server for this session.AsyncResult<IQ>
MessageCarbonsManager. enableCarbons()
Enables message carbons on the server for this session. -
Uses of AsyncResult in rocks.xmpp.extensions.chatstates
Methods in rocks.xmpp.extensions.chatstates that return AsyncResult Modifier and Type Method Description AsyncResult<Boolean>
ChatStateManager. isSupported(Jid jid)
Indicates whether chat state notifications are supported by the peer. -
Uses of AsyncResult in rocks.xmpp.extensions.disco
Methods in rocks.xmpp.extensions.disco that return AsyncResult Modifier and Type Method Description AsyncResult<DiscoverableInfo>
AbstractServiceDiscoveryManager. discoverInformation(Jid jid)
AsyncResult<DiscoverableInfo>
ServiceDiscoveryManager. discoverInformation(Jid jid)
Discovers information about another XMPP entity.AsyncResult<DiscoverableInfo>
ServiceDiscoveryManager. discoverInformation(Jid jid, String node)
Discovers information about another XMPP entity targeted at a specific node.AsyncResult<ItemNode>
AbstractServiceDiscoveryManager. discoverItems(Jid jid)
AsyncResult<ItemNode>
AbstractServiceDiscoveryManager. discoverItems(Jid jid, String node)
AsyncResult<ItemNode>
AbstractServiceDiscoveryManager. discoverItems(Jid jid, ResultSetManagement resultSet)
AsyncResult<ItemNode>
ServiceDiscoveryManager. discoverItems(Jid jid)
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<ItemNode>
ServiceDiscoveryManager. discoverItems(Jid jid, ResultSetManagement resultSet)
Discovers item associated with another XMPP entity.AsyncResult<List<Item>>
AbstractServiceDiscoveryManager. discoverServices(Jid jid, String feature)
AsyncResult<List<Item>>
AbstractServiceDiscoveryManager. discoverServices(Jid jid, Identity identity)
AsyncResult<List<Item>>
ServiceDiscoveryManager. discoverServices(Jid jid, String feature)
Discovers a service on the given entity by its feature namespace.AsyncResult<List<Item>>
ServiceDiscoveryManager. discoverServices(Jid jid, Identity identity)
Discovers a service on the given entity by its identity. -
Uses of AsyncResult in rocks.xmpp.extensions.disco.client
Methods in rocks.xmpp.extensions.disco.client that return AsyncResult Modifier and Type Method Description AsyncResult<DiscoverableInfo>
ClientServiceDiscoveryManager. discoverInformation(Jid jid, String node)
Discovers information about another XMPP entity targeted at a specific node.AsyncResult<ItemNode>
ClientServiceDiscoveryManager. discoverItems(Jid jid, String node, ResultSetManagement resultSetManagement)
Discovers item associated with another XMPP entity. -
Uses of AsyncResult in rocks.xmpp.extensions.filetransfer
Methods in rocks.xmpp.extensions.filetransfer that return AsyncResult Modifier and Type Method Description AsyncResult<FileTransfer>
FileTransferNegotiator. accept(IQ iq, String sessionId, FileTransferOffer fileTransferOffer, Object protocol, OutputStream outputStream)
AsyncResult<FileTransfer>
FileTransferOfferEvent. accept(File target)
Accepts the inbound file transfer request.AsyncResult<FileTransfer>
FileTransferOfferEvent. accept(OutputStream outputStream)
Accepts the inbound file transfer request.AsyncResult<FileTransfer>
FileTransferOfferEvent. accept(Path destination)
Accepts the inbound file transfer request.AsyncResult<FileTransfer>
FileTransferManager. offerFile(File file, String description, Jid recipient, Duration timeout)
Offers a file to another user.AsyncResult<FileTransfer>
FileTransferManager. offerFile(InputStream source, String fileName, long fileSize, Instant lastModified, String description, Jid recipient, Duration timeout)
Offers a stream to another user.AsyncResult<FileTransfer>
FileTransferManager. offerFile(InputStream source, String fileName, long fileSize, Instant lastModified, String description, Jid recipient, Duration timeout, String sessionId)
Offers a stream to another user.AsyncResult<FileTransfer>
FileTransferManager. offerFile(InputStream source, String fileName, long fileSize, Instant lastModified, String description, Jid recipient, Duration timeout, String sessionId, String mimeType, String hash)
Offers a stream to another user.AsyncResult<IQ>
FileTransferManager. offerFile(URI uri, String description, Jid recipient, Duration timeout)
Offers a file to another user in form of an URL.AsyncResult<FileTransfer>
FileTransferManager. offerFile(Path source, String description, Jid recipient, Duration timeout)
Offers a file to another user.AsyncResult<FileTransfer>
FileTransferManager. offerFile(Path source, String description, Jid recipient, Duration timeout, String mimeType, boolean calculateHash)
Offers a file to another user. -
Uses of AsyncResult in rocks.xmpp.extensions.geoloc
Methods in rocks.xmpp.extensions.geoloc that return AsyncResult Modifier and Type Method Description AsyncResult<String>
GeoLocationManager. publish(GeoLocation geoLocation)
Publishes a geo location to the personal eventing service. -
Uses of AsyncResult in rocks.xmpp.extensions.invisible
Methods in rocks.xmpp.extensions.invisible that return AsyncResult Modifier and Type Method Description AsyncResult<Void>
InvisibilityManager. becomeInvisible()
Becomes invisible.AsyncResult<Void>
InvisibilityManager. becomeVisible()
Becomes visible.AsyncResult<Boolean>
InvisibilityManager. isSupported()
Checks, whether invisibility is supported by the server. -
Uses of AsyncResult in rocks.xmpp.extensions.jingle
Methods in rocks.xmpp.extensions.jingle that return AsyncResult Modifier and Type Method Description AsyncResult<Void>
JingleSession. accept(Jingle.Content... contents)
Accepts the session.AsyncResult<IQ>
JingleSession. acceptTransport(String contentName, TransportMethod transportMethod)
AsyncResult<Void>
JingleSession. initiate()
Initiates the session.AsyncResult<IQ>
JingleSession. rejectTransport(String contentName, TransportMethod transportMethod)
AsyncResult<IQ>
JingleSession. replaceTransport(String contentName, TransportMethod transportMethod)
AsyncResult<IQ>
JingleSession. sendSessionInfo(Object object)
Sends a session info.AsyncResult<IQ>
JingleSession. terminate(Jingle.Reason reason)
Terminates the Jingle session. -
Uses of AsyncResult in rocks.xmpp.extensions.langtrans
Methods in rocks.xmpp.extensions.langtrans that return AsyncResult Modifier and Type Method Description AsyncResult<List<LanguageSupport.Item>>
LanguageTranslationManager. discoverLanguageSupport(Jid translationProvider)
Discovers language support for a translation provider.AsyncResult<List<Item>>
LanguageTranslationManager. discoverTranslationProviders()
Discovers the language provider on the connected server.AsyncResult<List<LanguageTranslation.Translation>>
LanguageTranslationManager. translate(Jid translationProvider, String text, Locale sourceLanguage, Locale... destinationLanguage)
Translates a text by sending a query to a translation provider. -
Uses of AsyncResult in rocks.xmpp.extensions.last
Methods in rocks.xmpp.extensions.last that return AsyncResult Modifier and Type Method Description AsyncResult<LastActivity>
LastActivityManager. getLastActivity(Jid jid)
Gets the last activity of the specified user. -
Uses of AsyncResult in rocks.xmpp.extensions.muc
Methods in rocks.xmpp.extensions.muc that return AsyncResult Modifier and Type Method Description AsyncResult<IQ>
ChatRoom. banUser(Jid user, String reason)
Bans a user.AsyncResult<IQ>
ChatRoom. changeAffiliation(Affiliation affiliation, Jid user, String reason)
Changes the affiliation for an user.AsyncResult<IQ>
ChatRoom. changeAffiliationsOrRoles(List<Item> items)
Changes multiple affiliations or roles.AsyncResult<Presence>
ChatRoom. changeNickname(String newNickname)
Changes the nickname.AsyncResult<IQ>
ChatRoom. changeRole(Role role, String nickname, String reason)
Changes the role for an occupant.AsyncResult<Message>
ChatRoom. changeSubject(String subject)
Changes the room subject.AsyncResult<IQ>
ChatRoom. configure(RoomConfiguration roomConfiguration)
Configures this room.AsyncResult<IQ>
ChatRoom. destroy()
Destroys the room.AsyncResult<IQ>
ChatRoom. destroy(String reason)
Destroys the room.AsyncResult<Set<String>>
ChatRoom. discoverAllowableTraffic()
Discovers the allowable traffic, i.e. the allowed extensions.AsyncResult<List<ChatService>>
MultiUserChatManager. discoverChatServices()
Discovers the multi-user chat services hosted at the connected domain.AsyncResult<List<Item>>
MultiUserChatManager. discoverEnteredRooms(Jid contact)
Discovers the rooms, where a contact is in.AsyncResult<List<String>>
ChatRoom. discoverOccupants()
Gets the occupants in this room, i.e. their nicknames.AsyncResult<String>
ChatRoom. discoverReservedNickname()
Gets your reserved room nickname.AsyncResult<List<ChatRoom>>
ChatService. discoverRooms()
Discovers the list of chat rooms hosted by this chat service.AsyncResult<Presence>
ChatRoom. enter(String nick)
Enters the room.AsyncResult<Presence>
ChatRoom. enter(String nick, String password)
Enters the room with a password.AsyncResult<Presence>
ChatRoom. enter(String nick, String password, DiscussionHistory history)
Enters the room with a password and requests history messages.AsyncResult<Presence>
ChatRoom. enter(String nick, DiscussionHistory history)
Enters the room and requests history messages.AsyncResult<Void>
ChatRoom. exit()
Exits the room.AsyncResult<Void>
ChatRoom. exit(String message)
Exits the room with a custom message.AsyncResult<List<Item>>
ChatRoom. getAdmins()
Gets the admins of the room.AsyncResult<List<Item>>
ChatRoom. getBanList()
Gets the ban list.AsyncResult<DataForm>
ChatRoom. getConfigurationForm()
Gets the configuration form for the room.AsyncResult<List<Item>>
ChatRoom. getMembers()
Gets the members of the room.AsyncResult<List<Item>>
ChatRoom. getModerators()
Gets the moderators.AsyncResult<List<Item>>
ChatRoom. getOutcasts()
Gets the outcasts of the room.AsyncResult<List<Item>>
ChatRoom. getOwners()
Gets the owners of the room.AsyncResult<DataForm>
ChatRoom. getRegistrationForm()
Gets the data form necessary to register with the room.AsyncResult<RoomInformation>
ChatRoom. getRoomInformation()
Gets the room information for this chat room.AsyncResult<List<Item>>
ChatRoom. getVoiceList()
Gets the voice list.AsyncResult<IQ>
ChatRoom. grantAdminStatus(Jid user, String reason)
Grants admin status to a user.AsyncResult<IQ>
ChatRoom. grantMembership(Jid user, String nick, String reason)
Grants membership to a user.AsyncResult<IQ>
ChatRoom. grantModeratorStatus(String nickname, String reason)
Grants moderator status to a participant or visitor.AsyncResult<IQ>
ChatRoom. grantOwnerStatus(Jid user, String reason)
Grants owner status to a user.AsyncResult<IQ>
ChatRoom. grantVoice(String nickname, String reason)
Grants voice to a visitor.AsyncResult<IQ>
ChatRoom. kickOccupant(String nickname, String reason)
Kicks an occupant from the room.AsyncResult<IQ>
ChatRoom. register(Registration registration)
Registers with the room.AsyncResult<IQ>
ChatRoom. revokeAdminStatus(Jid user, String reason)
Revokes a user's admin status.AsyncResult<IQ>
ChatRoom. revokeMembership(Jid user, String reason)
Revokes a user's membership.AsyncResult<IQ>
ChatRoom. revokeModeratorStatus(String nickname, String reason)
Revokes moderator status from a participant or visitor.AsyncResult<IQ>
ChatRoom. revokeOwnerStatus(Jid user, String reason)
Revokes a user's owner status.AsyncResult<IQ>
ChatRoom. revokeVoice(String nickname, String reason)
Revokes voice from a participant. -
Uses of AsyncResult in rocks.xmpp.extensions.offline
Methods in rocks.xmpp.extensions.offline that return AsyncResult Modifier and Type Method Description AsyncResult<Boolean>
OfflineMessageManager. isSupported()
Discovers support for flexible offline message retrieval.AsyncResult<IQ>
OfflineMessageManager. removeAllMessages()
Removes all offline messages.AsyncResult<IQ>
OfflineMessageManager. removeMessages(String... ids)
Removes specific offline messages.AsyncResult<IQ>
OfflineMessageManager. requestAllMessages()
Requests all offline messages.AsyncResult<IQ>
OfflineMessageManager. requestMessage(String id)
Requests a specific offline message.AsyncResult<List<OfflineMessageHeader>>
OfflineMessageManager. requestMessageHeaders()
Gets the offline message headers.AsyncResult<Integer>
OfflineMessageManager. requestNumberOfMessages()
Gets the number of offline messages. -
Uses of AsyncResult in rocks.xmpp.extensions.oob
Methods in rocks.xmpp.extensions.oob that return AsyncResult Modifier and Type Method Description AsyncResult<FileTransfer>
OutOfBandFileTransferManager. accept(IQ iq, String sessionId, FileTransferOffer fileTransferOffer, Object protocol, OutputStream outputStream)
-
Uses of AsyncResult in rocks.xmpp.extensions.ping
Methods in rocks.xmpp.extensions.ping that return AsyncResult Modifier and Type Method Description AsyncResult<Boolean>
PingManager. ping(Jid jid)
Pings the given XMPP entity.AsyncResult<Boolean>
PingManager. pingServer()
Pings the connected server. -
Uses of AsyncResult in rocks.xmpp.extensions.privacy
Methods in rocks.xmpp.extensions.privacy that return AsyncResult Modifier and Type Method Description AsyncResult<IQ>
PrivacyListManager. createOrUpdateList(PrivacyList privacyList)
Creates or edits a privacy list.AsyncResult<IQ>
PrivacyListManager. declineActiveList()
Declines the use of any active list.AsyncResult<IQ>
PrivacyListManager. declineDefaultList()
Declines the use of any default list.AsyncResult<PrivacyList>
PrivacyListManager. getPrivacyList(String name)
Gets a privacy list.AsyncResult<Collection<PrivacyList>>
PrivacyListManager. getPrivacyLists()
Gets the privacy lists.AsyncResult<IQ>
PrivacyListManager. removeList(String name)
Removes a privacy list.AsyncResult<IQ>
PrivacyListManager. setActiveList(String name)
Changes the active list currently being applied.AsyncResult<IQ>
PrivacyListManager. setDefaultList(String name)
Change the default list (which applies to the user as a whole, not only the sending resource). -
Uses of AsyncResult in rocks.xmpp.extensions.privatedata
Methods in rocks.xmpp.extensions.privatedata that return AsyncResult Modifier and Type Method 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. -
Uses of AsyncResult in rocks.xmpp.extensions.pubsub
Methods in rocks.xmpp.extensions.pubsub that return AsyncResult Modifier and Type Method Description AsyncResult<IQ>
PubSubNode. configureNode(NodeConfiguration nodeConfiguration)
Configures the node by submitting the configuration form.AsyncResult<IQ>
PubSubNode. configureSubscription(SubscribeOptions subscribeOptions)
Configures the subscription options for this node.AsyncResult<String>
PubSubNode. create()
Creates the node on the remote pubsub service.AsyncResult<String>
PubSubNode. create(NodeConfiguration nodeConfiguration)
Creates and configures this node on the remote pubsub service.AsyncResult<IQ>
PubSubNode. delete()
Deletes this node on the pubsub service.AsyncResult<IQ>
PubSubNode. delete(URI uri)
Deletes this node and specifies a replacement node.AsyncResult<IQ>
PubSubNode. deleteItem(String id, boolean notify)
Deletes an item from this node.AsyncResult<Collection<PubSubFeature>>
PubSubService. discoverFeatures()
Discovers the features, which are supported by the pubsub service.AsyncResult<List<Item>>
PubSubNode. discoverItems()
Discovers the items for this node.AsyncResult<NodeMetaData>
PubSubNode. discoverNodeMetaData()
Discovers the node info, which consists of a node name, type and meta data.AsyncResult<List<PubSubNode>>
PubSubNode. discoverNodes()
Discovers the (sub-)nodes, which hierarchically reside under this node, e.g. the "second-level" nodes.AsyncResult<List<PubSubNode>>
PubSubService. discoverNodes()
Discovers the first-level nodes of this pubsub service.AsyncResult<List<PubSubService>>
PubSubManager. discoverPubSubServices()
Discovers the publish-subscribe services for the current connection.AsyncResult<List<Affiliation>>
PubSubNode. getAffiliations()
Gets the affiliations for this node.AsyncResult<List<Affiliation>>
PubSubService. getAffiliations()
Gets the affiliations for all nodes.AsyncResult<DataForm>
PubSubService. getDefaultNodeConfiguration()
Gets the default node configuration form for this pubsub service.AsyncResult<DataForm>
PubSubService. getDefaultSubscriptionOptions()
Gets the default subscription options for this pubsub service.AsyncResult<List<Item>>
PubSubNode. getItems()
Gets all items for this node.AsyncResult<List<Item>>
PubSubNode. getItems(int maxItems)
Gets the most recent items.AsyncResult<List<Item>>
PubSubNode. getItems(String... ids)
Gets one or more items with a given item id for a specific node.AsyncResult<NodeConfiguration>
PubSubNode. getNodeConfiguration()
Gets the node configuration form.AsyncResult<SubscribeOptions>
PubSubNode. getSubscriptionOptions()
Gets the subscription options for this node.AsyncResult<SubscribeOptions>
PubSubNode. getSubscriptionOptions(boolean defaultOptions)
Gets the (default) subscription options for this node.AsyncResult<SubscribeOptions>
PubSubNode. getSubscriptionOptions(String subId)
Gets the subscription options for this node.AsyncResult<List<Subscription>>
PubSubNode. getSubscriptions()
Gets the subscriptions for this node.AsyncResult<List<Subscription>>
PubSubService. getSubscriptions()
Gets the subscriptions for all nodes.AsyncResult<String>
PubSubNode. publish(Object item)
Publishes an item to this node.AsyncResult<String>
PubSubNode. publish(Object item, PublishOptions publishOptions)
Publishes an item to this node.AsyncResult<String>
PubSubNode. publish(String id, Object item)
Publishes an item to this node.AsyncResult<String>
PubSubNode. publish(String id, Object item, PublishOptions publishOptions)
Publishes an item to this node.AsyncResult<IQ>
PubSubNode. purge()
Purges this node of all published items.AsyncResult<Subscription>
PubSubNode. subscribe()
Subscribes to this node.AsyncResult<Subscription>
PubSubNode. subscribe(Jid jid)
Subscribes to this node.AsyncResult<Subscription>
PubSubNode. subscribe(Jid jid, SubscribeOptions subscribeOptions)
Subscribes to and configures this node.AsyncResult<Subscription>
PubSubNode. subscribe(SubscribeOptions subscribeOptions)
Subscribes to and configures this node.AsyncResult<IQ>
PubSubNode. unsubscribe(String subscriptionId)
Unsubscribes from this node. -
Uses of AsyncResult in rocks.xmpp.extensions.reach
Methods in rocks.xmpp.extensions.reach that return AsyncResult Modifier and Type Method Description AsyncResult<List<Address>>
ReachabilityManager. requestReachabilityAddresses(Jid contact)
Requests the reachability addresses of a contact. -
Uses of AsyncResult in rocks.xmpp.extensions.register
Methods in rocks.xmpp.extensions.register that return AsyncResult Modifier and Type Method Description AsyncResult<Void>
RegistrationManager. cancelRegistration()
Cancels a registration.AsyncResult<Void>
RegistrationManager. changePassword(String username, String password)
Changes the password for the current user.AsyncResult<Registration>
RegistrationManager. getRegistration()
Gets the registration data (instructions, fields and form) from the server.AsyncResult<Boolean>
RegistrationManager. isRegistrationSupported()
Determines, if in-band registration is supported by the server.AsyncResult<Void>
RegistrationManager. register(Registration registration)
Registers a new account. -
Uses of AsyncResult in rocks.xmpp.extensions.rosterx
Methods in rocks.xmpp.extensions.rosterx that return AsyncResult Modifier and Type Method Description AsyncResult<Void>
ContactExchangeManager. suggestContactAddition(Jid jid, Contact... contacts)
Suggests the addition of one or more contacts to another user. -
Uses of AsyncResult in rocks.xmpp.extensions.rpc
Methods in rocks.xmpp.extensions.rpc that return AsyncResult Modifier and Type Method Description AsyncResult<Value>
RpcManager. call(Jid jid, String methodName, Value... parameters)
Calls a remote procedure. -
Uses of AsyncResult in rocks.xmpp.extensions.rpc.client
Methods in rocks.xmpp.extensions.rpc.client that return AsyncResult Modifier and Type Method Description AsyncResult<Value>
ClientRpcManager. call(Jid jid, String methodName, Value... parameters)
-
Uses of AsyncResult in rocks.xmpp.extensions.search
Methods in rocks.xmpp.extensions.search that return AsyncResult Modifier and Type Method Description AsyncResult<Search>
SearchManager. discoverSearchFields(Jid service)
Discovers the supported search fields of a service.AsyncResult<Search>
SearchManager. search(Search search, Jid service)
Performs a search on the given service with given search parameters. -
Uses of AsyncResult in rocks.xmpp.extensions.shim
Methods in rocks.xmpp.extensions.shim that return AsyncResult Modifier and Type Method Description AsyncResult<List<String>>
HeaderManager. discoverSupportedHeaders(Jid jid)
Discovers the supported headers of another entity.AsyncResult<List<String>>
StanzaHeadersAndInternetMetadataProtocol. discoverSupportedHeaders(Jid jid)
-
Uses of AsyncResult in rocks.xmpp.extensions.si
Methods in rocks.xmpp.extensions.si that return AsyncResult Modifier and Type Method Description AsyncResult<FileTransfer>
StreamInitiationManager. accept(IQ iq, String sessionId, FileTransferOffer fileTransferOffer, Object protocol, OutputStream outputStream)
AsyncResult<ByteStreamSession>
StreamInitiationManager. initiateStream(Jid receiver, SIFileTransferOffer profile, String mimeType, Duration timeout)
Initiates a stream with another entity.AsyncResult<ByteStreamSession>
StreamInitiationManager. initiateStream(Jid receiver, SIFileTransferOffer profile, String mimeType, Duration timeout, String sessionId)
Initiates a stream with another entity. -
Uses of AsyncResult in rocks.xmpp.extensions.sm.client
Methods in rocks.xmpp.extensions.sm.client that return AsyncResult Modifier and Type Method Description AsyncResult<Boolean>
ClientStreamManager. resume()
Resumes the stream. -
Uses of AsyncResult in rocks.xmpp.extensions.time
Methods in rocks.xmpp.extensions.time that return AsyncResult Modifier and Type Method Description AsyncResult<OffsetDateTime>
EntityTimeManager. getEntityTime(Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity. -
Uses of AsyncResult in rocks.xmpp.extensions.vcard.avatar
Methods in rocks.xmpp.extensions.vcard.avatar that return AsyncResult Modifier and Type Method Description AsyncResult<byte[]>
VCardBasedAvatarsProtocol. getAvatar(Jid contact)
AsyncResult<Void>
VCardBasedAvatarsProtocol. publishAvatar(byte[] avatar)
Publishes an avatar to the VCard and uses XEP-0153 to notify the contacts about the update. -
Uses of AsyncResult in rocks.xmpp.extensions.vcard.temp
Methods in rocks.xmpp.extensions.vcard.temp that return AsyncResult Modifier and Type Method Description AsyncResult<VCard>
VCardManager. getVCard()
Gets the vCard of the current user.AsyncResult<VCard>
VCardManager. getVCard(Jid jid)
Gets the vCard of another user.AsyncResult<Void>
VCardManager. setVCard(VCard vCard)
Saves or updates a vCard. -
Uses of AsyncResult in rocks.xmpp.extensions.version
Methods in rocks.xmpp.extensions.version that return AsyncResult Modifier and Type Method Description AsyncResult<SoftwareVersion>
SoftwareVersionManager. getSoftwareVersion(Jid jid)
Queries another entity for its software version. -
Uses of AsyncResult in rocks.xmpp.extensions.version.client
Methods in rocks.xmpp.extensions.version.client that return AsyncResult Modifier and Type Method Description AsyncResult<SoftwareVersion>
ClientSoftwareVersionManager. getSoftwareVersion(Jid jid)
Gets the software version of another entity. -
Uses of AsyncResult in rocks.xmpp.im.roster
Methods in rocks.xmpp.im.roster that return AsyncResult Modifier and Type Method 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. -
Uses of AsyncResult in rocks.xmpp.util.concurrent
Methods in rocks.xmpp.util.concurrent that return AsyncResult Modifier and Type Method 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)
-