| Class | Jabber::JID |
| In: |
lib/jabber4r/jid.rb
|
| Parent: | Object |
The Jabber ID class is used to hold a parsed jabber identifier (account+host+resource)
| host | [RW] | The host name (or IP address) |
| node | [RW] | The node (account) |
| resource | [RW] | The resource id |
Constructs a JID from the supplied string of the format:
node@host[/resource] (e.g. "rich_kilmer@jabber.com/laptop")
| id: | [String] The jabber id string to parse |
Evalutes whether the node, resource and host are the same
| other: | [Jabber::JID] The other jabber id |
| return: | [Boolean] True if they match |