Home | History | Annotate | Download | only in smackx

Lines Matching refs:roster

28 import org.jivesoftware.smack.Roster;
40 * Manages Roster exchanges. A RosterExchangeManager provides a high level access to send
41 * rosters, roster groups and roster entries to XMPP clients. It also provides an easy way
53 private PacketFilter packetFilter = new PacketExtensionFilter("x", "jabber:x:roster");
57 * Creates a new roster exchange manager.
67 * Adds a listener to roster exchanges. The listener will be fired anytime roster entries
70 * @param rosterExchangeListener a roster exchange listener.
81 * Removes a listener from roster exchanges. The listener will be fired anytime roster
84 * @param rosterExchangeListener a roster exchange listener..
93 * Sends a roster to userID. All the entries of the roster will be sent to the
96 * @param roster the roster to send
97 * @param targetUserID the user that will receive the roster entries
99 public void send(Roster roster, String targetUserID) {
100 // Create a new message to send the roster
103 RosterExchange rosterExchange = new RosterExchange(roster);
106 // Send the message that contains the roster
111 * Sends a roster entry to userID.
113 * @param rosterEntry the roster entry to send
114 * @param targetUserID the user that will receive the roster entries
117 // Create a new message to send the roster
124 // Send the message that contains the roster
129 * Sends a roster group to userID. All the entries of the group will be sent to the
132 * @param rosterGroup the roster group to send
133 * @param targetUserID the user that will receive the roster entries
136 // Create a new message to send the roster
145 // Send the message that contains the roster
150 * Fires roster exchange listeners.
164 // Listens for all roster exchange packets and fire the roster exchange listeners.
169 (RosterExchange) message.getExtension("x", "jabber:x:roster");
170 // Fire event for roster exchange listeners