Modifier and Type | Class and Description |
---|---|
class |
MalformedJid
Represents a malformed JID in order to handle the
jid-malformed error. |
Modifier and Type | Method and Description |
---|---|
Jid |
MalformedJid.asBareJid() |
Jid |
Jid.asBareJid()
Gets the bare JID representation of this JID, i.e. removes the resource part.
|
Jid |
MalformedJid.atSubdomain(java.lang.CharSequence subdomain) |
Jid |
Jid.atSubdomain(java.lang.CharSequence subdomain)
Creates a new JID at a subdomain and at the same domain as this JID.
|
static Jid |
Jid.of(java.lang.CharSequence jid)
Creates a JID from an unescaped string.
|
static Jid |
Jid.of(java.lang.CharSequence local,
java.lang.CharSequence domain,
java.lang.CharSequence resource)
Returns a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofDomain(java.lang.CharSequence domain)
Creates a bare JID with only the domain part, e.g.
|
static Jid |
Jid.ofDomainAndResource(java.lang.CharSequence domain,
java.lang.CharSequence resource)
Creates a full JID with a domain and resource part, e.g.
|
static Jid |
Jid.ofEscaped(java.lang.CharSequence jid)
Creates a JID from a escaped JID string.
|
static Jid |
Jid.ofLocalAndDomain(java.lang.CharSequence local,
java.lang.CharSequence domain)
Creates a bare JID with a local and domain part, e.g.
|
Jid |
MalformedJid.withLocal(java.lang.CharSequence local) |
Jid |
Jid.withLocal(java.lang.CharSequence local)
Creates a new JID with a new local part and the same domain and resource part of the current JID.
|
Jid |
MalformedJid.withResource(java.lang.CharSequence resource) |
Jid |
Jid.withResource(java.lang.CharSequence resource)
Creates a new full JID with a resource and the same local and domain part of the current JID.
|
Modifier and Type | Method and Description |
---|---|
Jid |
Bind.getJid()
Gets the JID, which has been generated by the server after resource binding.
|
Constructor and Description |
---|
Bind(Jid jid)
Creates a
<bind/> element with a JID. |
Modifier and Type | Method and Description |
---|---|
abstract Jid |
XmppSession.getConnectedResource()
The connected resource, which is assigned by the server.
|
Jid |
XmppClient.getConnectedResource()
Gets the connected resource, which is assigned by the server after resource binding.
|
Jid |
XmppSession.getDomain()
Gets the XMPP domain of the connected server.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
XmppSession.connect(Jid from) |
void |
XmppClient.connect(Jid from)
Connects to the XMPP server.
|
AsyncResult<java.lang.Boolean> |
XmppSession.isSupported(java.lang.String feature,
Jid jid)
Determines support of another XMPP entity for a given feature.
|
Modifier and Type | Method and Description |
---|---|
Jid |
SessionOpen.getFrom()
Gets the ‘from’ attribute.
|
Jid |
SessionOpen.getTo()
Gets the ‘to’ attribute.
|
Modifier and Type | Method and Description |
---|---|
Jid |
StanzaError.getBy()
Gets the ‘by’ attribute.
|
Jid |
Stanza.getFrom()
Gets the stanza’s ‘from’ attribute.
|
Jid |
Stanza.getTo()
Gets the stanza’s ‘to’ attribute, i.e. the recipient.
|
Modifier and Type | Method and Description |
---|---|
static IQ |
IQ.get(Jid to,
java.lang.Object extension)
Creates an IQ of type ‘get’ with a random id.
|
static boolean |
Stanza.isToItselfOrServer(Stanza stanza,
java.lang.CharSequence domain,
Jid connectedResource)
Checks if a stanza is addressed either to itself or to the server.
|
static IQ |
IQ.set(Jid to,
java.lang.Object extension)
Creates an IQ of type ‘set’ with a random id.
|
void |
Stanza.setFrom(Jid from)
Sets the stanza’s ‘from’ attribute, i.e. the sender.
|
void |
Stanza.setTo(Jid to)
Sets the stanza’s ‘to’ attribute, i.e. the recipient.
|
Constructor and Description |
---|
IQ(Jid to,
IQ.Type type,
java.lang.Object extension)
Creates an IQ stanza with the given receiver, type and extension.
|
IQ(Jid to,
IQ.Type type,
java.lang.Object extension,
java.lang.String id)
Creates an IQ stanza with the given receiver, id, type and extension.
|
IQ(Jid to,
IQ.Type type,
java.lang.Object extension,
java.lang.String id,
Jid from,
java.util.Locale language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to)
Constructs an empty message.
|
Message(Jid to,
Message.Type type)
Constructs a message with a type.
|
Message(Jid to,
Message.Type type,
java.util.Collection<Text> bodies,
java.util.Collection<Text> subjects,
java.lang.String thread,
java.lang.String parentThread,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a message with all possible values.
|
Message(Jid to,
Message.Type type,
java.lang.String body)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject,
java.lang.String thread)
Constructs a message with body and type.
|
Message(Jid to,
Message.Type type,
java.lang.String body,
java.lang.String subject,
java.lang.String thread,
java.lang.String parentThread,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to)
Constructs a directed presence.
|
Presence(Jid to,
Presence.Show show,
java.lang.String status)
Constructs a directed presence with a specific ‘show’ attribute and status.
|
Presence(Jid to,
Presence.Type type,
Presence.Show show,
java.util.Collection<Text> status,
java.lang.Byte priority,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Presence(Jid to,
Presence.Type type,
java.lang.String status)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
Presence(Jid to,
Presence.Type type,
java.lang.String status,
java.lang.String id)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
StanzaError(StanzaError.Type type,
Condition condition,
java.lang.String text,
java.util.Locale language,
java.lang.Object extension,
Jid by)
Creates a stanza error with all possible values.
|
Modifier and Type | Method and Description |
---|---|
Jid |
StreamHeader.getFrom()
Gets the ‘from’ attribute.
|
Jid |
StreamHeader.getTo()
Gets the ‘to’ attribute.
|
Modifier and Type | Method and Description |
---|---|
static StreamHeader |
StreamHeader.create(Jid from,
Jid to,
java.lang.String id,
java.lang.String version,
java.util.Locale lang,
java.lang.String contentNamespace,
javax.xml.namespace.QName... additionalNamespaces)
Creates a stream header.
|
static StreamHeader |
StreamHeader.initialClientToServer(Jid from,
Jid to,
java.util.Locale lang,
javax.xml.namespace.QName... additionalNamespaces)
Creates an initial stream header for client-to-server streams.
|
static StreamHeader |
StreamHeader.initialClientToServer(Jid from,
Jid to,
java.util.Locale lang,
java.lang.String contentNamespace,
javax.xml.namespace.QName... additionalNamespaces)
Creates an initial stream header for client-to-server or component-to-server streams.
|
static StreamHeader |
StreamHeader.initialServerToServer(Jid from,
Jid to,
java.util.Locale lang,
javax.xml.namespace.QName... additionalNamespaces)
Creates an initial stream header for server-to-server streams.
|
static StreamHeader |
StreamHeader.responseClientToServer(Jid from,
Jid to,
java.lang.String id,
java.util.Locale lang,
javax.xml.namespace.QName... additionalNamespaces)
Creates a response stream header for client-to-server streams.
|
static StreamHeader |
StreamHeader.responseServerToServer(Jid from,
Jid to,
java.lang.String id,
java.util.Locale lang,
javax.xml.namespace.QName... additionalNamespaces)
Creates a response stream header for server-to-server streams.
|
Modifier and Type | Method and Description |
---|---|
Jid |
Address.getJid()
Gets the JID.
|
Constructor and Description |
---|
Address(Address.Type type,
Jid jid,
java.lang.CharSequence description,
java.lang.CharSequence node,
java.lang.Object... extensions) |
Address(Address.Type type,
Jid jid,
java.lang.CharSequence description,
java.lang.Object... extensions) |
Address(Address.Type type,
Jid jid,
java.lang.Object... extensions) |
Modifier and Type | Method and Description |
---|---|
Jid |
AdvancedMessageProcessing.getFrom()
The ‘from’ attribute specifies the original sender of the containing
<message/> stanza. |
Jid |
AdvancedMessageProcessing.getTo()
The ‘to’ attribute specifies the original (intended) recipient of the containing
<message/> stanza. |
Constructor and Description |
---|
AdvancedMessageProcessing(java.util.List<Rule> rules,
Rule.Action status,
Jid from,
Jid to)
Constructs an
<amp/> element with rules, status, from and to attribute. |
Modifier and Type | Method and Description |
---|---|
Jid |
AvatarChangeEvent.getContact()
Gets the bare JID of the contact who’s associated with the avatar, i.e. who changed his or her avatar.
|
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.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.util.Set<Jid>> |
BlockingManager.getBlockedContacts()
Retrieves the blocked contacts.
|
java.util.List<Jid> |
BlockingEvent.getBlockedContacts()
Gets the (newly) blocked contacts, which were pushed by the server.
|
java.util.List<Jid> |
BlockingEvent.getUnblockedContacts()
Gets the (newly) unblocked contacts, which were pushed by the server.
|
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 |
---|---|
java.util.List<Jid> |
Unblock.getItems()
Gets the unblocked items.
|
java.util.List<Jid> |
BlockList.getItems()
Gets the items.
|
java.util.List<Jid> |
Block.getItems()
Gets the blocked items.
|
Constructor and Description |
---|
Block(java.util.Collection<Jid> blockedItems) |
BlockList(java.util.List<Jid> blockedItems)
Creates a block list with items.
|
Unblock(java.util.Collection<Jid> unblockedItems) |
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Void> |
BookmarkManager.removeChatRoomBookmark(Jid chatRoom)
Removes a chat room bookmark.
|
Modifier and Type | Method and Description |
---|---|
Jid |
ChatRoomBookmark.getRoom()
Gets the JID of the chat room.
|
Constructor and Description |
---|
ChatRoomBookmark(java.lang.String name,
Jid room)
Creates a conference bookmark.
|
ChatRoomBookmark(java.lang.String name,
Jid room,
java.lang.String nick,
java.lang.String password,
boolean autojoin)
Creates a conference bookmark.
|
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<ByteStreamSession> |
Socks5ByteStreamManager.initiateSession(Jid target,
java.lang.String sessionId)
Initiates a SOCKS5 session with a target.
|
Modifier and Type | Method and Description |
---|---|
Jid |
StreamHost.getJid()
Gets the JabberID of the StreamHost for communication over XMPP.
|
Jid |
Socks5StreamHost.getJid()
Gets the JabberID of the StreamHost for communication over XMPP.
|
Jid |
Socks5ByteStream.getStreamHostUsed()
Gets the used stream host.
|
Modifier and Type | Method and Description |
---|---|
static Socks5ByteStream |
Socks5ByteStream.activate(java.lang.String sessionId,
Jid jid)
Creates a
<query/> element with an <activate/> child element. |
static java.lang.String |
Socks5ByteStream.hash(java.lang.String sessionId,
Jid requesterJid,
Jid targetJid)
Creates the hexadecimal-encoded SHA-1 hash for usage in SOCKS5 negotiation.
|
static Socks5ByteStream |
Socks5ByteStream.streamHostUsed(java.lang.String sessionId,
Jid jid)
Creates a
<query/> element with an <streamhost-used/> child element. |
Constructor and Description |
---|
StreamHost(Jid jid,
java.lang.String host,
int port)
Creates a
<streamhost/> element. |
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<java.lang.Boolean> |
ChatStateManager.isSupported(Jid jid)
Indicates whether chat state notifications are supported by the peer.
|
Modifier and Type | Method and Description |
---|---|
Jid |
ExternalComponent.getConnectedResource() |
Modifier and Type | Method and Description |
---|---|
void |
ExternalComponent.connect(Jid from) |
Modifier and Type | Method and Description |
---|---|
Jid |
DataForm.findValueAsJid(java.lang.String var)
Finds the field and gets the value as JID.
|
Jid |
DataForm.Field.getValueAsJid()
Returns the first value as JID, e.g. for the
DataForm.Field.Type.JID_SINGLE field type. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Jid> |
DataForm.findValuesAsJid(java.lang.String var)
Finds the field and gets its values as JID list.
|
java.util.List<Jid> |
DataForm.Field.getValuesAsJid()
Returns a JID list for the
DataForm.Field.Type.JID_MULTI field type. |
Modifier and Type | Method and Description |
---|---|
DataForm.Field.Builder |
DataForm.Field.Builder.value(Jid value)
Sets the value as JID.
|
Modifier and Type | Method and Description |
---|---|
DataForm.Field.Builder |
DataForm.Field.Builder.valuesJid(java.util.Collection<Jid> values)
Sets the values as JIDs.
|
Modifier and Type | Method and Description |
---|---|
Jid |
DelayedDelivery.getFrom()
Gets the Jabber ID of the entity that originally sent the XML stanza or that delayed the delivery of the stanza (e.g., the address of a multi-user chat room).
|
Constructor and Description |
---|
DelayedDelivery(java.time.Instant timestamp,
Jid from,
java.lang.String reason)
Creates a delayed delivery element with all attributes.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Jid |
Item.getJid()
Gets the JID.
|
Constructor and Description |
---|
Item(Jid jid,
java.lang.String node) |
Item(Jid jid,
java.lang.String node,
java.lang.String name) |
Item(Jid jid,
java.lang.String node,
java.lang.String name,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
Jid |
FileTransferOfferEvent.getInitiator()
Gets the initiator.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
StanzaForwardingManager.forwardMessage(Message message,
Jid to)
Forwards a message to another XMPP entity.
|
Modifier and Type | Method and Description |
---|---|
Jid |
GeoLocationEvent.getPublisher()
Gets the publisher, who published his or her new geo location.
|
Modifier and Type | Method and Description |
---|---|
Jid |
HttpAuthenticationEvent.getRequester()
Gets the requester.
|
Modifier and Type | Method and Description |
---|---|
Jid |
Body.getFrom()
The
<body/> element of the first request MAY also possess a ‘from’ attribute, which specifies the originator of the first stream and which enables the connection manager to forward the originating entity’s identity to the application server. |
Jid |
Body.getTo() |
Modifier and Type | Method and Description |
---|---|
Body.Builder |
Body.Builder.from(Jid from)
Sets the ‘from’ attribute of the body.
|
Body.Builder |
Body.Builder.to(Jid to)
Sets the ‘to’ attribute of the body.
|
Modifier and Type | Method and Description |
---|---|
JingleSession |
JingleManager.createSession(Jid responder,
java.lang.String sessionId,
Jingle.Content... contents) |
Modifier and Type | Method and Description |
---|---|
JingleFileTransferSession |
JingleFileTransferManager.initiateFileTransferSession(Jid responder,
java.nio.file.Path file,
java.lang.String description,
long timeout) |
Modifier and Type | Method and Description |
---|---|
Jid |
Jingle.getInitiator()
Gets the initiator.
|
Jid |
Jingle.getResponder()
Gets the responder.
|
Modifier and Type | Method and Description |
---|---|
static Jingle |
Jingle.initiator(Jid initiator,
java.lang.String sessionId,
Jingle.Action action,
java.util.List<Jingle.Content> contents) |
static Jingle |
Jingle.responder(Jid responder,
java.lang.String sessionId,
Jingle.Action action,
java.util.List<Jingle.Content> contents) |
Modifier and Type | Method and Description |
---|---|
Jid |
S5bTransportMethod.Candidate.getJid()
Gets the candidate’s JID.
|
Constructor and Description |
---|
Candidate(java.lang.String cid,
java.lang.String hostname,
int port,
Jid jid,
S5bTransportMethod.Candidate.Type type,
int priority) |
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<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 |
---|---|
Jid |
LanguageSupport.Item.getJid()
Gets the JID of the translation service.
|
Constructor and Description |
---|
Item(java.util.Locale sourceLanguage,
Jid jid) |
Item(java.util.Locale sourceLanguage,
Jid jid,
java.util.Locale destinationLanguage,
java.lang.String engine,
java.lang.Boolean pivotable,
java.lang.String dictionary) |
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 |
---|---|
Jid |
ChatService.getAddress()
Gets the service address.
|
Jid |
ChatRoom.getAddress()
Gets the room address.
|
Jid |
OccupantEvent.getAlternativeRoom()
Gets the alternative room address in case the old room has been destroyed.
|
Jid |
InvitationDeclineEvent.getInvitee()
Gets the invitee, who declined the invitation.
|
Jid |
InvitationEvent.getInviter()
Gets the inviter.
|
Jid |
Occupant.getJid()
Gets the JID of the occupant.
|
Jid |
InvitationEvent.getRoomAddress()
Gets the room address.
|
Jid |
InvitationDeclineEvent.getRoomAddress()
Gets the room address.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Jid> |
RoomInformation.getContacts()
Gets the contact addresses (normally, room owner or owners).
|
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.
|
ChatRoom |
MultiUserChatManager.createChatRoom(Jid roomAddress)
Creates a chat room for the specified room address.
|
ChatService |
MultiUserChatManager.createChatService(Jid chatService)
Creates a chat service for the specified service address.
|
AsyncResult<java.util.List<Item>> |
MultiUserChatManager.discoverEnteredRooms(Jid contact)
Discovers the rooms, where a contact is in.
|
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.grantOwnerStatus(Jid user,
java.lang.String reason)
Grants owner status to a user.
|
void |
ChatRoom.invite(Jid invitee,
java.lang.String reason)
Invites another user to the room.
|
void |
ChatRoom.invite(Jid invitee,
java.lang.String reason,
boolean direct)
Invites another user to 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.revokeOwnerStatus(Jid user,
java.lang.String reason)
Revokes a user’s owner status.
|
Modifier and Type | Method and Description |
---|---|
Jid |
DirectInvitation.getRoomAddress()
Gets the address of the groupchat room to be joined.
|
Constructor and Description |
---|
DirectInvitation(Jid jid) |
DirectInvitation(Jid jid,
java.lang.String password,
java.lang.String reason) |
DirectInvitation(Jid jid,
java.lang.String password,
java.lang.String reason,
boolean isContinue,
java.lang.String thread) |
Modifier and Type | Method and Description |
---|---|
Jid |
RequestVoice.getJid()
Gets the JID.
|
Jid |
Item.getJid()
Gets the JID.
|
Jid |
Destroy.getJid()
The optional address of an alternate venue.
|
Jid |
Actor.getJid()
Gets the JID.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Jid> |
RoomConfiguration.getAdministrators()
Gets the administrators.
|
java.util.List<Jid> |
RoomInfo.getContacts()
Gets the contact addresses (normally room owners).
|
java.util.Collection<Jid> |
RoomConfiguration.getOwners()
Gets the owners.
|
Modifier and Type | Method and Description |
---|---|
RequestVoice.Builder |
RequestVoice.Builder.jid(Jid jid)
Sets the JID.
|
Modifier and Type | Method and Description |
---|---|
RoomConfiguration.Builder |
RoomConfiguration.Builder.administrators(java.util.Collection<Jid> admins)
Full list of room admins.
|
RoomInfo.Builder |
RoomInfo.Builder.contacts(java.util.Collection<Jid> contacts)
Gets the contact addresses (normally, room owner or owners).
|
RoomConfiguration.Builder |
RoomConfiguration.Builder.owners(java.util.Collection<Jid> owners)
Full list of room owners.
|
Modifier and Type | Method and Description |
---|---|
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid,
java.lang.String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid,
java.lang.String nick,
java.lang.String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Actor actor,
java.lang.String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static MucAdmin |
MucAdmin.withItem(Affiliation affiliation,
Jid jid,
java.lang.String reason)
Creates a
<query/> element with an <item/> child element. |
static MucAdmin |
MucAdmin.withItem(Affiliation affiliation,
Jid jid,
java.lang.String nick,
java.lang.String reason)
Creates a
<query/> element with an <item/> child element. |
Modifier and Type | Method and Description |
---|---|
static MucOwner |
MucOwner.withDestroy(Jid jid,
java.lang.String reason)
Creates a
<query/> element with a <destroy/> child element. |
Modifier and Type | Method and Description |
---|---|
Jid |
Invite.getFrom()
Gets the inviter.
|
Jid |
Decline.getFrom()
Gets the invitee, who declined the invitation.
|
Jid |
Invite.getTo()
Gets the invitee.
|
Jid |
Decline.getTo()
Gets the inviter, who sent the invitation.
|
Modifier and Type | Method and Description |
---|---|
static MucUser |
MucUser.withDecline(Jid to,
java.lang.String reason)
Creates a
<x/> element with a <decline/> child element. |
static MucUser |
MucUser.withDestroy(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String reason)
Creates a
<x/> element with an <item/> and a <destroy/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Actor actor,
java.lang.String reason,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
Constructor and Description |
---|
Invite(Jid to)
Creates an ‘invite’ element.
|
Invite(Jid to,
java.lang.String reason)
Creates an invite element with a reason.
|
Invite(Jid to,
java.lang.String reason,
java.lang.String thread)
Creates an ‘invite’ element with a reason and a ‘continue’ element.
|
Modifier and Type | Method and Description |
---|---|
Jid |
OfflineMessageHeader.getSender()
Gets the sender of the offline message.
|
Constructor and Description |
---|
OfflineMessageHeader(Jid sender,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
AsyncResult<java.lang.Boolean> |
PingManager.ping(Jid jid)
Pings the given XMPP entity.
|
Modifier and Type | Method and Description |
---|---|
static PrivacyRule |
PrivacyRule.blockAllCommunicationWith(Jid entity,
long order)
Creates a rule, which blocks all communication from and to another entity.
|
static PrivacyRule |
PrivacyRule.blockIQFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound IQ stanzas from another entity.
|
static PrivacyRule |
PrivacyRule.blockMessagesFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound messages from another entity.
|
static PrivacyRule |
PrivacyRule.blockPresenceFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound presence notifications from another entity.
|
static PrivacyRule |
PrivacyRule.blockPresenceTo(Jid entity,
long order)
Creates a rule, which blocks all outbound presence notifications to another entity.
|
static PrivacyList |
PrivacyList.createInvisibilityListExceptForUsers(java.lang.String listName,
Jid... jids)
Creates a global invisibility list, where you are still visible to some contacts.
|
static PrivacyList |
PrivacyList.createInvisibilityListForUsers(java.lang.String listName,
Jid... jids)
Creates a selective invisibility list.
|
static PrivacyRule |
PrivacyRule.of(Jid jid,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘jid’.
|
Modifier and Type | Method and Description |
---|---|
Jid |
Annotation.Note.getJid()
Gets the JID of the contact (roster item).
|
Constructor and Description |
---|
Note(java.lang.String note,
Jid jid)
Creates a roster note.
|
Note(java.lang.String note,
Jid jid,
java.time.OffsetDateTime creationDate,
java.time.OffsetDateTime modificationDate)
Creates a roster note.
|
Modifier and Type | Method and Description |
---|---|
Jid |
PubSubService.getAddress()
Gets the service address.
|
Modifier and Type | Method and Description |
---|---|
PubSubService |
PubSubManager.createPubSubService(Jid service)
Creates a pubsub service.
|
AsyncResult<Subscription> |
PubSubNode.subscribe(Jid jid)
Subscribes to this node.
|
AsyncResult<Subscription> |
PubSubNode.subscribe(Jid jid,
SubscribeOptions subscribeOptions)
Subscribes to and configures this node.
|
Modifier and Type | Method and Description |
---|---|
Jid |
NodeMetaData.getCreator()
Gets the creator.
|
Jid |
Subscription.getJid()
Gets the subscriber.
|
Jid |
Affiliation.getJid()
Gets the JID.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Jid> |
NodeConfiguration.getChildrenAssociationWhitelist()
The list of JIDs that may associate leaf nodes with a collection.
|
java.util.List<Jid> |
NodeMetaData.getContacts()
Gets the contacts.
|
java.util.List<Jid> |
NodeConfiguration.getContacts()
The JIDs of those to contact with questions.
|
java.util.List<Jid> |
NodeMetaData.getOwners()
Gets the owners.
|
java.util.List<Jid> |
NodeMetaData.getPublishers()
Gets the publishers.
|
Modifier and Type | Method and Description |
---|---|
NodeMetaData.Builder |
NodeMetaData.Builder.creator(Jid creator)
The JID of the node creator.
|
static PubSub |
PubSub.withOptions(java.lang.String node,
Jid jid,
java.lang.String subid,
DataForm dataForm)
Creates a pubsub element with an
<options/> child element with a ‘node’ and ‘jid’ attribute. |
static PubSub |
PubSub.withSubscribe(java.lang.String node,
Jid jid)
Creates a pubsub element with a
<subscribe/> child element with a ‘node’ and ‘jid’ attribute. |
static PubSub |
PubSub.withSubscribe(java.lang.String node,
Jid jid,
DataForm dataForm)
Creates a pubsub element with a
<subscribe/> and <options/> child element with a ‘node’ and ‘jid’ attribute. |
static PubSub |
PubSub.withUnsubscribe(java.lang.String node,
Jid jid,
java.lang.String subscriptionId)
Creates a pubsub element with an
<unsubscribe/> child element with a ‘node’ and ‘jid’ attribute. |
Modifier and Type | Method and Description |
---|---|
NodeConfiguration.Builder |
NodeConfiguration.Builder.childrenAssociationWhitelist(java.util.Collection<Jid> childrenAssociationWhitelist)
The list of JIDs that may associate leaf nodes with a collection.
|
NodeMetaData.Builder |
NodeMetaData.Builder.contacts(java.util.Collection<Jid> contacts)
The JIDs of those to contact with questions.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.contacts(java.util.Collection<Jid> contacts)
The JIDs of those to contact with questions
|
NodeMetaData.Builder |
NodeMetaData.Builder.owners(java.util.Collection<Jid> owners)
The JIDs of those with an affiliation of owner.
|
NodeMetaData.Builder |
NodeMetaData.Builder.publishers(java.util.Collection<Jid> publishers)
The JIDs of those with an affiliation of publisher.
|
Modifier and Type | Method and Description |
---|---|
Jid |
ReachabilityEvent.getContact()
Gets the contact, who changed reachability.
|
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 |
---|---|
Jid |
MessageDeliveredEvent.getFrom()
Gets the sender of the receipt.
|
Modifier and Type | Method and Description |
---|---|
Jid |
ContactExchangeEvent.getFrom()
Gets the sender of the roster item exchange.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Jid> |
ContactExchangeManager.getTrustedEntities()
Gets a collection of trusted entities for which roster item exchange suggestions are approved automatically (no listeners will be called).
|
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 |
---|---|
Jid |
ContactExchange.Item.getJid()
Gets the JID.
|
Constructor and Description |
---|
Item(Jid jid,
java.lang.String name,
java.util.Collection<java.lang.String> groups,
ContactExchange.Item.Action action) |
Modifier and Type | Method and Description |
---|---|
AsyncResult<Value> |
RpcManager.call(Jid jid,
java.lang.String methodName,
Value... parameters)
Calls a remote procedure.
|
Value |
RpcHandler.process(Jid requester,
java.lang.String methodName,
java.util.List<Value> parameters)
Processes the remote procedure call.
|
Modifier and Type | Method and Description |
---|---|
Jid |
InboundRealTimeMessage.getFrom()
Gets the sender of the real-time message.
|
Jid |
RealTimeTextActivationEvent.getSender()
Gets the sender of the real-time text.
|
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 |
---|---|
Jid |
Search.Item.getJid()
Gets the JID.
|
Constructor and Description |
---|
Item(Jid jid,
java.lang.String first,
java.lang.String last,
java.lang.String nick,
java.lang.String email) |
Modifier and Type | Method and Description |
---|---|
Jid |
Catalog.getFrom()
Gets the ‘from’ attribute.
|
Jid |
Catalog.getTo()
Gets the ‘to’ attribute.
|
Constructor and Description |
---|
Catalog(Jid to,
Jid from,
java.lang.String name,
java.lang.String description,
java.lang.String id,
java.lang.Integer size,
java.lang.Boolean restrict,
java.util.Collection<Catalog.Item> items) |
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<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.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(Jid jid)
Gets the vCard of another user.
|
Modifier and Type | Method and Description |
---|---|
Jid |
VCard.getJid()
Gets the JID.
|
Modifier and Type | Method and Description |
---|---|
void |
VCard.setJid(Jid jid)
Sets the JID.
|
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 |
---|---|
Jid |
ChatSession.getChatPartner()
Gets the chat partner of this chat session.
|
Jid |
ChatSession.ChatPartnerEvent.getNewChatPartner()
Gets the JID of the new chat partner.
|
Jid |
ChatSession.ChatPartnerEvent.getOldChatPartner()
Gets the JID of the old chat partner.
|
Modifier and Type | Method and Description |
---|---|
ChatSession |
ChatManager.createChatSession(Jid chatPartner)
Creates a new chat session or returns an existing one for the given chat partner and notifies any chat session listeners about it.
|
ChatSession |
ChatManager.createChatSession(Jid chatPartner,
java.lang.String threadId)
Creates a new chat session with a given thread id or returns an existing one for the given chat partner and notifies any chat session listeners about it.
|
Modifier and Type | Method and Description |
---|---|
Contact |
RosterManager.getContact(Jid jid)
Gets a contact by its JID.
|
AsyncResult<java.lang.Void> |
RosterManager.removeContact(Jid jid)
Removes a contact from the roster.
|
Modifier and Type | Method and Description |
---|---|
Jid |
RosterItem.getJid()
Gets the JID of the contact.
|
Jid |
Contact.getJid()
Gets the JID of the contact.
|
Modifier and Type | Method and Description |
---|---|
static Contact |
Contact.removeContact(Jid jid)
Creates a new contact to send to the server for removal.
|
Constructor and Description |
---|
Contact(Jid jid)
Creates a new contact associated with the given JID.
|
Contact(Jid jid,
java.lang.String name)
Creates a new contact associated with the given JID and name.
|
Contact(Jid jid,
java.lang.String name,
java.lang.Boolean isPending,
java.lang.Boolean approved,
SubscriptionState.Subscription subscription,
java.util.Collection<java.lang.String> groups)
Creates a new contact associated with the given JID, name and groups.
|
Contact(Jid jid,
java.lang.String name,
java.util.Collection<java.lang.String> groups)
Creates a new contact associated with the given JID, name and groups.
|
Contact(Jid jid,
java.lang.String name,
java.lang.String... groups)
Creates a new contact associated with the given JID, name and groups.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
PresenceManager.approveSubscription(Jid jid)
Approves a subscription request.
|
java.lang.String |
PresenceManager.denySubscription(Jid jid)
Cancels a previously granted subscription or denies a subscription request.
|
Presence |
PresenceManager.getPresence(Jid jid)
Gets the presence for a given contact.
|
java.lang.String |
PresenceManager.requestSubscription(Jid jid,
java.lang.String status)
Sends a subscription request to a potential contact.
|
java.lang.String |
PresenceManager.unsubscribe(Jid jid)
Unsubscribes from a contact’s presence.
|
Constructor and Description |
---|
Close(Jid to,
Jid from,
java.lang.String id,
java.util.Locale language,
java.lang.String version,
java.net.URI uri)
Creates an
<close/> element with a ‘to’, ‘from’, ‘id’, ‘lang’ and ‘see-other-uri’ attribute. |
Open(Jid to,
Jid from,
java.lang.String id,
java.util.Locale language)
Creates an
<open/> element with a ‘to’, ‘from’, ‘id’ and ‘lang’ attribute. |
Open(Jid to,
Jid from,
java.lang.String id,
java.util.Locale language,
java.lang.String version)
Creates an
<open/> element with a ‘to’, ‘from’, ‘id’ and ‘lang’ attribute. |
Open(Jid to,
java.util.Locale language)
Creates an
<open/> element with a ‘to’ and ‘lang’ attribute. |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.