|
Class Jabber::Roster::RosterItem::Resource
|
|
The Resource class embodies a Resource endpoint in Jabber. The resource endpoint it what
maintains a status (not an account).
[R] |
:name |
The name of the resource
|
[R] |
:show |
How the resource should be shown
|
[R] |
:status |
The status message of the resource
|
Constructs a new Resource instance
item: | [Jabber::Roster::RosterItem] The roster
item this resource belongs to
|
name: | [String] The resource name
|
show: | [String] How the resource should be shown
|
status: | [String] The status message of the resource
|
Updates the state of a resource and notifies listeners.
show: | [String] How the resource should be shown
|
status: | [String] The status message of the resource
|
Dumps the Resource as a string
return: | [String] The resource encoded as a string.
|
|