Modifier and Type | Method and Description |
---|---|
protected void |
AbstractXMPPConnection.afterFeaturesReceived() |
protected void |
AbstractXMPPConnection.afterSuccessfulLogin(boolean resumed) |
PacketCollector |
AbstractXMPPConnection.createPacketCollectorAndSend(IQ packet) |
PacketCollector |
XMPPConnection.createPacketCollectorAndSend(IQ packet)
Creates a new stanza(/packet) collector collecting packets that are replies to
packet . |
PacketCollector |
AbstractXMPPConnection.createPacketCollectorAndSend(StanzaFilter packetFilter,
Stanza packet) |
PacketCollector |
XMPPConnection.createPacketCollectorAndSend(StanzaFilter packetFilter,
Stanza packet)
Creates a new stanza(/packet) collector for this connection.
|
void |
AbstractXMPPConnection.disconnect(Presence unavailablePresence)
Closes the connection.
|
void |
StanzaListener.processPacket(Stanza packet)
Process the next stanza(/packet) sent to this stanza(/packet) listener.
|
abstract void |
AbstractXMPPConnection.send(PlainStreamElement element) |
void |
XMPPConnection.send(PlainStreamElement element)
Send a PlainStreamElement.
|
void |
SynchronizationPoint.sendAndWaitForResponse(TopLevelStreamElement request)
Send the given top level stream element and wait for a response.
|
void |
SynchronizationPoint.sendAndWaitForResponseOrThrow(PlainStreamElement request)
Send the given plain stream element and wait for a response.
|
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendPacket(Stanza packet)
Deprecated.
|
void |
XMPPConnection.sendPacket(Stanza packet)
Deprecated.
use
XMPPConnection.sendStanza(Stanza) instead. |
void |
AbstractXMPPConnection.sendStanza(Stanza packet) |
void |
XMPPConnection.sendStanza(Stanza stanza)
Sends the specified stanza to the server.
|
protected abstract void |
AbstractXMPPConnection.sendStanzaInternal(Stanza packet) |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
protected void |
AbstractXMPPConnection.throwNotConnectedExceptionIfAppropriate() |
protected void |
AbstractXMPPConnection.throwNotConnectedExceptionIfAppropriate(String optionalHint) |
Modifier and Type | Method and Description |
---|---|
void |
XMPPBOSHConnection.send(PlainStreamElement element) |
protected void |
XMPPBOSHConnection.sendStanzaInternal(Stanza packet) |
Modifier and Type | Method and Description |
---|---|
void |
Chat.sendMessage(Message message)
Sends a message to the other chat participant.
|
void |
Chat.sendMessage(String text)
Sends the specified text as a message to the other chat participant.
|
Modifier and Type | Method and Description |
---|---|
void |
RosterGroup.addEntry(RosterEntry entry)
Adds a roster entry to this group.
|
void |
Roster.createEntry(String user,
String name,
String[] groups)
Creates a new roster entry and presence subscription.
|
void |
Roster.reload()
Reloads the entire roster from the server.
|
void |
Roster.reloadAndWait()
Reload the roster and block until it is reloaded.
|
void |
Roster.removeEntry(RosterEntry entry)
Removes a roster entry from the roster.
|
void |
RosterGroup.removeEntry(RosterEntry entry)
Removes a roster entry from this group.
|
void |
RosterEntry.setName(String name)
Sets the name associated with this entry.
|
void |
RosterGroup.setName(String name)
Sets the name of the group.
|
Modifier and Type | Method and Description |
---|---|
void |
SASLMechanism.authenticate(String host,
String serviceName,
CallbackHandler cbh)
Builds and sends the auth stanza to the server.
|
void |
SASLMechanism.authenticate(String username,
String host,
String serviceName,
String password)
Builds and sends the auth stanza to the server.
|
void |
SASLMechanism.challengeReceived(String challengeString,
boolean finalChallenge)
The server is challenging the SASL mechanism for the stanza he just sent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMPPTCPConnection.afterFeaturesReceived() |
protected void |
XMPPTCPConnection.afterSuccessfulLogin(boolean resumed) |
void |
XMPPTCPConnection.requestSmAcknowledgement()
Send an unconditional Stream Management acknowledgement request to the server.
|
void |
XMPPTCPConnection.send(PlainStreamElement element) |
void |
XMPPTCPConnection.sendSmAcknowledgement()
Send a unconditional Stream Management acknowledgment to the server.
|
protected void |
XMPPTCPConnection.sendStanzaInternal(Stanza packet) |
protected void |
XMPPTCPConnection.PacketWriter.sendStreamElement(Element element)
Sends the specified element to the server.
|
protected void |
XMPPTCPConnection.throwNotConnectedExceptionIfAppropriate() |
protected void |
XMPPTCPConnection.PacketWriter.throwNotConnectedExceptionIfDoneAndResumptionNotPossible() |
Modifier and Type | Method and Description |
---|---|
static void |
MultipleRecipientManager.send(XMPPConnection connection,
Stanza packet,
Collection<String> to,
Collection<String> cc,
Collection<String> bcc)
Sends the specified stanza(/packet) to the collection of specified recipients using the
specified connection.
|
static void |
MultipleRecipientManager.send(XMPPConnection connection,
Stanza packet,
Collection<String> to,
Collection<String> cc,
Collection<String> bcc,
String replyTo,
String replyRoom,
boolean noReply)
Sends the specified stanza(/packet) to the collection of specified recipients using the specified
connection.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AMPManager.isActionSupported(XMPPConnection connection,
AMPExtension.Action action)
Check if server supports specified action
|
static boolean |
AMPManager.isConditionSupported(XMPPConnection connection,
String conditionName)
Check if server supports specified condition
|
static boolean |
AMPDeliverCondition.isSupported(XMPPConnection connection)
Check if server supports deliver condition
|
static boolean |
AMPExpireAtCondition.isSupported(XMPPConnection connection)
Check if server supports expire-at condition
|
static boolean |
AMPMatchResourceCondition.isSupported(XMPPConnection connection)
Check if server supports match-resource condition
|
Modifier and Type | Method and Description |
---|---|
void |
BookmarkManager.addBookmarkedConference(String name,
String jid,
boolean isAutoJoin,
String nickname,
String password)
Adds or updates a conference in the bookmarks.
|
void |
BookmarkManager.addBookmarkedURL(String URL,
String name,
boolean isRSS)
Adds a new url or updates an already existing url in the bookmarks.
|
List<BookmarkedConference> |
BookmarkManager.getBookmarkedConferences()
Returns all currently bookmarked conferences.
|
List<BookmarkedURL> |
BookmarkManager.getBookmarkedURLs()
Returns an unmodifiable collection of all bookmarked urls.
|
void |
BookmarkManager.removeBookmarkedConference(String jid)
Removes a conference from the bookmarks.
|
void |
BookmarkManager.removeBookmarkedURL(String bookmarkURL)
Removes a url from the bookmarks.
|
Modifier and Type | Method and Description |
---|---|
void |
BytestreamRequest.reject()
Rejects the bytestream request by sending a reject error to the initiator.
|
Modifier and Type | Method and Description |
---|---|
InBandBytestreamSession |
InBandBytestreamRequest.accept()
Accepts the In-Band Bytestream open request and returns the session to
send/receive data.
|
protected void |
InBandBytestreamSession.closeByPeer(Close closeRequest)
This method is invoked if a request to close the In-Band Bytestream has been received.
|
InBandBytestreamSession |
InBandBytestreamManager.establishSession(String targetJID,
String sessionID)
Establishes an In-Band Bytestream with the given user using the given session ID and returns
the session to send/receive data to/from the user.
|
void |
InBandBytestreamSession.processIQPacket(Data data) |
void |
InBandBytestreamRequest.reject()
Rejects the In-Band Bytestream request by sending a reject error to the
initiator.
|
protected void |
InBandBytestreamManager.replyItemNotFoundPacket(IQ request)
Responses to the given IQ packet's sender with an XMPP error that an In-Band Bytestream
session could not be found.
|
protected void |
InBandBytestreamManager.replyRejectPacket(IQ request)
Responses to the given IQ packet's sender with an XMPP error that an In-Band Bytestream is
not accepted.
|
protected void |
InBandBytestreamManager.replyResourceConstraintPacket(IQ request)
Responses to the given IQ packet's sender with an XMPP error that an In-Band Bytestream open
request is rejected because its block size is greater than the maximum allowed block size.
|
Modifier and Type | Method and Description |
---|---|
void |
Socks5BytestreamRequest.reject()
Rejects the SOCKS5 Bytestream request by sending a reject error to the initiator.
|
protected void |
Socks5BytestreamManager.replyRejectPacket(IQ packet)
Responses to the given packet's sender with an XMPP error that a SOCKS5 Bytestream is not
accepted.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityCapsManager.areEntityCapsSupported(String jid)
Returns true if Entity Caps are supported by a given JID
|
boolean |
EntityCapsManager.areEntityCapsSupportedByServer()
Returns true if Entity Caps are supported by the local service/server
|
void |
EntityCapsManager.setEntityNode(String entityNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
CarbonManager.isSupportedByServer()
Returns true if XMPP Carbons are supported by the server.
|
void |
CarbonManager.sendCarbonsEnabled(boolean new_state)
Notify server to change the carbons state.
|
void |
CarbonManager.setCarbonsEnabled(boolean new_state)
Notify server to change the carbons state.
|
Modifier and Type | Method and Description |
---|---|
void |
ChatStateManager.setCurrentState(ChatState newState,
Chat chat)
Sets the current state of the provided chat.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AdHocCommand.cancel()
Cancels the execution of the command.
|
void |
RemoteCommand.cancel() |
abstract void |
AdHocCommand.complete(Form response)
Completes the command execution with the information provided in the
response . |
void |
RemoteCommand.complete(Form form) |
abstract void |
AdHocCommand.execute()
Executes the command.
|
void |
RemoteCommand.execute() |
void |
RemoteCommand.execute(Form form)
Executes the default action of the command with the information provided
in the Form.
|
abstract void |
AdHocCommand.next(Form response)
Executes the next action of the command with the information provided in
the
response . |
void |
RemoteCommand.next(Form form) |
abstract void |
AdHocCommand.prev()
Goes to the previous stage.
|
void |
RemoteCommand.prev() |
Modifier and Type | Method and Description |
---|---|
static void |
ClientStateIndicationManager.active(XMPPConnection connection) |
static void |
ClientStateIndicationManager.inactive(XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
ServiceDiscoveryManager.canPublishItems(String entityID)
Returns true if the server supports publishing of items.
|
DiscoverInfo |
ServiceDiscoveryManager.discoverInfo(String entityID)
Returns the discovered information of a given XMPP entity addressed by its JID.
|
DiscoverInfo |
ServiceDiscoveryManager.discoverInfo(String entityID,
String node)
Returns the discovered information of a given XMPP entity addressed by its JID and
note attribute.
|
DiscoverItems |
ServiceDiscoveryManager.discoverItems(String entityID)
Returns the discovered items of a given XMPP entity addressed by its JID.
|
DiscoverItems |
ServiceDiscoveryManager.discoverItems(String entityID,
String node)
Returns the discovered items of a given XMPP entity addressed by its JID and
note attribute.
|
List<String> |
ServiceDiscoveryManager.findServices(String feature,
boolean stopOnFirst,
boolean useCache)
Find all services under the users service that provide a given feature.
|
void |
ServiceDiscoveryManager.publishItems(String entityID,
DiscoverItems discoverItems)
Publishes new items to a parent entity.
|
void |
ServiceDiscoveryManager.publishItems(String entityID,
String node,
DiscoverItems discoverItems)
Publishes new items to a parent entity and node.
|
boolean |
ServiceDiscoveryManager.serverSupportsFeature(String feature)
Returns true if the server supports the given feature.
|
boolean |
ServiceDiscoveryManager.supportsFeature(String jid,
String feature)
Queries the remote entity for it's features and returns true if the given feature is found.
|
Modifier and Type | Field and Description |
---|---|
protected static EventManger<String,IQ,SmackException.NotConnectedException> |
StreamNegotiator.initationSetEvents
A event manager for stream initiation requests send to us.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
IBBTransferNegotiator.createIncomingStream(StreamInitiation initiation) |
OutputStream |
IBBTransferNegotiator.createOutgoingStream(String streamID,
String initiator,
String target) |
protected IQ |
StreamNegotiator.initiateIncomingStream(XMPPConnection connection,
StreamInitiation initiation) |
StreamNegotiator |
FileTransferNegotiator.negotiateOutgoingTransfer(String userID,
String streamID,
String fileName,
long size,
String desc,
int responseTimeout)
Send a request to another user to send them a file.
|
void |
FileTransferRequest.reject()
Rejects the file transfer request.
|
protected void |
FileTransferManager.rejectIncomingFileTransfer(FileTransferRequest request)
Reject an incoming file transfer.
|
StreamNegotiator |
FileTransferNegotiator.selectStreamNegotiator(FileTransferRequest request)
Selects an appropriate stream negotiator after examining the incoming file transfer request.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HOXTManager.isSupported(String jid,
XMPPConnection connection)
Returns true if the given entity understands the HTTP ove XMPP transport format and allows the exchange of such.
|
Modifier and Type | Method and Description |
---|---|
LastActivity |
LastActivityManager.getLastActivity(String jid)
Returns the last activity of a particular jid.
|
boolean |
LastActivityManager.isLastActivitySupported(String jid)
Returns true if Last Activity (XEP-0012) is supported by a given JID
|
Modifier and Type | Method and Description |
---|---|
PrivateData |
PrivateDataManager.getPrivateData(String elementName,
String namespace)
Returns the private data specified by the given element name and namespace.
|
void |
PrivateDataManager.setPrivateData(PrivateData privateData)
Sets a private data value.
|
Modifier and Type | Method and Description |
---|---|
void |
AccountManager.changePassword(String newPassword)
Changes the password of the currently logged-in account.
|
void |
AccountManager.createAccount(String username,
String password)
Creates a new account using the specified username and password.
|
void |
AccountManager.createAccount(String username,
String password,
Map<String,String> attributes)
Creates a new account using the specified username, password and account attributes.
|
void |
AccountManager.deleteAccount()
Deletes the currently logged-in account from the server.
|
String |
AccountManager.getAccountAttribute(String name)
Returns the value of a given account attribute or null if the account
attribute wasn't found.
|
Set<String> |
AccountManager.getAccountAttributes()
Returns an unmodifiable collection of the names of the required account attributes.
|
String |
AccountManager.getAccountInstructions()
Returns the instructions for creating a new account, or null if there
are no instructions.
|
boolean |
AccountManager.supportsAccountCreation()
Returns true if the server supports creating new accounts.
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionManager.getVersion(String jid)
Request version information from a given JID.
|
boolean |
VersionManager.isSupported(String jid) |
Modifier and Type | Method and Description |
---|---|
Jingle |
JingleSession.sendFormattedJingle(IQ iq,
Jingle jout)
Complete and send a packet.
|
Jingle |
JingleSession.sendFormattedJingle(Jingle jout)
Complete and send a packet.
|
void |
JingleSession.sendStanza(IQ iq) |
void |
JingleSession.terminate()
Terminates the session with default reason.
|
void |
JingleSession.terminate(String reason)
Terminates the session with a custom reason.
|
void |
ContentNegotiator.triggerContentEstablished() |
Modifier and Type | Method and Description |
---|---|
void |
JingleMediaListener.mediaEstablished(PayloadType pt)
Notification that the jmf has been negotiated and established.
|
void |
JingleSessionListener.sessionEstablished(PayloadType pt,
TransportCandidate remoteCandidate,
TransportCandidate localCandidate,
JingleSession jingleSession)
Notification that the session has been established.
|
void |
JingleTransportListener.transportEstablished(TransportCandidate local,
TransportCandidate remote)
Notification that the transport has been established.
|
Modifier and Type | Method and Description |
---|---|
List<IQ> |
MediaNegotiator.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
protected void |
MediaNegotiator.triggerMediaEstablished(PayloadType bestPt)
Trigger a session established event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransportResolver.addCandidate(TransportCandidate cand)
Add a new transport candidate
|
void |
TransportResolverListener.Resolver.candidateAdded(TransportCandidate cand)
A transport candidate has been added
|
static String |
RTPBridge.getPublicIP(XMPPConnection xmppConnection)
Get Public Address from the Server.
|
static RTPBridge |
RTPBridge.getRTPBridge(XMPPConnection connection,
String sessionID)
Get a new RTPBridge Candidate from the server.
|
static STUN |
STUN.getSTUNServer(XMPPConnection connection)
Get a new STUN Server Address and port from the server.
|
static RTPBridge |
RTPBridge.relaySession(XMPPConnection connection,
String sessionID,
String pass,
TransportCandidate proxyCandidate,
TransportCandidate localCandidate)
Check if the server support RTPBridge Service.
|
void |
BasicResolver.resolve(JingleSession session)
Resolve the IP address.
|
void |
BridgedResolver.resolve(JingleSession session)
Resolve Bridged Candidate.
|
void |
FixedResolver.resolve(JingleSession session)
Resolve the IP address.
|
void |
STUNResolver.resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
static boolean |
RTPBridge.serviceAvailable(XMPPConnection connection)
Check if the server support RTPBridge Service.
|
void |
BridgedTransportManager.sessionEstablished(PayloadType pt,
TransportCandidate rc,
TransportCandidate lc,
JingleSession jingleSession) |
void |
ICETransportManager.sessionEstablished(PayloadType pt,
TransportCandidate rc,
TransportCandidate lc,
JingleSession jingleSession) |
protected void |
TransportResolver.triggerCandidateAdded(TransportCandidate cand)
Trigger a new candidate added event.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChat.banUser(String jid,
String reason)
Bans a user from the room.
|
void |
MultiUserChat.banUsers(Collection<String> jids)
Bans users from the room.
|
void |
MultiUserChat.changeAvailabilityStatus(String status,
Presence.Mode mode)
Changes the occupant's availability status within the room.
|
void |
MultiUserChat.changeNickname(String nickname)
Changes the occupant's nickname to a new nickname within the room.
|
void |
MultiUserChat.changeSubject(String subject)
Changes the subject within the room.
|
void |
MultiUserChatManager.decline(String room,
String inviter,
String reason)
Informs the sender of an invitation that the invitee declines the invitation.
|
void |
MultiUserChat.destroy(String reason,
String alternateJID)
Sends a request to the server to destroy the room.
|
List<Affiliate> |
MultiUserChat.getAdmins()
Returns a list of
Affiliate with the room administrators. |
Form |
MultiUserChat.getConfigurationForm()
Returns the room's configuration form that the room's owner can use or null if
no configuration is possible.
|
List<HostedRoom> |
MultiUserChatManager.getHostedRooms(String serviceName)
Returns a List of HostedRooms where each HostedRoom has the XMPP address of the room and the room's name.
|
List<String> |
MultiUserChatManager.getJoinedRooms(String user)
Returns a List of the rooms where the requested user has joined.
|
List<Affiliate> |
MultiUserChat.getMembers()
Returns a list of
Affiliate with the room members. |
List<Occupant> |
MultiUserChat.getModerators()
Returns a list of
Occupant with the room moderators. |
List<Affiliate> |
MultiUserChat.getOutcasts()
Returns a list of
Affiliate with the room outcasts. |
List<Affiliate> |
MultiUserChat.getOwners()
Returns a list of
Affiliate with the room owners. |
List<Occupant> |
MultiUserChat.getParticipants()
Returns a list of
Occupant with the room participants. |
Form |
MultiUserChat.getRegistrationForm()
Returns the room's registration form that an unaffiliated user, can use to become a member
of the room or null if no registration is possible.
|
RoomInfo |
MultiUserChatManager.getRoomInfo(String room)
Returns the discovered information of a given room without actually having to join the room.
|
List<String> |
MultiUserChatManager.getServiceNames()
Returns a collection with the XMPP addresses of the Multi-User Chat services.
|
void |
MultiUserChat.grantAdmin(Collection<String> jids)
Grants administrator privileges to other users.
|
void |
MultiUserChat.grantAdmin(String jid)
Grants administrator privileges to another user.
|
void |
MultiUserChat.grantMembership(Collection<String> jids)
Grants membership to other users.
|
void |
MultiUserChat.grantMembership(String jid)
Grants membership to a user.
|
void |
MultiUserChat.grantModerator(Collection<String> nicknames)
Grants moderator privileges to participants or visitors.
|
void |
MultiUserChat.grantModerator(String nickname)
Grants moderator privileges to a participant or visitor.
|
void |
MultiUserChat.grantOwnership(Collection<String> jids)
Grants ownership privileges to other users.
|
void |
MultiUserChat.grantOwnership(String jid)
Grants ownership privileges to another user.
|
void |
MultiUserChat.grantVoice(Collection<String> nicknames)
Grants voice to visitors in the room.
|
void |
MultiUserChat.grantVoice(String nickname)
Grants voice to a visitor in the room.
|
void |
MultiUserChat.invite(Message message,
String user,
String reason)
Invites another user to the room in which one is an occupant using a given Message.
|
void |
MultiUserChat.invite(String user,
String reason)
Invites another user to the room in which one is an occupant.
|
boolean |
MultiUserChatManager.isServiceEnabled(String user)
Returns true if the specified user supports the Multi-User Chat protocol.
|
void |
MultiUserChat.join(String nickname)
Joins the chat room using the specified nickname.
|
void |
MultiUserChat.join(String nickname,
String password,
DiscussionHistory history,
long timeout)
Joins the chat room using the specified nickname and password.
|
void |
MultiUserChat.kickParticipant(String nickname,
String reason)
Kicks a visitor or participant from the room.
|
void |
MultiUserChat.leave()
Leave the chat room.
|
void |
MultiUserChat.requestVoice()
Sends a voice request to the MUC.
|
void |
MultiUserChat.revokeAdmin(Collection<String> jids)
Revokes administrator privileges from users.
|
void |
MultiUserChat.revokeAdmin(String jid)
Revokes administrator privileges from a user.
|
void |
MultiUserChat.revokeMembership(Collection<String> jids)
Revokes users' membership.
|
void |
MultiUserChat.revokeMembership(String jid)
Revokes a user's membership.
|
void |
MultiUserChat.revokeModerator(Collection<String> nicknames)
Revokes moderator privileges from other users.
|
void |
MultiUserChat.revokeModerator(String nickname)
Revokes moderator privileges from another user.
|
void |
MultiUserChat.revokeOwnership(Collection<String> jids)
Revokes ownership privileges from other users.
|
void |
MultiUserChat.revokeOwnership(String jid)
Revokes ownership privileges from another user.
|
void |
MultiUserChat.revokeVoice(Collection<String> nicknames)
Revokes voice from participants in the room.
|
void |
MultiUserChat.revokeVoice(String nickname)
Revokes voice from a participant in the room.
|
void |
MultiUserChat.sendConfigurationForm(Form form)
Sends the completed configuration form to the server.
|
void |
MultiUserChat.sendMessage(Message message)
Sends a Message to the chat room.
|
void |
MultiUserChat.sendMessage(String text)
Sends a message to the chat room.
|
void |
MultiUserChat.sendRegistrationForm(Form form)
Sends the completed registration form to the server.
|
Modifier and Type | Method and Description |
---|---|
void |
OfflineMessageManager.deleteMessages()
Deletes all offline messages of the user.
|
void |
OfflineMessageManager.deleteMessages(List<String> nodes)
Deletes the specified list of offline messages.
|
List<OfflineMessageHeader> |
OfflineMessageManager.getHeaders()
Returns a List of OfflineMessageHeader that keep information about the
offline message.
|
int |
OfflineMessageManager.getMessageCount()
Returns the number of offline messages for the user of the connection.
|
List<Message> |
OfflineMessageManager.getMessages()
Returns a List of Messages with all the offline Messages of the user.
|
List<Message> |
OfflineMessageManager.getMessages(List<String> nodes)
Returns a List of the offline Messages whose stamp matches the specified
request.
|
boolean |
OfflineMessageManager.supportsFlexibleRetrieval()
Returns true if the server supports Flexible Offline Message Retrieval.
|
Modifier and Type | Method and Description |
---|---|
void |
PEPManager.publish(PEPItem item)
Publish an event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PingManager.isPingSupported(String jid)
Query the specified entity to see if it supports the Ping protocol (XEP-0199)
|
boolean |
PingManager.ping(String jid)
Same as calling
PingManager.ping(String, long) with the defaultpacket reply
timeout. |
boolean |
PingManager.ping(String jid,
long pingTimeout)
Pings the given jid.
|
boolean |
PingManager.pingMyServer()
Pings the server.
|
boolean |
PingManager.pingMyServer(boolean notifyListeners)
Pings the server.
|
boolean |
PingManager.pingMyServer(boolean notifyListeners,
long pingTimeout)
Pings the server.
|
Modifier and Type | Method and Description |
---|---|
void |
PrivacyListManager.createPrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has created a new list.
|
void |
PrivacyListManager.declineActiveList()
Client declines the use of active lists.
|
void |
PrivacyListManager.declineDefaultList()
Client declines the use of default lists.
|
void |
PrivacyListManager.deletePrivacyList(String listName)
Remove a privacy list.
|
PrivacyList |
PrivacyListManager.getActiveList()
Answer the active privacy list.
|
String |
PrivacyListManager.getActiveListName()
Get the name of the active list.
|
PrivacyList |
PrivacyListManager.getDefaultList()
Answer the default privacy list.
|
String |
PrivacyListManager.getDefaultListName()
Get the name of the default list.
|
String |
PrivacyListManager.getEffectiveListName()
Returns the name of the effective privacy list.
|
PrivacyList |
PrivacyListManager.getPrivacyList(String listName)
Answer the privacy list items under listName with the allowed and blocked permissions.
|
List<PrivacyList> |
PrivacyListManager.getPrivacyLists()
Answer every privacy list with the allowed and blocked permissions.
|
boolean |
PrivacyListManager.isSupported()
Check if the user's server supports privacy lists.
|
void |
PrivacyListManager.setActiveListName(String listName)
Set or change the active list to listName.
|
void |
PrivacyListManager.setDefaultListName(String listName)
Set or change the default list to listName.
|
void |
PrivacyListManager.updatePrivacyList(String listName,
List<PrivacyItem> privacyItems)
The client has edited an existing list.
|
Modifier and Type | Method and Description |
---|---|
LeafNode |
PubSubManager.createNode()
Creates an instant node, if supported.
|
LeafNode |
PubSubManager.createNode(String id)
Creates a node with default configuration.
|
Node |
PubSubManager.createNode(String name,
Form config)
Creates a node with specified configuration.
|
void |
LeafNode.deleteAllItems()
Purges the node of all items.
|
void |
LeafNode.deleteItem(Collection<String> itemIds)
Delete the items with the specified id's from the node.
|
void |
LeafNode.deleteItem(String itemId)
Delete the item with the specified id from the node.
|
void |
PubSubManager.deleteNode(String nodeId)
Delete the specified node
|
DiscoverInfo |
Node.discoverInfo()
Discover node information in standard
DiscoverInfo format. |
DiscoverItems |
LeafNode.discoverItems()
Get information on the items in the node in standard
DiscoverItems format. |
DiscoverItems |
PubSubManager.discoverNodes(String nodeId)
Get all the nodes that currently exist as a child of the specified
collection node.
|
List<Affiliation> |
Node.getAffiliations()
Get the affiliations of this node.
|
List<Affiliation> |
PubSubManager.getAffiliations()
Gets the affiliations on the root node.
|
List<Affiliation> |
Node.getAffiliations(List<ExtensionElement> additionalExtensions,
Collection<ExtensionElement> returnedExtensions)
Get the affiliations of this node.
|
ConfigureForm |
PubSubManager.getDefaultConfiguration()
Returns the default settings for Node configuration.
|
<T extends Item> |
LeafNode.getItems()
Get the current items stored in the node.
|
<T extends Item> |
LeafNode.getItems(Collection<String> ids)
Get the items specified from the node.
|
<T extends Item> |
LeafNode.getItems(int maxItems)
Get items persisted on the node, limited to the specified number.
|
<T extends Item> |
LeafNode.getItems(int maxItems,
String subscriptionId)
Get items persisted on the node, limited to the specified number
based on the subscription associated with the provided subscriptionId.
|
<T extends Item> |
LeafNode.getItems(List<ExtensionElement> additionalExtensions,
List<ExtensionElement> returnedExtensions)
Get items persisted on the node.
|
<T extends Item> |
LeafNode.getItems(String subscriptionId)
Get the current items stored in the node based
on the subscription associated with the provided
subscription id.
|
<T extends Node> |
PubSubManager.getNode(String id)
Retrieves the requested node, if it exists.
|
ConfigureForm |
Node.getNodeConfiguration()
Returns a configuration form, from which you can create an answer form to be submitted
via the
Node.sendConfigurationForm(Form) . |
SubscribeForm |
Node.getSubscriptionOptions(String jid)
Returns a SubscribeForm for subscriptions, from which you can create an answer form to be submitted
via the
Node.sendConfigurationForm(Form) . |
SubscribeForm |
Node.getSubscriptionOptions(String jid,
String subscriptionId)
Get the options for configuring the specified subscription.
|
List<Subscription> |
Node.getSubscriptions()
Get the subscriptions currently associated with this node.
|
List<Subscription> |
PubSubManager.getSubscriptions()
Gets the subscriptions on the root node.
|
List<Subscription> |
Node.getSubscriptions(List<ExtensionElement> additionalExtensions,
Collection<ExtensionElement> returnedExtensions)
Get the subscriptions currently associated with this node.
|
List<Subscription> |
Node.getSubscriptionsAsOwner()
Get the subscriptions currently associated with this node as owner.
|
List<Subscription> |
Node.getSubscriptionsAsOwner(List<ExtensionElement> additionalExtensions,
Collection<ExtensionElement> returnedExtensions)
Get the subscriptions currently associated with this node as owner.
|
DiscoverInfo |
PubSubManager.getSupportedFeatures()
Gets the supported features of the servers pubsub implementation
as a standard
DiscoverInfo instance. |
void |
LeafNode.publish()
Publishes an event to the node.
|
<T extends Item> |
LeafNode.publish(Collection<T> items)
Publishes multiple events to the node.
|
<T extends Item> |
LeafNode.publish(T item)
Publishes an event to the node.
|
void |
LeafNode.send()
Publishes an event to the node.
|
<T extends Item> |
LeafNode.send(Collection<T> items)
Publishes multiple events to the node.
|
<T extends Item> |
LeafNode.send(T item)
Publishes an event to the node.
|
void |
Node.sendConfigurationForm(Form submitForm)
Update the configuration with the contents of the new
Form |
protected PubSub |
Node.sendPubsubPacket(PubSub packet) |
Subscription |
Node.subscribe(String jid)
The user subscribes to the node using the supplied jid.
|
Subscription |
Node.subscribe(String jid,
SubscribeForm subForm)
The user subscribes to the node using the supplied jid and subscription
options.
|
void |
Node.unsubscribe(String jid)
Remove the subscription related to the specified JID.
|
void |
Node.unsubscribe(String jid,
String subscriptionId)
Remove the specific subscription related to the specified JID.
|
Modifier and Type | Method and Description |
---|---|
Form |
UserSearchManager.getSearchForm(String searchService)
Returns the form to fill out to perform a search.
|
Form |
UserSearch.getSearchForm(XMPPConnection con,
String searchService)
Returns the form for all search fields supported by the search service.
|
ReportedData |
UserSearchManager.getSearchResults(Form searchForm,
String searchService)
Submits a search form to the server and returns the resulting information
in the form of
ReportedData |
List<String> |
UserSearchManager.getSearchServices()
Returns a collection of search services found on the server.
|
ReportedData |
UserSearch.sendSearchForm(XMPPConnection con,
Form searchForm,
String searchService)
Sends the filled out answer form to be sent and queried by the search service.
|
ReportedData |
UserSearch.sendSimpleSearchForm(XMPPConnection con,
Form searchForm,
String searchService)
Sends the filled out answer form to be sent and queried by the search service.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
SharedGroupManager.getSharedGroups(XMPPConnection connection)
Returns the collection that will contain the name of the shared groups where the user
logged in with the specified session belongs.
|
Modifier and Type | Method and Description |
---|---|
Time |
EntityTimeManager.getTime(String jid) |
boolean |
EntityTimeManager.isTimeSupported(String jid) |
Modifier and Type | Method and Description |
---|---|
boolean |
VCardManager.isSupported(String jid)
Returns true if the given entity understands the vCard-XML format and allows the exchange of such.
|
static boolean |
VCardManager.isSupported(String jid,
XMPPConnection connection)
Deprecated.
use
VCardManager.isSupported(String) instead. |
VCard |
VCardManager.loadVCard()
Load the VCard of the current user.
|
VCard |
VCardManager.loadVCard(String bareJid)
Load VCard information for a given user.
|
void |
VCardManager.saveVCard(VCard vcard)
Save this vCard for the user connected by 'connection'.
|
Modifier and Type | Method and Description |
---|---|
void |
VCard.load(XMPPConnection connection)
Deprecated.
use
VCardManager.loadVCard() instead. |
void |
VCard.load(XMPPConnection connection,
String user)
Deprecated.
use
VCardManager.loadVCard(String) instead. |
void |
VCard.save(XMPPConnection connection)
Deprecated.
use
VCardManager.saveVCard(VCard) instead. |
Modifier and Type | Method and Description |
---|---|
void |
Offer.accept()
Accepts the offer.
|
void |
AgentSession.dequeueUser(String userID)
Removes a user from the workgroup queue.
|
AgentChatHistory |
AgentSession.getAgentHistory(String jid,
int maxSessions,
Date startDate)
Retrieves the AgentChatHistory associated with a particular agent jid.
|
AgentRoster |
AgentSession.getAgentRoster()
Returns the agent roster for the workgroup, which contains
|
Map<String,List<String>> |
AgentSession.getChatMetadata(String sessionID)
Query for metadata associated with a session id.
|
GenericSettings |
AgentSession.getGenericSettings(XMPPConnection con,
String query)
Returns the generic metadata of the workgroup the agent belongs to.
|
MacroGroup |
AgentSession.getMacros(boolean global)
Asks the workgroup for it's Global Macros.
|
String |
Agent.getName()
Return the agents name.
|
ChatNotes |
AgentSession.getNote(String sessionID)
Retrieves the ChatNote associated with a given chat session.
|
OccupantsInfo |
AgentSession.getOccupantsInfo(String roomID)
Asks the workgroup for information about the occupants of the specified room.
|
Form |
TranscriptSearchManager.getSearchForm(String serviceJID)
Returns the Form to use for searching transcripts.
|
SearchSettings |
AgentSession.getSearchSettings()
Asks the workgroup for it's Search Settings.
|
Transcript |
TranscriptManager.getTranscript(String workgroupJID,
String sessionID)
Returns the full conversation transcript of a given session.
|
Transcripts |
TranscriptManager.getTranscripts(String workgroupJID,
String userID)
Returns the transcripts of a given user.
|
static Collection<String> |
Agent.getWorkgroups(String serviceJID,
String agentJID,
XMPPConnection connection) |
boolean |
AgentSession.hasMonitorPrivileges(XMPPConnection con) |
void |
AgentSession.makeRoomOwner(XMPPConnection con,
String sessionID) |
void |
OfferConfirmation.notifyService(XMPPConnection con,
String workgroup,
String createdRoomName) |
void |
Offer.reject()
Rejects the offer.
|
void |
AgentRoster.reload()
Reloads the entire roster from the server.
|
void |
AgentSession.saveMacros(MacroGroup group)
Persists the Personal Macro for an agent.
|
void |
AgentSession.sendRoomInvitation(RoomInvitation.Type type,
String invitee,
String sessionID,
String reason)
Invites a user or agent to an existing session support.
|
void |
AgentSession.sendRoomTransfer(RoomTransfer.Type type,
String invitee,
String sessionID,
String reason)
Transfer an existing session support to another user or agent.
|
void |
Agent.setName(String newName)
Changes the name of the agent in the server.
|
void |
AgentSession.setNote(String sessionID,
String note)
Creates a ChatNote that will be mapped to the given chat session.
|
void |
AgentSession.setStatus(Presence.Mode presenceMode,
int maxChats,
String status)
Sets the agent's current status with the workgroup.
|
void |
AgentSession.setStatus(Presence.Mode presenceMode,
String status)
Sets the agent's current status with the workgroup.
|
ReportedData |
TranscriptSearchManager.submitSearch(String serviceJID,
Form completedForm)
Submits the completed form and returns the result of the transcript search.
|
Modifier and Type | Method and Description |
---|---|
void |
Workgroup.departQueue()
Departs the workgroup queue.
|
OfflineSettings |
Workgroup.getOfflineSettings()
Asks the workgroup for it's Offline Settings.
|
SoundSettings |
Workgroup.getSoundSettings()
Asks the workgroup for it's Sound Settings.
|
Form |
Workgroup.getWorkgroupForm()
Returns the Form to use for all clients of a workgroup.
|
WorkgroupProperties |
Workgroup.getWorkgroupProperties()
Asks the workgroup for it's Properties
|
WorkgroupProperties |
Workgroup.getWorkgroupProperties(String jid)
Asks the workgroup for it's Properties
|
boolean |
Workgroup.isAvailable()
Returns true if the workgroup is available for receiving new requests.
|
void |
Workgroup.joinQueue(Form answerForm,
String userID)
Joins the workgroup queue to wait to be routed to an agent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XDataManager.isSupported(String jid)
Check if the given entity supports data forms.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessageEventRequestListener.deliveredNotificationRequested(String from,
String packetID,
MessageEventManager messageEventManager) |
void |
MessageEventRequestListener.deliveredNotificationRequested(String from,
String packetID,
MessageEventManager messageEventManager)
Called when a request for message delivered notification is received.
|
void |
MessageEventManager.sendCancelledNotification(String to,
String packetID)
Sends the notification that the receiver of the message has cancelled composing a reply.
|
void |
MessageEventManager.sendComposingNotification(String to,
String packetID)
Sends the notification that the receiver of the message is composing a reply
|
void |
MessageEventManager.sendDeliveredNotification(String to,
String packetID)
Sends the notification that the message was delivered to the sender of the original message
|
void |
MessageEventManager.sendDisplayedNotification(String to,
String packetID)
Sends the notification that the message was displayed to the sender of the original message
|
Modifier and Type | Method and Description |
---|---|
static boolean |
XHTMLManager.isServiceEnabled(XMPPConnection connection,
String userID)
Returns true if the specified user handles XHTML messages.
|
Modifier and Type | Method and Description |
---|---|
void |
RosterExchangeManager.send(RosterEntry rosterEntry,
String targetUserID)
Sends a roster entry to userID.
|
void |
RosterExchangeManager.send(RosterGroup rosterGroup,
String targetUserID)
Sends a roster group to userID.
|
void |
RosterExchangeManager.send(Roster roster,
String targetUserID)
Sends a roster to userID.
|