- 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
-
- 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
-
- 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(BareJid) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns true if the specified XMPP address is an entry in the roster.
- contains(RosterEntry) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns true if the specified entry is part of this group.
- 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, ChatMessageListener) - 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.
- 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
-
Creates a new roster entry and presence subscription.
- createGroup(String) - Method in class org.jivesoftware.smack.roster.Roster
-
Creates a new group.
- 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.
- getConfigUrl() - 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.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.
- getProvidersUrl() - 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
-
- getUser() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
- getVersion() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
-
- GROUP - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
- 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.
- 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.
- 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 - Interface in org.jivesoftware.smack.roster
-
- rosterEntries(Collection<RosterEntry>) - Method in interface org.jivesoftware.smack.roster.RosterEntries
-
- 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
-
- 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.
- 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
-