A B C D E F G H I M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPresenceEventListener - Class in org.jivesoftware.smack.roster
- AbstractPresenceEventListener() - Constructor for class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- AbstractRosterListener - Class in org.jivesoftware.smack.roster
-
Provides empty implementations for
RosterListener
. - AbstractRosterListener() - Constructor for class org.jivesoftware.smack.roster.AbstractRosterListener
- accept_all - org.jivesoftware.smack.roster.Roster.SubscriptionMode
-
Automatically accept all subscription and unsubscription requests.
- addChatListener(ChatManagerListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Register a new listener with the ChatManager to receive events related to chats.
- addEntry(RosterPacket.Item, String) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- addEntry(RosterPacket.Item, String) - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
This method stores a new roster entry in this store or updates an existing one.
- addEntry(RosterEntry) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Adds a roster entry to this group.
- addGroupName(String) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Adds a group name.
- addMessageListener(ChatMessageListener) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Adds a stanza listener that will be notified of any new messages in the chat.
- addOutgoingMessageInterceptor(MessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Adds an interceptor which intercepts any messages sent through chats.
- addOutgoingMessageInterceptor(MessageListener, StanzaFilter) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.
- addPresenceEventListener(PresenceEventListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Add a
PresenceEventListener
. - addRosterItem(RosterPacket.Item) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
-
Adds a roster item to the packet.
- addRosterListener(RosterListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Adds a listener to this roster.
- addRosterLoadedListener(RosterLoadedListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Add a roster loaded listener.
- addSubscribeListener(SubscribeListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Add a subscribe listener, which is invoked on incoming subscription requests and if
Roster.SubscriptionMode
is set toRoster.SubscriptionMode.manual
. - Approve - org.jivesoftware.smack.roster.SubscribeListener.SubscribeAnswer
-
Approve the subscription request.
- ApproveAndAlsoRequestIfRequired - org.jivesoftware.smack.roster.SubscribeListener.SubscribeAnswer
-
Approve the subscription request and also request subscription from the other party if not already subscribed.
- askForSubscriptionIfRequired(Roster, BareJid) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- asSymbol() - Method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
Get a String containing symbols representing the item type.
B
- BARE_JID - org.jivesoftware.smack.chat.ChatManager.MatchMode
-
Deprecated.Will attempt to match on the JID in the from field, and then attempt the base JID if no match was found.
- both - org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
The user and the contact have subscriptions to each other's presence (also called a "mutual subscription").
C
- cancelSubscription() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Cancel the presence subscription the XMPP entity representing this roster entry has with us.
- canSeeHisPresence() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Check if we are subscribed to the contact's presence.
- canSeeMyPresence() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Check if the contact is subscribed to "my" presence.
- Chat - Class in org.jivesoftware.smack.chat
-
Deprecated.use
org.jivesoftware.smack.chat2.Chat
fromsmack-extensions
instead. - chatCreated(Chat, boolean) - Method in interface org.jivesoftware.smack.chat.ChatManagerListener
-
Event fired when a new chat is created.
- ChatManager - Class in org.jivesoftware.smack.chat
-
Deprecated.use
org.jivesoftware.smack.chat2.ChatManager
fromsmack-extensions
instead. - ChatManager.MatchMode - Enum in org.jivesoftware.smack.chat
-
Deprecated.Defines the different modes under which a match will be attempted with an existing chat when the incoming message does not have a thread id.
- ChatManagerListener - Interface in org.jivesoftware.smack.chat
-
A listener for chat related events.
- ChatMessageListener - Interface in org.jivesoftware.smack.chat
- close() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Closes the Chat and removes all references to it from the
ChatManager
. - contains(RosterEntry) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns true if the specified entry is part of this group.
- contains(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns true if the specified XMPP address is an entry in the roster.
- contains(Jid) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns true if the specified XMPP address is an entry in this group.
- createChat(EntityJid) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Creates a new chat and returns it.
- createChat(EntityJid, String, ChatMessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Creates a new chat using the specified thread ID, then returns it.
- createChat(EntityJid, ChatMessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Creates a new chat and returns it.
- createCollector() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Creates a
StanzaCollector
which will accumulate the Messages for this chat. - createEntry(BareJid, String, String[]) - Method in class org.jivesoftware.smack.roster.Roster
-
Deprecated.
- createGroup(String) - Method in class org.jivesoftware.smack.roster.Roster
-
Creates a new group.
- createItem(BareJid, String, String[]) - Method in class org.jivesoftware.smack.roster.Roster
-
Creates a new roster item.
- createItemAndRequestSubscription(BareJid, String, String[]) - Method in class org.jivesoftware.smack.roster.Roster
-
Creates a new roster entry and presence subscription.
D
- Deny - org.jivesoftware.smack.roster.SubscribeListener.SubscribeAnswer
-
Deny the subscription request.
- DirectoryRosterStore - Class in org.jivesoftware.smack.roster.rosterstore
-
Stores roster entries as specified by RFC 6121 for roster versioning in a set of files.
E
- ELEMENT - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket
- ELEMENT - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
The constant value ""item"".
- ELEMENT - Static variable in class org.jivesoftware.smack.roster.packet.RosterVer
- ELEMENT - Static variable in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
- ensureNotSubscribed(Roster, BareJid) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- ensureNotSubscribedToEachOther(XMPPConnection, XMPPConnection) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- ensureSubscribed(XMPPConnection, XMPPConnection, long) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- ensureSubscribedTo(XMPPConnection, XMPPConnection, long) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- ensureSubscribedTo(XMPPConnection, XMPPConnection, Date) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- entriesAdded(Collection<Jid>) - Method in class org.jivesoftware.smack.roster.AbstractRosterListener
- entriesAdded(Collection<Jid>) - Method in interface org.jivesoftware.smack.roster.RosterListener
-
Called when roster entries are added.
- entriesDeleted(Collection<Jid>) - Method in class org.jivesoftware.smack.roster.AbstractRosterListener
- entriesDeleted(Collection<Jid>) - Method in interface org.jivesoftware.smack.roster.RosterListener
-
Called when a roster entries are removed.
- entriesUpdated(Collection<Jid>) - Method in class org.jivesoftware.smack.roster.AbstractRosterListener
- entriesUpdated(Collection<Jid>) - Method in interface org.jivesoftware.smack.roster.RosterListener
-
Called when a roster entries are updated.
- equals(Object) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.
- equals(Object) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- equals(Object) - Method in class org.jivesoftware.smack.roster.RosterEntry
- equalsDeep(Object) - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Indicates whether some other object is "equal to" this by comparing all members.
F
- from - org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
The contact has a subscription to the user's presence, but the user does not have a subscription to the contact's presence.
- fromString(String) - Static method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
G
- getAllPresences(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a List of Presence objects for all of a user's current presences if no presence information is available, such as when you are not subscribed to the user's presence updates.
- getAvailablePresences(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a List of all available Presence Objects for the given bare JID.
- getChatListeners() - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Returns an unmodifiable set of all chat listeners currently registered with this manager.
- getConfigUri() - Method in class org.jivesoftware.smack.im.SmackImInitializer
- getDefaultSubscriptionMode() - Static method in class org.jivesoftware.smack.roster.Roster
-
Returns the default subscription processing mode to use when a new Roster is created.
- getElementName() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- getElementName() - Method in class org.jivesoftware.smack.roster.packet.RosterVer
- getElementName() - Method in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
- getEntries() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a set of all entries in the roster, including entries that don't belong to any groups.
- getEntries() - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns an copied list of all entries in the group.
- getEntries() - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- getEntries() - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
This method returns a list of all roster items contained in this store.
- getEntriesAndAddListener(RosterListener, RosterEntries) - Method in class org.jivesoftware.smack.roster.Roster
-
Add a roster listener and invoke the roster entries with all entries of the roster.
- getEntry(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the roster entry associated with the given XMPP address or
null
if the user is not an entry in the roster. - getEntry(Jid) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns the roster entry associated with the given XMPP address or
null
if the user is not an entry in the group. - getEntry(Jid) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- getEntry(Jid) - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
This method returns the roster item in this store for the given JID.
- getEntryCount() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a count of the entries in the roster.
- getEntryCount() - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns the number of entries in the group.
- getGroup(String) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the roster group with the specified name, or
null
if the group doesn't exist. - getGroupCount() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the number of the groups in the roster.
- getGroupNames() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns an unmodifiable set of the group names that the roster item belongs to.
- getGroups() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns an unmodifiable collections of all the roster groups.
- getGroups() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns an copied list of the roster groups that this entry belongs to.
- getInstanceFor(XMPPConnection) - Static method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Returns the ChatManager instance associated with a given XMPPConnection.
- getInstanceFor(XMPPConnection) - Static method in class org.jivesoftware.smack.roster.Roster
-
Returns the roster for the user.
- getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
- getItemType() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the roster item type.
- getJid() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the JID of this item.
- getJid() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the JID associated with this entry.
- getListeners() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Returns an unmodifiable set of all of the listeners registered with this chat.
- getMatchMode() - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Gets the current mode for matching messages with NO thread id to existing chats.
- getName() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the user's name.
- getName() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the name associated with this entry.
- getName() - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns the name of the group.
- getNamespace() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- getNamespace() - Method in class org.jivesoftware.smack.roster.packet.RosterVer
- getNamespace() - Method in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
- getParticipant() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Returns the name of the user the chat is with.
- getPresence(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the presence info for a particular user.
- getPresenceResource(FullJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the presence info for a particular user's resource, or unavailable presence if the user is offline or if no presence information is available, such as when you are not subscribed to the user's presence updates.
- getPresences(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a List of Presence objects for all of a user's current presences or an unavailable presence if the user is unavailable (offline) or if no presence information is available, such as when you are not subscribed to the user's presence updates.
- getProvidersUri() - Method in class org.jivesoftware.smack.im.SmackImInitializer
- getRosterItemCount() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
-
Returns the number of roster items in this roster packet.
- getRosterItems() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
-
Returns a copied list of the roster items in the packet.
- getRosterVersion() - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- getRosterVersion() - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
This method returns the version number as specified by the "ver" attribute of the local store.
- getSubscriptionMode() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the subscription processing mode, which dictates what action Smack will take when subscription requests from other users are made.
- getThreadChat(String) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.
- getThreadID() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Returns the thread id associated with this chat, which corresponds to the
thread
field of XMPP messages. - getType() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the roster subscription type of the entry.
- getUnfiledEntries() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns an unmodifiable set for the unfiled roster entries.
- getUnfiledEntryCount() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns a count of the unfiled entries in the roster.
- getUser() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Deprecated.use
RosterPacket.Item.getJid()
instead. - getUser() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Deprecated.use
RosterEntry.getJid()
instead. - getVersion() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
- GROUP - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
H
- hashCode() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.
- hashCode() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- hashCode() - Method in class org.jivesoftware.smack.roster.RosterEntry
I
- iAmSubscribedTo(Jid) - Method in class org.jivesoftware.smack.roster.Roster
-
Check if the XMPP entity this roster belongs to is subscribed to the presence of the given JID.
- init(File) - Static method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
-
Creates a new roster store on disk.
- INITIAL_DEFAULT_NON_ROSTER_PRESENCE_MAP_SIZE - Static variable in class org.jivesoftware.smack.roster.Roster
-
The initial maximum size of the map holding presence information of entities without an Roster entry.
- INSTANCE - Static variable in class org.jivesoftware.smack.roster.packet.RosterVer
- INSTANCE - Static variable in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
- INSTANCE - Static variable in class org.jivesoftware.smack.roster.provider.RosterPacketProvider
- isApproved() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the roster item pre-approval state.
- isApproved() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the pre-approval state of this entry.
- isLoaded() - Method in class org.jivesoftware.smack.roster.Roster
-
Check if the roster is loaded.
- isNormalIncluded() - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Determines whether incoming messages of type normal will be used for creating new chats or matching a message to existing ones.
- isRosterLoadedAtLogin() - Method in class org.jivesoftware.smack.roster.Roster
-
Returns true if the roster will be loaded from the server when logging in.
- isRosterVersioningSupported() - Method in class org.jivesoftware.smack.roster.Roster
-
Check if the server supports roster versioning.
- isSubscribedToMyPresence(Jid) - Method in class org.jivesoftware.smack.roster.Roster
-
Check if the given JID is subscribed to the user's presence.
- isSubscriptionPending() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- isSubscriptionPending() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the roster subscription request status of the entry.
- isSubscriptionPreApprovalSupported() - Method in class org.jivesoftware.smack.roster.Roster
-
Check for subscription pre-approval support.
- Item(BareJid, String) - Constructor for class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Creates a new roster item.
- Item(BareJid, String, boolean) - Constructor for class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Creates a new roster item.
M
- manual - org.jivesoftware.smack.roster.Roster.SubscriptionMode
-
Subscription requests are ignored, which means they must be manually processed by registering a listener for presence packets and then looking for any presence requests that have the type Presence.Type.SUBSCRIBE or Presence.Type.UNSUBSCRIBE.
N
- NAMESPACE - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket
- NAMESPACE - Static variable in class org.jivesoftware.smack.roster.packet.RosterVer
- NAMESPACE - Static variable in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
- none - org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
The user does not have a subscription to the contact's presence, and the contact does not have a subscription to the user's presence; this is the default value, so if the subscription attribute is not included then the state is to be understood as "none".
- NONE - org.jivesoftware.smack.chat.ChatManager.MatchMode
-
Deprecated.Will not attempt to match, always creates a new chat.
O
- onRosterLoaded(Roster) - Method in interface org.jivesoftware.smack.roster.RosterLoadedListener
-
Called when the Roster was loaded successfully.
- onRosterLoadingFailed(Exception) - Method in interface org.jivesoftware.smack.roster.RosterLoadedListener
-
Called when roster loading has failed.
- open(File) - Static method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
-
Opens a roster store.
- org.jivesoftware.smack.chat - package org.jivesoftware.smack.chat
-
Smacks legacy API for 1:1 chats.
- org.jivesoftware.smack.im - package org.jivesoftware.smack.im
-
Internal classes for smack-im.
- org.jivesoftware.smack.roster - package org.jivesoftware.smack.roster
-
Smacks API for Rosters.
- org.jivesoftware.smack.roster.packet - package org.jivesoftware.smack.roster.packet
-
Element classes for Rosters.
- org.jivesoftware.smack.roster.provider - package org.jivesoftware.smack.roster.provider
-
Provider classes for Rosters.
- org.jivesoftware.smack.roster.rosterstore - package org.jivesoftware.smack.roster.rosterstore
-
Persistence classes for Rosters.
P
- parse(XmlPullParser, int, XmlEnvironment) - Method in class org.jivesoftware.smack.roster.provider.RosterPacketProvider
- parse(XmlPullParser, int, XmlEnvironment) - Method in class org.jivesoftware.smack.roster.provider.RosterVerStreamFeatureProvider
- parse(XmlPullParser, int, XmlEnvironment) - Method in class org.jivesoftware.smack.roster.provider.SubscriptionPreApprovalStreamFeatureProvider
- parseItem(XmlPullParser) - Static method in class org.jivesoftware.smack.roster.provider.RosterPacketProvider
- preApprove(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Pre-approve user presence subscription.
- preApproveAndCreateEntry(BareJid, String, String[]) - Method in class org.jivesoftware.smack.roster.Roster
-
Creates a new pre-approved roster entry and presence subscription.
- preApproveSubscriptionIfRequiredAndPossible(Roster, BareJid) - Static method in class org.jivesoftware.smack.roster.RosterUtil
-
Pre-approve the subscription if it is required and possible.
- presenceAvailable(FullJid, Presence) - Method in class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- presenceAvailable(FullJid, Presence) - Method in interface org.jivesoftware.smack.roster.PresenceEventListener
- presenceChanged(Presence) - Method in class org.jivesoftware.smack.roster.AbstractRosterListener
- presenceChanged(Presence) - Method in interface org.jivesoftware.smack.roster.RosterListener
-
Called when the presence of a roster entry is changed.
- presenceError(Jid, Presence) - Method in class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- presenceError(Jid, Presence) - Method in interface org.jivesoftware.smack.roster.PresenceEventListener
- PresenceEventListener - Interface in org.jivesoftware.smack.roster
- presenceSubscribed(BareJid, Presence) - Method in class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- presenceSubscribed(BareJid, Presence) - Method in interface org.jivesoftware.smack.roster.PresenceEventListener
- presenceUnavailable(FullJid, Presence) - Method in class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- presenceUnavailable(FullJid, Presence) - Method in interface org.jivesoftware.smack.roster.PresenceEventListener
- presenceUnsubscribed(BareJid, Presence) - Method in class org.jivesoftware.smack.roster.AbstractPresenceEventListener
- presenceUnsubscribed(BareJid, Presence) - Method in interface org.jivesoftware.smack.roster.PresenceEventListener
- processMessage(Chat, Message) - Method in interface org.jivesoftware.smack.chat.ChatMessageListener
- processSubscribe(Jid, Presence) - Method in interface org.jivesoftware.smack.roster.SubscribeListener
-
Handle incoming presence subscription requests.
R
- reject_all - org.jivesoftware.smack.roster.Roster.SubscriptionMode
-
Automatically reject all subscription requests.
- reload() - Method in class org.jivesoftware.smack.roster.Roster
-
Reloads the entire roster from the server.
- reloadAndWait() - Method in class org.jivesoftware.smack.roster.Roster
-
Reload the roster and block until it is reloaded.
- remove - org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
The user wishes to stop receiving presence updates from the subscriber.
- removeChatListener(ChatManagerListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Removes a listener, it will no longer be notified of new events related to chats.
- removeEntry(RosterEntry) - Method in class org.jivesoftware.smack.roster.Roster
-
Removes a roster entry from the roster.
- removeEntry(RosterEntry) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Removes a roster entry from this group.
- removeEntry(Jid, String) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- removeEntry(Jid, String) - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
Removes an entry from the store.
- removeGroupName(String) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Removes a group name.
- removeMessageListener(ChatMessageListener) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.
- removePresenceEventListener(PresenceEventListener) - Method in class org.jivesoftware.smack.roster.Roster
- removeRosterListener(RosterListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Removes a listener from this roster.
- removeRosterLoadedListener(RosterLoadedListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Remove a roster loaded listener.
- removeSubscribeListener(SubscribeListener) - Method in class org.jivesoftware.smack.roster.Roster
-
Remove a subscribe listener.
- resetEntries(Collection<RosterPacket.Item>, String) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- resetEntries(Collection<RosterPacket.Item>, String) - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
This method updates the store so that it contains only the given entries.
- resetStore() - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
- resetStore() - Method in interface org.jivesoftware.smack.roster.rosterstore.RosterStore
-
Reset the store by removing all entries and setting the version to the empty String.
- Roster - Class in org.jivesoftware.smack.roster
-
Represents a user's roster, which is the collection of users a person receives presence updates for.
- Roster.SubscriptionMode - Enum in org.jivesoftware.smack.roster
-
An enumeration for the subscription mode options.
- rosterEntries(Collection<RosterEntry>) - Method in interface org.jivesoftware.smack.roster.RosterEntries
- RosterEntries - Interface in org.jivesoftware.smack.roster
- RosterEntry - Class in org.jivesoftware.smack.roster
-
Each user in your roster is represented by a roster entry, which contains the user's JID and a name or nickname you assign.
- RosterGroup - Class in org.jivesoftware.smack.roster
-
A group of roster entries.
- RosterListener - Interface in org.jivesoftware.smack.roster
-
A listener that is fired any time a roster is changed or the presence of a user in the roster is changed.
- RosterLoadedListener - Interface in org.jivesoftware.smack.roster
-
Roster loaded listeners are invoked once the
Roster
was successfully loaded. - RosterPacket - Class in org.jivesoftware.smack.roster.packet
-
Represents XMPP roster packets.
- RosterPacket() - Constructor for class org.jivesoftware.smack.roster.packet.RosterPacket
- RosterPacket.Item - Class in org.jivesoftware.smack.roster.packet
-
A roster item, which consists of a JID, their name, the type of subscription, and the groups the roster item belongs to.
- RosterPacket.ItemType - Enum in org.jivesoftware.smack.roster.packet
- RosterPacketProvider - Class in org.jivesoftware.smack.roster.provider
- RosterPacketProvider() - Constructor for class org.jivesoftware.smack.roster.provider.RosterPacketProvider
- RosterStore - Interface in org.jivesoftware.smack.roster.rosterstore
-
This is an interface for persistent roster store needed to implement roster versioning as per RFC 6121.
- RosterUtil - Class in org.jivesoftware.smack.roster
- RosterUtil() - Constructor for class org.jivesoftware.smack.roster.RosterUtil
- RosterVer - Class in org.jivesoftware.smack.roster.packet
- RosterVerStreamFeatureProvider - Class in org.jivesoftware.smack.roster.provider
- RosterVerStreamFeatureProvider() - Constructor for class org.jivesoftware.smack.roster.provider.RosterVerStreamFeatureProvider
S
- sendMessage(String) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Sends the specified text as a message to the other chat participant.
- sendMessage(Message) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Sends a message to the other chat participant.
- sendMessage(MessageBuilder) - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.Sends a message to the other chat participant.
- sendSubscriptionRequest(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
- setApproved(boolean) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Sets the roster item pre-approval state.
- setDefaultIsNormalIncluded(boolean) - Static method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.
- setDefaultMatchMode(ChatManager.MatchMode) - Static method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.
- setDefaultNonRosterPresenceMapMaxSize(int) - Static method in class org.jivesoftware.smack.roster.Roster
-
Set the default maximum size of the non-Roster presence map.
- setDefaultSubscriptionMode(Roster.SubscriptionMode) - Static method in class org.jivesoftware.smack.roster.Roster
-
Sets the default subscription processing mode to use when a new Roster is created.
- setItemType(RosterPacket.ItemType) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Sets the roster item type.
- setMatchMode(ChatManager.MatchMode) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Sets the mode for matching messages with NO thread id to existing chats.
- setName(String) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Sets the user's name.
- setName(String) - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Sets the name associated with this entry.
- setName(String) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Sets the name of the group.
- setNonRosterPresenceMapMaxSize(int) - Method in class org.jivesoftware.smack.roster.Roster
-
Set the maximum size of the non-Roster presence map.
- setNormalIncluded(boolean) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Deprecated.Sets whether to allow incoming messages of type normal to be used for creating new chats or matching a message to an existing one.
- setRosterLoadedAtLogin(boolean) - Method in class org.jivesoftware.smack.roster.Roster
-
Sets if the roster will be loaded from the server when logging in.
- setRosterLoadedAtLoginDefault(boolean) - Static method in class org.jivesoftware.smack.roster.Roster
-
Sets if the roster will be loaded from the server when logging in for newly created instances of
Roster
. - setRosterStore(RosterStore) - Method in class org.jivesoftware.smack.roster.Roster
-
Set the roster store, may cause a roster reload.
- setSubscriptionMode(Roster.SubscriptionMode) - Method in class org.jivesoftware.smack.roster.Roster
-
Sets the subscription processing mode, which dictates what action Smack will take when subscription requests from other users are made.
- setSubscriptionPending(boolean) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- setVersion(String) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
- SmackImInitializer - Class in org.jivesoftware.smack.im
- SmackImInitializer() - Constructor for class org.jivesoftware.smack.im.SmackImInitializer
- SubscribeListener - Interface in org.jivesoftware.smack.roster
-
Handle incoming requests to subscribe to our presence.
- SubscribeListener.SubscribeAnswer - Enum in org.jivesoftware.smack.roster
- SubscriptionPreApproval - Class in org.jivesoftware.smack.roster.packet
- SubscriptionPreApprovalStreamFeatureProvider - Class in org.jivesoftware.smack.roster.provider
- SubscriptionPreApprovalStreamFeatureProvider() - Constructor for class org.jivesoftware.smack.roster.provider.SubscriptionPreApprovalStreamFeatureProvider
- SUPPLIED_JID - org.jivesoftware.smack.chat.ChatManager.MatchMode
-
Deprecated.Will match on the JID in the from field of the message.
T
- to - org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
The user has a subscription to the contact's presence, but the contact does not have a subscription to the user's presence.
- toString() - Method in class org.jivesoftware.smack.chat.Chat
-
Deprecated.
- toString() - Method in class org.jivesoftware.smack.roster.RosterEntry
- toXML(XmlEnvironment) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
- toXML(XmlEnvironment) - Method in class org.jivesoftware.smack.roster.packet.RosterVer
- toXML(XmlEnvironment) - Method in class org.jivesoftware.smack.roster.packet.SubscriptionPreApproval
V
- valueOf(String) - Static method in enum org.jivesoftware.smack.chat.ChatManager.MatchMode
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.roster.Roster.SubscriptionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jivesoftware.smack.roster.SubscribeListener.SubscribeAnswer
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jivesoftware.smack.chat.ChatManager.MatchMode
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jivesoftware.smack.roster.Roster.SubscriptionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jivesoftware.smack.roster.SubscribeListener.SubscribeAnswer
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- waitUntilLoaded() - Method in class org.jivesoftware.smack.roster.Roster
- waitUntilOtherEntityIsSubscribed(Roster, BareJid, long) - Static method in class org.jivesoftware.smack.roster.RosterUtil
- waitUntilOtherEntityIsSubscribed(Roster, BareJid, Date) - Static method in class org.jivesoftware.smack.roster.RosterUtil
All Classes All Packages