/external/smack/src/org/jivesoftware/smackx/packet/ |
RosterExchange.java | 23 import org.jivesoftware.smack.Roster; 35 * Represents XMPP Roster Item Exchange packets.<p> 37 * The 'jabber:x:roster' namespace (which is not to be confused with the 'jabber:iq:roster' 38 * namespace) is used to send roster items from one client to another. A roster item is sent by 39 * adding to the <message/> element an <x/> child scoped by the 'jabber:x:roster' namespace. This 40 * <x/> element may contain one or more <item/> children (one for each roster item to be sent).<p> 49 * into one or more roster groups. 58 * Creates a new empty roster exchange package [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
RosterExchangeManager.java | 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 [all...] |
GatewayManager.java | 10 import org.jivesoftware.smack.Roster; 43 private Roster roster; field in class:GatewayManager 56 this.roster = connection.getRoster(); 102 * Loads all getways which are in the users roster, but are not supplied by the 107 if(roster!=null){ 108 for(RosterEntry entry : roster.getEntries()){ 149 * Returns a list of gateways the user has in his roster, but which are offered by
|
Gateway.java | 11 import org.jivesoftware.smack.Roster; 35 private Roster roster; field in class:Gateway 43 this.roster = connection.getRoster(); 232 roster.createEntry(entityJID, getIdentity().getName(), new String[]{}); 273 RosterEntry gatewayEntry = roster.getEntry(entityJID); 274 roster.removeEntry(gatewayEntry); 321 roster.contains(presence.getFrom()) &&
|
/external/smack/src/org/jivesoftware/smack/ |
RosterEntry.java | 29 * Each user in your roster is represented by a roster entry, which contains the user's 40 final private Roster roster; field in class:RosterEntry 44 * Creates a new roster entry. 53 RosterPacket.ItemStatus status, Roster roster, Connection connection) { 58 this.roster = roster; 111 * Returns an unmodifiable collection of the roster groups that this entry belongs to [all...] |
BOSHConnection.java | 35 import org.jivesoftware.smack.Roster; 115 * The roster maybe also called buddy list holds the list of the users contacts. 117 private Roster roster = null; field in class:BOSHConnection 242 public Roster getRoster() { 243 if (roster == null) { 247 roster.reload(); 249 // If this is the first time the user has asked for the roster after calling 250 // login, we want to wait for the server to send back the user's roster. 252 // roster operations are asynchronous, although they'll still have to liste [all...] |
Roster.java | 37 * Represents a user's roster, which is the collection of users a person receives 38 * presence updates for. Roster items are categorized into groups for easier management.<p> 50 public class Roster { 53 * The default subscription processing mode to use when a Roster is created. By default 65 // The roster is marked as initialized when at least a single roster packet 75 * Returns the default subscription processing mode to use when a new Roster is created. The 87 * Sets the default subscription processing mode to use when a new Roster is created. The 98 Roster(final Connection connection, RosterStorage persistentStorage){ 104 * Creates a new roster [all...] |
XMPPConnection.java | 95 Roster roster = null; field in class:XMPPConnection 254 // Create the roster if it is not a reconnection or roster already created by getRoster() 255 if (this.roster == null) { 257 this.roster = new Roster(this); 260 this.roster = new Roster(this,rosterStorage); 264 this.roster.reload() [all...] |
Connection.java.orig | 191 * The permanent storage for the roster 359 * not interested in loading its roster upon login then use 386 * not interested in loading its roster upon login then use 447 * Returns the roster for the user. 450 * the server or is logged in anonymously all modifying methods of the returned roster object 451 * like {@link Roster#createEntry(String, String, String[])}, 452 * {@link Roster#removeEntry(RosterEntry)} , etc. except adding or removing 455 * @return the user's roster. 457 public abstract Roster getRoster(); 460 * Set the store for the roster of this connection. If you set the roster storag [all...] |
Connection.java | 191 * The permanent storage for the roster 359 * not interested in loading its roster upon login then use 386 * not interested in loading its roster upon login then use 447 * Returns the roster for the user. 450 * the server or is logged in anonymously all modifying methods of the returned roster object 451 * like {@link Roster#createEntry(String, String, String[])}, 452 * {@link Roster#removeEntry(RosterEntry)} , etc. except adding or removing 455 * @return the user's roster. 457 public abstract Roster getRoster(); 460 * Set the store for the roster of this connection. If you set the roster storag [all...] |