Class Jabber::Roster::RosterItem
[RW]
:group
The group name for this account
[RW]
:jid
The Jabber ID (Jabber::JID )
[RW]
:name
The (nick)name of this account
[R]
:roster
The Jabber::Roster instance
[RW]
:subscription
The subscription type
Class Jabber::Roster::RosterItem::Resource
Constructs a RosterItem
roster: [Jabber::Roster ] The roster instance
subscription: [String] The subscription type
name: [String] The (nick)name
group: [String=nil] The group this account belongs to
Retrieves the VCard for this (RosterItem )
account. This method blocks until the the vcard is returned.
Adds a new resource to the Roster item and notifies listeners
resourceName: [String] The name of the resource
show: [String] How the resource is to be viewed
status: [String] The status message
return: [Jabber::Roster :RosterItem::Resource ] The new Resource
instance
Deletes a resource from this roster item and notifies listeners
Retrieves a resource object
Iterates over the list of available resources
Dumps the roster item
return: [String] The roster item dumped as a String