- Chat - Class in org.jivesoftware.smack.chat
-
A chat is a series of messages sent between two users.
- 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
-
The chat manager keeps track of references to all current chats.
- ChatManager.MatchMode - Enum in org.jivesoftware.smack.chat
-
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
-
Closes the Chat and removes all references to it from the
ChatManager
.
- contains(String) - 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(String) - Method in class org.jivesoftware.smack.roster.RosterGroup
-
Returns true if the specified XMPP address is an entry in this group.
- createChat(String) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Creates a new chat and returns it.
- createChat(String, ChatMessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Creates a new chat and returns it.
- createChat(String, String, ChatMessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
-
Creates a new chat using the specified thread ID, then returns it.
- createCollector() - Method in class org.jivesoftware.smack.chat.Chat
-
Creates a PacketCollector
which will accumulate the Messages
for this chat.
- createEntry(String, 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(String) - 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(String) - 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
-
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.RosterVer
-
- 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 collection 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(String) - 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(String) - 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(String) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
-
- getEntry(String) - 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
-
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
-
- getItemStatus() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the roster item status.
- getItemType() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Returns the roster item type.
- getListeners() - Method in class org.jivesoftware.smack.chat.Chat
-
Returns an unmodifiable set of all of the listeners registered with this chat.
- getMatchMode() - Method in class org.jivesoftware.smack.chat.ChatManager
-
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
-
- getParticipant() - Method in class org.jivesoftware.smack.chat.Chat
-
Returns the name of the user the chat is with.
- getPresence(String) - Method in class org.jivesoftware.smack.roster.Roster
-
Returns the presence info for a particular user.
- getPresenceResource(String) - 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(String) - 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.
- getStatus() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the roster subscription status of the entry.
- 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
-
- getThreadID() - Method in class org.jivesoftware.smack.chat.Chat
-
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
-
Returns the user.
- getUser() - Method in class org.jivesoftware.smack.roster.RosterEntry
-
Returns the JID of the user associated with this entry.
- getVersion() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket
-
- GROUP - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket.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
-
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(String, String) - Method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
-
- removeEntry(String, 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
-
- 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.
- 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.
- 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.
- rosterEntires(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.Item(String, String) - Constructor for class org.jivesoftware.smack.roster.packet.RosterPacket.Item
-
Creates a new roster item.
- RosterPacket.ItemStatus - Enum in org.jivesoftware.smack.roster.packet
-
The subscription status of a roster item.
- 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.
- 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
-