Uses of Class
rocks.xmpp.im.roster.model.Contact
-
Packages that use Contact Package Description rocks.xmpp.extensions.rosterx Provides classes for XEP-0144: Roster Item Exchange.rocks.xmpp.im.roster Provides classes for roster management.rocks.xmpp.im.roster.model Provides XML schema implementations of the Roster Namespace. -
-
Uses of Contact in rocks.xmpp.extensions.rosterx
Methods in rocks.xmpp.extensions.rosterx with parameters of type Contact Modifier and Type Method Description AsyncResult<Void>
ContactExchangeManager. suggestContactAddition(Jid jid, Contact... contacts)
Suggests the addition of one or more contacts to another user. -
Uses of Contact in rocks.xmpp.im.roster
Methods in rocks.xmpp.im.roster that return Contact Modifier and Type Method Description Contact
RosterManager. getContact(Jid jid)
Gets a contact by its JID.Methods in rocks.xmpp.im.roster that return types with arguments of type Contact Modifier and Type Method Description List<Contact>
RosterEvent. getAddedContacts()
Gets the added contacts, which have been added since the last roster push or which have been initially set by the first roster result.Collection<Contact>
RosterManager. getContacts()
Gets the contacts.List<Contact>
RosterEvent. getRemovedContacts()
Gets the removed contacts, i.e. contacts which were on the roster, but now are no longer on the roster.Collection<Contact>
RosterManager. getUnaffiliatedContacts()
Gets the contacts, which are not affiliated to any group.List<Contact>
RosterEvent. getUpdatedContacts()
Gets the updated contacts, i.e. if an existing contact has changed its name, groups or subscription state.Methods in rocks.xmpp.im.roster with parameters of type Contact Modifier and Type Method Description AsyncResult<Void>
RosterManager. addContact(Contact contact, boolean requestSubscription, String status)
Adds a contact to the roster and optionally also sends a subscription request to it.AsyncResult<Void>
RosterManager. updateContact(Contact contact)
Updates a contact in the roster. -
Uses of Contact in rocks.xmpp.im.roster.model
Methods in rocks.xmpp.im.roster.model that return Contact Modifier and Type Method Description static Contact
Contact. removeContact(Jid jid)
Creates a new contact to send to the server for removal.Contact
Contact. withGroups(String... groups)
Creates an identical contact with only the groups changed.Contact
Contact. withGroups(Collection<String> groups)
Creates an identical contact with only the groups changed.Contact
Contact. withName(String name)
Creates an identical contact with only the name changed.Contact
Contact. withoutGroups()
Creates an identical contact without groups.Contact
Contact. withoutName()
Creates an identical contact without name.Methods in rocks.xmpp.im.roster.model that return types with arguments of type Contact Modifier and Type Method Description Collection<Contact>
ContactGroup. getContacts()
Gets the contacts in this group.List<Contact>
Roster. getContacts()
Gets the contacts.Methods in rocks.xmpp.im.roster.model with parameters of type Contact Modifier and Type Method Description int
Contact. compareTo(Contact o)
Compares two contacts with each other by first comparing their names, then their subscription states and eventually their pending states.Constructors in rocks.xmpp.im.roster.model with parameters of type Contact Constructor Description Roster(Contact... contacts)
Constructor parameters in rocks.xmpp.im.roster.model with type arguments of type Contact Constructor Description Roster(Collection<Contact> contacts)
Roster(Collection<Contact> contacts, String version)
-