Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
XmppSession.isSupported(java.lang.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,
java.lang.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,
java.time.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,
java.util.function.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,
java.util.function.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<byte[]> |
AvatarManager.getAvatar(Jid contact)
Gets the user avatar from the user’s vCard.
|
AsyncResult<java.awt.image.BufferedImage> |
AvatarManager.getAvatarImage(Jid contact)
Gets the user avatar from the user’s vCard.
|
AsyncResult<java.lang.Void> |
AvatarManager.publishAvatar(byte[] imageData)
Publishes an avatar to your VCard.
|
AsyncResult<java.lang.Void> |
AvatarManager.publishAvatarImage(java.awt.image.BufferedImage bufferedImage)
Publishes an avatar to your VCard.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
BlockingManager.blockContact(Jid... jids)
Blocks communications with contacts.
|
AsyncResult<java.util.Set<Jid>> |
BlockingManager.getBlockedContacts()
Retrieves the blocked contacts.
|
AsyncResult<IQ> |
BlockingManager.unblockContact(Jid... jids)
Unblocks communications with specific contacts or with all contacts.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
BookmarkManager.addBookmark(Bookmark bookmark)
Adds a bookmark.
|
AsyncResult<java.util.List<ChatRoomBookmark>> |
BookmarkManager.getChatRoomBookmarks()
Gets a sorted collection of chat room bookmarks.
|
AsyncResult<java.util.List<WebPageBookmark>> |
BookmarkManager.getWebPageBookmarks()
Gets a sorted collection of web page bookmarks.
|
AsyncResult<java.lang.Void> |
BookmarkManager.removeChatRoomBookmark(Jid chatRoom)
Removes a chat room bookmark.
|
AsyncResult<java.lang.Void> |
BookmarkManager.removeWebPageBookmark(java.net.URL webPage)
Removes a web page bookmark.
|
Modifier and Type | Method and Description |
---|---|
abstract AsyncResult<ByteStreamSession> |
ByteStreamEvent.accept()
Accepts the session.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<ByteStreamSession> |
InBandByteStreamManager.initiateSession(Jid receiver,
java.lang.String sessionId,
int blockSize)
Initiates an in-band byte stream session.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.util.List<StreamHost>> |
Socks5ByteStreamManager.discoverProxies()
Discovers the SOCKS5 proxies.
|
AsyncResult<java.util.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,
java.lang.String sessionId)
Initiates a SOCKS5 session with a target.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<InfoNode> |
EntityCapabilitiesManager.discoverCapabilities(Jid jid)
Discovers the capabilities of another XMPP entity.
|
AsyncResult<java.lang.Boolean> |
EntityCapabilitiesManager.isSupported(java.lang.String feature,
Jid jid)
Checks whether the entity supports the given feature.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
ChatStateManager.isSupported(Jid jid)
Indicates whether chat state notifications are supported by the peer.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<InfoNode> |
ServiceDiscoveryManager.discoverInformation(Jid jid)
Discovers information about another XMPP entity.
|
AsyncResult<InfoNode> |
ServiceDiscoveryManager.discoverInformation(Jid jid,
java.lang.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,
java.lang.String node)
Discovers item associated with another XMPP entity.
|
AsyncResult<ItemNode> |
ServiceDiscoveryManager.discoverItems(Jid jid,
java.lang.String node,
ResultSetManagement resultSetManagement)
Discovers item associated with another XMPP entity.
|
AsyncResult<java.util.List<Item>> |
ServiceDiscoveryManager.discoverServices(Identity identity)
Discovers a service on the connected server by its identity.
|
AsyncResult<java.util.List<Item>> |
ServiceDiscoveryManager.discoverServices(java.lang.String feature)
Discovers a service on the connected server by its feature namespace.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<FileTransfer> |
FileTransferOfferEvent.accept(java.io.File target)
Accepts the inbound file transfer request.
|
AsyncResult<FileTransfer> |
FileTransferNegotiator.accept(IQ iq,
java.lang.String sessionId,
FileTransferOffer fileTransferOffer,
java.lang.Object protocol,
java.io.OutputStream outputStream) |
AsyncResult<FileTransfer> |
FileTransferOfferEvent.accept(java.io.OutputStream outputStream)
Accepts the inbound file transfer request.
|
AsyncResult<FileTransfer> |
FileTransferOfferEvent.accept(java.nio.file.Path destination)
Accepts the inbound file transfer request.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.io.File file,
java.lang.String description,
Jid recipient,
java.time.Duration timeout)
Offers a file to another user.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.io.InputStream source,
java.lang.String fileName,
long fileSize,
java.time.Instant lastModified,
java.lang.String description,
Jid recipient,
java.time.Duration timeout)
Offers a stream to another user.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.io.InputStream source,
java.lang.String fileName,
long fileSize,
java.time.Instant lastModified,
java.lang.String description,
Jid recipient,
java.time.Duration timeout,
java.lang.String sessionId)
Offers a stream to another user.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.io.InputStream source,
java.lang.String fileName,
long fileSize,
java.time.Instant lastModified,
java.lang.String description,
Jid recipient,
java.time.Duration timeout,
java.lang.String sessionId,
java.lang.String mimeType,
java.lang.String hash)
Offers a stream to another user.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.nio.file.Path source,
java.lang.String description,
Jid recipient,
java.time.Duration timeout)
Offers a file to another user.
|
AsyncResult<FileTransfer> |
FileTransferManager.offerFile(java.nio.file.Path source,
java.lang.String description,
Jid recipient,
java.time.Duration timeout,
java.lang.String mimeType,
boolean calculateHash)
Offers a file to another user.
|
AsyncResult<IQ> |
FileTransferManager.offerFile(java.net.URI uri,
java.lang.String description,
Jid recipient,
java.time.Duration timeout)
Offers a file to another user in form of an URL.
|
AsyncResult<IQ> |
FileTransferManager.offerFile(java.net.URL url,
java.lang.String description,
Jid recipient,
java.time.Duration timeout)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.String> |
GeoLocationManager.publish(GeoLocation geoLocation)
Publishes a geo location to the personal eventing service.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
InvisibilityManager.becomeInvisible()
Becomes invisible.
|
AsyncResult<java.lang.Void> |
InvisibilityManager.becomeVisible()
Becomes visible.
|
AsyncResult<java.lang.Boolean> |
InvisibilityManager.isSupported()
Checks, whether invisibility is supported by the server.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
JingleSession.accept(Jingle.Content... contents)
Accepts the session.
|
AsyncResult<IQ> |
JingleSession.acceptTransport(java.lang.String contentName,
TransportMethod transportMethod) |
AsyncResult<java.lang.Void> |
JingleSession.initiate()
Initiates the session.
|
AsyncResult<IQ> |
JingleSession.rejectTransport(java.lang.String contentName,
TransportMethod transportMethod) |
AsyncResult<IQ> |
JingleSession.replaceTransport(java.lang.String contentName,
TransportMethod transportMethod) |
AsyncResult<IQ> |
JingleSession.sendSessionInfo(java.lang.Object object)
Sends a session info.
|
AsyncResult<IQ> |
JingleSession.terminate(Jingle.Reason reason)
Terminates the Jingle session.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.util.List<LanguageSupport.Item>> |
LanguageTranslationManager.discoverLanguageSupport(Jid translationProvider)
Discovers language support for a translation provider.
|
AsyncResult<java.util.List<Item>> |
LanguageTranslationManager.discoverTranslationProviders()
Discovers the language provider on the connected server.
|
AsyncResult<java.util.List<LanguageTranslation.Translation>> |
LanguageTranslationManager.translate(Jid translationProvider,
java.lang.String text,
java.util.Locale sourceLanguage,
java.util.Locale... destinationLanguage)
Translates a text by sending a query to a translation provider.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<LastActivity> |
LastActivityManager.getLastActivity(Jid jid)
Gets the last activity of the specified user.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
ChatRoom.banUser(Jid user,
java.lang.String reason)
Bans a user.
|
AsyncResult<IQ> |
ChatRoom.changeAffiliation(Affiliation affiliation,
Jid user,
java.lang.String reason)
Changes the affiliation for an user.
|
AsyncResult<IQ> |
ChatRoom.changeAffiliationsOrRoles(java.util.List<Item> items)
Changes multiple affiliations or roles.
|
AsyncResult<Presence> |
ChatRoom.changeNickname(java.lang.String newNickname)
Changes the nickname.
|
AsyncResult<IQ> |
ChatRoom.changeRole(Role role,
java.lang.String nickname,
java.lang.String reason)
Changes the role for an occupant.
|
AsyncResult<Message> |
ChatRoom.changeSubject(java.lang.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(java.lang.String reason)
Destroys the room.
|
AsyncResult<java.util.Set<java.lang.String>> |
ChatRoom.discoverAllowableTraffic()
Discovers the allowable traffic, i.e. the allowed extensions.
|
AsyncResult<java.util.List<ChatService>> |
MultiUserChatManager.discoverChatServices()
Discovers the multi-user chat services hosted at the connected domain.
|
AsyncResult<java.util.List<Item>> |
MultiUserChatManager.discoverEnteredRooms(Jid contact)
Discovers the rooms, where a contact is in.
|
AsyncResult<java.util.List<java.lang.String>> |
ChatRoom.discoverOccupants()
Gets the occupants in this room, i.e. their nicknames.
|
AsyncResult<java.lang.String> |
ChatRoom.discoverReservedNickname()
Gets your reserved room nickname.
|
AsyncResult<java.util.List<ChatRoom>> |
ChatService.discoverRooms()
Discovers the list of chat rooms hosted by this chat service.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick)
Enters the room.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
DiscussionHistory history)
Enters the room and requests history messages.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
java.lang.String password)
Enters the room with a password.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
java.lang.String password,
DiscussionHistory history)
Enters the room with a password and requests history messages.
|
AsyncResult<java.lang.Void> |
ChatRoom.exit()
Exits the room.
|
AsyncResult<java.lang.Void> |
ChatRoom.exit(java.lang.String message)
Exits the room with a custom message.
|
AsyncResult<java.util.List<Item>> |
ChatRoom.getAdmins()
Gets the admins of the room.
|
AsyncResult<java.util.List<Item>> |
ChatRoom.getBanList()
Gets the ban list.
|
AsyncResult<DataForm> |
ChatRoom.getConfigurationForm()
Gets the configuration form for the room.
|
AsyncResult<java.util.List<Item>> |
ChatRoom.getMembers()
Gets the members of the room.
|
AsyncResult<java.util.List<Item>> |
ChatRoom.getModerators()
Gets the moderators.
|
AsyncResult<java.util.List<Item>> |
ChatRoom.getOutcasts()
Gets the outcasts of the room.
|
AsyncResult<java.util.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<java.util.List<Item>> |
ChatRoom.getVoiceList()
Gets the voice list.
|
AsyncResult<IQ> |
ChatRoom.grantAdminStatus(Jid user,
java.lang.String reason)
Grants admin status to a user.
|
AsyncResult<IQ> |
ChatRoom.grantMembership(Jid user,
java.lang.String nick,
java.lang.String reason)
Grants membership to a user.
|
AsyncResult<IQ> |
ChatRoom.grantModeratorStatus(java.lang.String nickname,
java.lang.String reason)
Grants moderator status to a participant or visitor.
|
AsyncResult<IQ> |
ChatRoom.grantOwnerStatus(Jid user,
java.lang.String reason)
Grants owner status to a user.
|
AsyncResult<IQ> |
ChatRoom.grantVoice(java.lang.String nickname,
java.lang.String reason)
Grants voice to a visitor.
|
AsyncResult<IQ> |
ChatRoom.kickOccupant(java.lang.String nickname,
java.lang.String reason)
Kicks an occupant from the room.
|
AsyncResult<IQ> |
ChatRoom.register(Registration registration)
Registers with the room.
|
AsyncResult<IQ> |
ChatRoom.revokeAdminStatus(Jid user,
java.lang.String reason)
Revokes a user’s admin status.
|
AsyncResult<IQ> |
ChatRoom.revokeMembership(Jid user,
java.lang.String reason)
Revokes a user’s membership.
|
AsyncResult<IQ> |
ChatRoom.revokeModeratorStatus(java.lang.String nickname,
java.lang.String reason)
Revokes moderator status from a participant or visitor.
|
AsyncResult<IQ> |
ChatRoom.revokeOwnerStatus(Jid user,
java.lang.String reason)
Revokes a user’s owner status.
|
AsyncResult<IQ> |
ChatRoom.revokeVoice(java.lang.String nickname,
java.lang.String reason)
Revokes voice from a participant.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
OfflineMessageManager.isSupported()
Discovers support for flexible offline message retrieval.
|
AsyncResult<IQ> |
OfflineMessageManager.removeAllMessages()
Removes all offline messages.
|
AsyncResult<IQ> |
OfflineMessageManager.removeMessages(java.lang.String... ids)
Removes specific offline messages.
|
AsyncResult<IQ> |
OfflineMessageManager.requestAllMessages()
Requests all offline messages.
|
AsyncResult<IQ> |
OfflineMessageManager.requestMessage(java.lang.String id)
Requests a specific offline message.
|
AsyncResult<java.util.List<OfflineMessageHeader>> |
OfflineMessageManager.requestMessageHeaders()
Gets the offline message headers.
|
AsyncResult<java.lang.Integer> |
OfflineMessageManager.requestNumberOfMessages()
Gets the number of offline messages.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<FileTransfer> |
OutOfBandFileTransferManager.accept(IQ iq,
java.lang.String sessionId,
FileTransferOffer fileTransferOffer,
java.lang.Object protocol,
java.io.OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
PingManager.ping(Jid jid)
Pings the given XMPP entity.
|
AsyncResult<java.lang.Boolean> |
PingManager.pingServer()
Pings the connected server.
|
Modifier and Type | Method and 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(java.lang.String name)
Gets a privacy list.
|
AsyncResult<java.util.Collection<PrivacyList>> |
PrivacyListManager.getPrivacyLists()
Gets the privacy lists.
|
AsyncResult<IQ> |
PrivacyListManager.removeList(java.lang.String name)
Removes a privacy list.
|
AsyncResult<IQ> |
PrivacyListManager.setActiveList(java.lang.String name)
Changes the active list currently being applied.
|
AsyncResult<IQ> |
PrivacyListManager.setDefaultList(java.lang.String name)
Change the default list (which applies to the user as a whole, not only the sending resource).
|
Modifier and Type | Method and Description |
---|---|
<T> AsyncResult<T> |
PrivateDataManager.getData(java.lang.Class<T> type)
Gets private data, which is stored on the server.
|
AsyncResult<java.lang.Void> |
PrivateDataManager.storeData(java.lang.Object privateData)
Stores private data.
|
Modifier and Type | Method and 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<java.lang.String> |
PubSubNode.create()
Creates the node on the remote pubsub service.
|
AsyncResult<java.lang.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(java.net.URI uri)
Deletes this node and specifies a replacement node.
|
AsyncResult<IQ> |
PubSubNode.deleteItem(java.lang.String id,
boolean notify)
Deletes an item from this node.
|
AsyncResult<java.util.Collection<PubSubFeature>> |
PubSubService.discoverFeatures()
Discovers the features, which are supported by the pubsub service.
|
AsyncResult<java.util.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<java.util.List<PubSubNode>> |
PubSubService.discoverNodes()
Discovers the first-level nodes of this pubsub service.
|
AsyncResult<java.util.List<PubSubNode>> |
PubSubNode.discoverNodes()
Discovers the (sub-)nodes, which hierarchically reside under this node, e.g. the “second-level” nodes.
|
AsyncResult<java.util.List<PubSubService>> |
PubSubManager.discoverPubSubServices()
Discovers the publish-subscribe services for the current connection.
|
AsyncResult<java.util.List<Affiliation>> |
PubSubService.getAffiliations()
Gets the affiliations for all nodes.
|
AsyncResult<java.util.List<Affiliation>> |
PubSubNode.getAffiliations()
Gets the affiliations for this node.
|
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<java.util.List<Item>> |
PubSubNode.getItems()
Gets all items for this node.
|
AsyncResult<java.util.List<Item>> |
PubSubNode.getItems(int maxItems)
Gets the most recent items.
|
AsyncResult<java.util.List<Item>> |
PubSubNode.getItems(java.lang.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(java.lang.String subId)
Gets the subscription options for this node.
|
AsyncResult<java.util.List<Subscription>> |
PubSubService.getSubscriptions()
Gets the subscriptions for all nodes.
|
AsyncResult<java.util.List<Subscription>> |
PubSubNode.getSubscriptions()
Gets the subscriptions for this node.
|
AsyncResult<java.lang.String> |
PubSubNode.publish(java.lang.Object item)
Publishes an item to this node.
|
AsyncResult<java.lang.String> |
PubSubNode.publish(java.lang.Object item,
PublishOptions publishOptions)
Publishes an item to this node.
|
AsyncResult<java.lang.String> |
PubSubNode.publish(java.lang.String id,
java.lang.Object item)
Publishes an item to this node.
|
AsyncResult<java.lang.String> |
PubSubNode.publish(java.lang.String id,
java.lang.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(java.lang.String subscriptionId)
Unsubscribes from this node.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.util.List<Address>> |
ReachabilityManager.requestReachabilityAddresses(Jid contact)
Requests the reachability addresses of a contact.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
RegistrationManager.cancelRegistration()
Cancels a registration.
|
AsyncResult<java.lang.Void> |
RegistrationManager.changePassword(java.lang.String username,
java.lang.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<java.lang.Boolean> |
RegistrationManager.isRegistrationSupported()
Determines, if in-band registration is supported by the server.
|
AsyncResult<java.lang.Void> |
RegistrationManager.register(Registration registration)
Registers a new account.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
ContactExchangeManager.suggestContactAddition(Jid jid,
Contact... contacts)
Suggests the addition of one or more contacts to another user.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<Value> |
RpcManager.call(Jid jid,
java.lang.String methodName,
Value... parameters)
Calls a remote procedure.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.util.List<java.lang.String>> |
HeaderManager.discoverSupportedHeaders(Jid jid)
Discovers the supported headers of another entity.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<FileTransfer> |
StreamInitiationManager.accept(IQ iq,
java.lang.String sessionId,
FileTransferOffer fileTransferOffer,
java.lang.Object protocol,
java.io.OutputStream outputStream) |
AsyncResult<ByteStreamSession> |
StreamInitiationManager.initiateStream(Jid receiver,
SIFileTransferOffer profile,
java.lang.String mimeType,
java.time.Duration timeout)
Initiates a stream with another entity.
|
AsyncResult<ByteStreamSession> |
StreamInitiationManager.initiateStream(Jid receiver,
SIFileTransferOffer profile,
java.lang.String mimeType,
java.time.Duration timeout,
java.lang.String sessionId)
Initiates a stream with another entity.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
StreamManager.resume()
Resumes the stream.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.time.OffsetDateTime> |
EntityTimeManager.getEntityTime(Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
|
Modifier and Type | Method and 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<java.lang.Void> |
VCardManager.setVCard(VCard vCard)
Saves or updates a vCard.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<SoftwareVersion> |
SoftwareVersionManager.getSoftwareVersion(Jid jid)
Gets the software version of another entity.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
RosterManager.addContact(Contact contact,
boolean requestSubscription,
java.lang.String status)
Adds a contact to the roster and optionally also sends a subscription request to it.
|
AsyncResult<java.lang.Void> |
RosterManager.removeContact(Jid jid)
Removes a contact from the roster.
|
AsyncResult<java.lang.Void> |
RosterManager.removeContactGroup(ContactGroup contactGroup)
Removes a contact group.
|
AsyncResult<java.lang.Void> |
RosterManager.renameContactGroup(ContactGroup contactGroup,
java.lang.String name)
Renames a contact group.
|
AsyncResult<Roster> |
RosterManager.requestRoster()
Requests the roster from the server.
|
AsyncResult<java.lang.Void> |
RosterManager.storeGroupDelimiter(java.lang.String groupDelimiter)
Stores the roster group delimiter in the private storage and afterwards sets it.
|
AsyncResult<java.lang.Void> |
RosterManager.updateContact(Contact contact)
Updates a contact in the roster.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
AsyncResult.acceptEither(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action) |
AsyncResult<java.lang.Void> |
AsyncResult.acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action) |
AsyncResult<java.lang.Void> |
AsyncResult.acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action,
java.util.concurrent.Executor executor) |
<U> AsyncResult<U> |
AsyncResult.applyToEither(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn) |
<U> AsyncResult<U> |
AsyncResult.applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn) |
<U> AsyncResult<U> |
AsyncResult.applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn,
java.util.concurrent.Executor executor) |
AsyncResult<T> |
AsyncResult.exceptionally(java.util.function.Function<java.lang.Throwable,? extends T> fn) |
<U> AsyncResult<U> |
AsyncResult.handle(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U> fn,
java.util.concurrent.Executor executor) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterBoth(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterBothAsync(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterBothAsync(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action,
java.util.concurrent.Executor executor) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterEither(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterEitherAsync(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.runAfterEitherAsync(java.util.concurrent.CompletionStage<?> other,
java.lang.Runnable action,
java.util.concurrent.Executor executor) |
AsyncResult<java.lang.Void> |
AsyncResult.thenAccept(java.util.function.Consumer<? super T> action) |
AsyncResult<java.lang.Void> |
AsyncResult.thenAcceptAsync(java.util.function.Consumer<? super T> action) |
AsyncResult<java.lang.Void> |
AsyncResult.thenAcceptAsync(java.util.function.Consumer<? super T> action,
java.util.concurrent.Executor executor) |
<U> AsyncResult<java.lang.Void> |
AsyncResult.thenAcceptBoth(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action) |
<U> AsyncResult<java.lang.Void> |
AsyncResult.thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action) |
<U> AsyncResult<java.lang.Void> |
AsyncResult.thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action,
java.util.concurrent.Executor executor) |
<U> AsyncResult<U> |
AsyncResult.thenApply(java.util.function.Function<? super T,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.thenApplyAsync(java.util.function.Function<? super T,? extends U> fn) |
<U> AsyncResult<U> |
AsyncResult.thenApplyAsync(java.util.function.Function<? super T,? extends U> fn,
java.util.concurrent.Executor executor) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombine(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombineAsync(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn) |
<U,V> AsyncResult<V> |
AsyncResult.thenCombineAsync(java.util.concurrent.CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn,
java.util.concurrent.Executor executor) |
<U> AsyncResult<U> |
AsyncResult.thenCompose(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>> fn) |
<U> AsyncResult<U> |
AsyncResult.thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>> fn) |
<U> AsyncResult<U> |
AsyncResult.thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>> fn,
java.util.concurrent.Executor executor) |
AsyncResult<java.lang.Void> |
AsyncResult.thenRun(java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.thenRunAsync(java.lang.Runnable action) |
AsyncResult<java.lang.Void> |
AsyncResult.thenRunAsync(java.lang.Runnable action,
java.util.concurrent.Executor executor) |
AsyncResult<T> |
AsyncResult.whenComplete(java.util.function.BiConsumer<? super T,? super java.lang.Throwable> action) |
AsyncResult<T> |
AsyncResult.whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable> action) |
AsyncResult<T> |
AsyncResult.whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable> action,
java.util.concurrent.Executor executor) |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.