HomeSort by relevance Sort by last modified time
    Searched full:roster (Results 1 - 25 of 65) sorted by null

1 2 3

  /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...]
RemoteRosterEntry.java 26 * Represents a roster item, which consists of a JID and , their name and
27 * the groups the roster item belongs to. This roster item does not belong
28 * to the local roster. Therefore, it does not persist in the server.<p>
30 * The idea of a RemoteRosterEntry is to be used as part of a roster exchange.
41 * Creates a new remote roster entry.
46 * the roster entry won't belong to a group.
75 * Returns an Iterator for the group names (as Strings) that the roster entry
87 * Returns a String array for the group names that the roster entry
RosterExchangeListener.java 27 * A listener that is fired anytime a roster exchange is received.
34 * Called when roster entries are received as part of a roster exchange.
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
PEPManager.java 86 * @param pepListener a roster exchange listener.
99 * @param pepListener a roster exchange listener.
118 // Send the message that contains the roster
123 * Fires roster exchange listeners.
137 // Listens for all roster exchange packets and fire the roster exchange listeners.
142 // Fire event for roster exchange listeners
  /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 &lt;message/&gt; element an &lt;x/&gt; child scoped by the 'jabber:x:roster' namespace. This
40 * &lt;x/&gt; element may contain one or more &lt;item/&gt; 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...]
PEPEvent.java 38 * Creates a new empty roster exchange package.
46 * Creates a new empty roster exchange package.
71 * According the specification the namespace is always "jabber:x:roster"
72 * (which is not to be confused with the 'jabber:iq:roster' namespace
88 * &lt;body&gt;This message contains roster items.&lt;/body&gt;
89 * &lt;x xmlns="jabber:x:roster"&gt;
PEPPubSub.java 59 * According the specification the namespace is always "jabber:x:roster"
60 * (which is not to be confused with the 'jabber:iq:roster' namespace
76 * &lt;body&gt;This message contains roster items.&lt;/body&gt;
77 * &lt;x xmlns="jabber:x:roster"&gt;
  /external/smack/src/org/jivesoftware/smack/
RosterListener.java 28 * A listener that is fired any time a roster is changed or the presence of
29 * a user in the roster is changed.
31 * @see Roster#addRosterListener(RosterListener)
37 * Called when roster entries are added.
39 * @param addresses the XMPP addresses of the contacts that have been added to the roster.
44 * Called when a roster entries are updated.
51 * Called when a roster entries are removed.
53 * @param addresses the XMPP addresses of the contacts that have been removed from the roster.
58 * Called when the presence of a roster entry is changed. Care should be taken
63 * user should not be shown in the roster (contact list) as offline since they'r
    [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...]
RosterStorage.java 8 * This is an interface for persistent roster storage needed to implement XEP-0237
17 * @return List object with all entries in local roster storage
27 * Returns the number of entries in this roster store
34 * @return local roster version
41 * @param ver the version this roster push contained
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...]
RosterGroup.java 34 * A group of roster entries.
36 * @see Roster#getGroup(String)
46 * Creates a new roster group instance.
69 * it will be removed from the roster. This means that all the references to this object will
111 * Returns the roster entry associated with the given XMPP address or
115 * @return the roster entry or <tt>null</tt> if it does not exist in the group.
121 // Roster entries never include a resource so remove the resource
138 * @param entry a roster entry.
158 * Adds a roster entry to this group. If the entry was unfiled then it will be removed from
161 * to receive the updated roster
    [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...]
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...]
  /external/smack/src/org/jivesoftware/smack/packet/
RosterPacket.java 29 * Represents XMPP roster packets.
42 * Adds a roster item to the packet.
44 * @param item a roster item.
61 * Returns the number of roster items in this roster packet.
63 * @return the number of roster items.
72 * Returns an unmodifiable collection for the roster items in the packet.
74 * @return an unmodifiable collection for the roster items in the packet.
84 buf.append("<query xmlns=\"jabber:iq:roster\" ");
99 * A roster item, which consists of a JID, their name, the type of subscription, an
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
rostermodule_unittest.cc 207 virtual void ContactChanged(XmppRosterModule* roster,
213 WriteContact(ss_, roster->GetRosterContact(index));
218 //! These contacts may have been added in response to the original roster
219 //! request or due to a "roster push" from the server.
220 virtual void ContactsAdded(XmppRosterModule* roster,
225 WriteContact(ss_, roster->GetRosterContact(index+i));
255 //! roster module
282 talk_base::scoped_ptr<XmppRosterModule> roster(XmppRosterModule::Create());
283 roster->set_roster_handler(&roster_handler);
285 // Configure the roster modul
    [all...]
rostermodule.h 54 //! These are the valid subscription states in a roster contact. This
162 //! Create a new roster contact
163 //! This is typically only used when doing a roster update/add
170 //! Sets the jid for the roster contact update
180 //! This is never settable and will be ignored when generating a roster
199 //! The raw xml for this roster contact
216 virtual void SubscriptionRequest(XmppRosterModule* roster,
222 virtual void SubscriptionError(XmppRosterModule* roster,
226 virtual void RosterError(XmppRosterModule* roster,
232 virtual void IncomingPresenceChanged(XmppRosterModule* roster,
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/agent/
AgentRoster.java 58 // The roster is marked as initialized when at least a single roster packet
73 // Listen for any roster packets.
80 // Send request for roster.
87 * Reloads the entire roster from the server. This is an asynchronous operation,
88 * which means the method will return immediately, and the roster will be
98 * Adds a listener to this roster. The listener will be fired anytime one or more
99 * changes to the roster are pushed from the server.
101 * @param listener an agent roster listener.
108 // Fire events for the existing entries and presences in the roster
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
AccessModel.java 33 /** Anyone in the specified roster group(s) may subscribe and retrieve items */
34 roster, enum constant in enum:AccessModel
  /external/chromium_org/third_party/libjingle/source/talk/examples/chat/
chatapp.h 49 // sending and receiving messages, and printing the roster.
79 // Prints a numbered list of the logged-in user's roster on the console.
83 // roster list of the user they wish to chat with, or a fully-qualified
92 // Sends our presence state to the chat server (and on to your roster list).
99 // Just a helper to select a roster item from a numbered list in the UI.
124 // Receives status messages for the logged-in user's roster (i.e.
157 // The list of JIDs for the people in the logged-in users roster.
  /external/chromium_org/third_party/libjingle/source/talk/examples/plus/
rostertask.h 43 // Roster items removed or updated. This can come from a push or a get
53 // Roster get
65 // Inner class for doing the roster get
libjingleplus.h 86 /* Roster */
88 /* Called when we start refreshing the roster */
90 /* Called when we have the entire roster */
92 /* Called when an item on the roster is created or updated */
94 /* Called when an item on the roster is removed */
134 /* Set Roster */
  /external/chromium_org/third_party/libjingle/source/talk/examples/plus/testutil/
libjingleplus_test_notifier.h 68 std::cout << "Roster item: " << ri.jid().Str() << std::endl;
72 std::cout << "Roster item removed: " << ri.jid().Str() << std::endl;
92 std::cout << "Refreshing roster." << std::endl;
96 std::cout << "Roster refreshed." << std::endl;
  /external/chromium_org/chrome/test/functional/gtalk/
test_basic.py 28 """Download Talk extension and open the roster."""
61 """Download the extension, open the roster, and sign in"""
62 # Open the roster.
105 # Wait for the roster container iframe.
109 msg='Timed out waiting for roster container iframe.')
113 msg='Timed out waiting for roster iframe.')
115 # Wait for the roster iframe to load.
124 msg='Timed out waiting for "Send a message to..." label in roster DOM.')
126 # Wait for "chatpinger@appspot.com" to appear in the roster.
130 msg='Timed out waiting for chatpinger@appspot.com in roster DOM.'
    [all...]

Completed in 1055 milliseconds

1 2 3