Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
XmppSession.query(IQ iq)
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. |
SendTask<IQ> |
XmppSession.sendIQ(IQ iq)
Sends an IQ.
|
Modifier and Type | Method and Description |
---|---|
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. |
SendTask<IQ> |
XmppSession.sendIQ(IQ iq)
Sends an IQ.
|
Modifier and Type | Method and Description |
---|---|
IQ |
IQEvent.getIQ()
Gets the IQ stanza.
|
IQ |
IQHandler.handleRequest(IQ iq)
|
IQ |
AbstractIQHandler.handleRequest(IQ iq) |
Modifier and Type | Method and Description |
---|---|
IQ |
IQHandler.handleRequest(IQ iq)
|
IQ |
AbstractIQHandler.handleRequest(IQ iq) |
Constructor and Description |
---|
IQEvent(java.lang.Object source,
IQ iq,
boolean inbound)
Constructs an IQ event.
|
Modifier and Type | Method and Description |
---|---|
IQ |
IQ.createError(Condition condition) |
IQ |
IQ.createError(StanzaError error) |
IQ |
IQ.createResult()
Creates a result IQ stanza, i.e. it uses the same id as this IQ, sets the type to ‘result’ and switches the ‘to’ and ‘from’ attribute.
|
IQ |
IQ.createResult(java.lang.Object extension)
Creates a result IQ stanza with a payload, i.e. it uses the same id as this IQ, sets the type to ‘result’ and switches the ‘to’ and ‘from’ attribute.
|
static IQ |
IQ.get(Jid to,
java.lang.Object extension)
Creates an IQ of type ‘get’ with a random id.
|
static IQ |
IQ.get(java.lang.Object extension)
Creates an IQ of type ‘get’ with a random id.
|
static IQ |
IQ.set(Jid to,
java.lang.Object extension)
Creates an IQ of type ‘set’ with a random id.
|
static IQ |
IQ.set(java.lang.Object extension)
Creates an IQ of type ‘set’ with a random id.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientIQ
The implementation of the
<iq/> element in the jabber:client namespace. |
Modifier and Type | Method and Description |
---|---|
static ClientIQ |
ClientIQ.from(IQ iq)
Creates an IQ for the
jabber:client namespace from a generic IQ. |
Modifier and Type | Class and Description |
---|---|
class |
ServerIQ
The implementation of the
<iq/> element in the jabber:server namespace. |
Modifier and Type | Method and Description |
---|---|
static ServerIQ |
ServerIQ.from(IQ iq)
Creates an IQ for the
jabber:server namespace from a generic IQ. |
Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
BlockingManager.blockContact(Jid... jids)
Blocks communications with contacts.
|
AsyncResult<IQ> |
BlockingManager.unblockContact(Jid... jids)
Unblocks communications with specific contacts or with all contacts.
|
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 | Class and Description |
---|---|
class |
ComponentIQ
The implementation of the
<iq/> element in the jabber:component:accept namespace. |
Modifier and Type | Method and Description |
---|---|
static ComponentIQ |
ComponentIQ.from(IQ iq)
Creates an IQ for the
jabber:client namespace from a generic IQ. |
Modifier and Type | Method and Description |
---|---|
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<FileTransfer> |
FileTransferNegotiator.accept(IQ iq,
java.lang.String sessionId,
FileTransferOffer fileTransferOffer,
java.lang.Object protocol,
java.io.OutputStream outputStream) |
void |
FileTransferManager.fileTransferOffered(IQ iq,
java.lang.String sessionId,
java.lang.String mimeType,
FileTransferOffer fileTransferOffer,
java.lang.Object protocol,
FileTransferNegotiator fileTransferNegotiator) |
void |
FileTransferNegotiator.reject(IQ iq) |
Modifier and Type | Method and Description |
---|---|
IQ |
JingleEvent.getIQ() |
Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
JingleSession.acceptTransport(java.lang.String contentName,
TransportMethod transportMethod) |
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<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<IQ> |
ChatRoom.changeRole(Role role,
java.lang.String nickname,
java.lang.String reason)
Changes the role for an occupant.
|
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<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<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.
|
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) |
void |
OutOfBandFileTransferManager.reject(IQ iq) |
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<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 |
---|---|
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<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<IQ> |
PubSubNode.purge()
Purges this node of all published items.
|
AsyncResult<IQ> |
PubSubNode.unsubscribe(java.lang.String subscriptionId)
Unsubscribes from this node.
|
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) |
void |
StreamInitiationManager.reject(IQ iq) |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.