Skip navigation links
A C D E F G H I N O P R S T U V W 

A

addChatListener(ChatManagerListener) - Method in class org.jivesoftware.smack.chat.ChatManager
Register a new listener with the ChatManager to recieve events related to chats.
addEntry(RosterEntry) - Method in class org.jivesoftware.smack.roster.RosterGroup
Adds a roster entry to this group.
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.
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
Adds a stanza(/packet) listener that will be notified of any new messages in the chat.
addOutgoingMessageInterceptor(MessageListener) - Method in class org.jivesoftware.smack.chat.ChatManager
Adds an interceptor which intercepts any messages sent through chats.
addOutgoingMessageInterceptor(MessageListener, StanzaFilter) - Method in class org.jivesoftware.smack.chat.ChatManager
 
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.

C

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.

D

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.RosterVer
 
entriesAdded(Collection<String>) - Method in interface org.jivesoftware.smack.roster.RosterListener
Called when roster entries are added.
entriesDeleted(Collection<String>) - Method in interface org.jivesoftware.smack.roster.RosterListener
Called when a roster entries are removed.
entriesUpdated(Collection<String>) - 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
 
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

fromString(String) - Static method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemStatus
 

G

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
 

H

hashCode() - Method in class org.jivesoftware.smack.chat.Chat
 
hashCode() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
 
hashCode() - Method in class org.jivesoftware.smack.roster.RosterEntry
 

I

init(File) - Static method in class org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore
Creates a new roster store on disk
INSTANCE - Static variable in class org.jivesoftware.smack.roster.packet.RosterVer
 
INSTANCE - Static variable in class org.jivesoftware.smack.roster.provider.RosterPacketProvider
 
isLoaded() - Method in class org.jivesoftware.smack.roster.Roster
Check if the roster is loaded.
isNormalIncluded() - Method in class org.jivesoftware.smack.chat.ChatManager
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(String) - Method in class org.jivesoftware.smack.roster.Roster
Check if the given JID is subscribed to the user's presence.
Item(String, String) - Constructor for class org.jivesoftware.smack.roster.packet.RosterPacket.Item
Creates a new roster item.

N

NAMESPACE - Static variable in class org.jivesoftware.smack.roster.packet.RosterPacket
 
NAMESPACE - Static variable in class org.jivesoftware.smack.roster.packet.RosterVer
 

O

onRosterLoaded(Roster) - Method in interface org.jivesoftware.smack.roster.RosterLoadedListener
Called when the Roster was loaded successfully.
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
 
org.jivesoftware.smack.im - package org.jivesoftware.smack.im
 
org.jivesoftware.smack.roster - package org.jivesoftware.smack.roster
 
org.jivesoftware.smack.roster.packet - package org.jivesoftware.smack.roster.packet
 
org.jivesoftware.smack.roster.provider - package org.jivesoftware.smack.roster.provider
 
org.jivesoftware.smack.roster.rosterstore - package org.jivesoftware.smack.roster.rosterstore
 

P

parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.roster.provider.RosterPacketProvider
 
parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.roster.provider.RosterVerStreamFeatureProvider
 
presenceChanged(Presence) - Method in interface org.jivesoftware.smack.roster.RosterListener
Called when the presence of a roster entry is changed.
processMessage(Chat, Message) - Method in interface org.jivesoftware.smack.chat.ChatMessageListener
 

R

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.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
 

S

sendMessage(String) - Method in class org.jivesoftware.smack.chat.Chat
Sends the specified text as a message to the other chat participant.
sendMessage(Message) - Method in class org.jivesoftware.smack.chat.Chat
Sends a message to the other chat participant.
setDefaultIsNormalIncluded(boolean) - Static method in class org.jivesoftware.smack.chat.ChatManager
 
setDefaultMatchMode(ChatManager.MatchMode) - Static method in class org.jivesoftware.smack.chat.ChatManager
 
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.
setItemStatus(RosterPacket.ItemStatus) - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
Sets the roster item status.
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
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.
setNormalIncluded(boolean) - Method in class org.jivesoftware.smack.chat.ChatManager
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.
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
 
SUBSCRIPTION_PENDING - Static variable in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemStatus
 

T

toString() - Method in class org.jivesoftware.smack.chat.Chat
 
toString() - Method in class org.jivesoftware.smack.roster.RosterEntry
 
toXML() - Method in class org.jivesoftware.smack.roster.packet.RosterPacket.Item
 
toXML() - Method in class org.jivesoftware.smack.roster.packet.RosterVer
 

U

UNSUBSCRIPTION_PENDING - Static variable in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemStatus
 

V

valueOf(String) - Static method in enum org.jivesoftware.smack.chat.ChatManager.MatchMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jivesoftware.smack.roster.packet.RosterPacket.ItemStatus
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.
values() - Static method in enum org.jivesoftware.smack.chat.ChatManager.MatchMode
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.ItemStatus
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.

W

waitUntilLoaded() - Method in class org.jivesoftware.smack.roster.Roster
 
A C D E F G H I N O P R S T U V W 
Skip navigation links