
|
Class Jabber::Roster::RosterItem
::Class Jabber::Roster::RosterItem::Resource
Creates a Roster for the session
Adds a listener to the roster to process roster changes
| &block: | [Block |event, rosteritem|] The block to process roster changes
|
| return: | [String] The listener id to use to deregister
|
Deletes a listener for processing roster messages
Adds a subscription to be tracked in the Roster
| jid: | [JID | String] The Jabber ID
|
| subscription: | [String] The subscription type (both)
|
| name: | [String] The nickname
|
| group: | [String = nil] The name of the group of the roster item.
|
Deletes a roster item based on the supplied Jabber ID
Iterates over each RosterItem
Dumps the Roster state as a string
| return: | [String] The roster state
|
Notifies listeners of a roster change event
| event: | [Integer] The roster event
|
| object: | [RosterItem] The modified item
|
|