Class Jabber::Discovery::IqQueryDiscoItems
In: lib/xmpp4r/discovery/iq/discoitems.rb
Parent: IqQuery

Class for handling Service Discovery queries, items (JEP 0030)

This <query/> may contain multiple Item elements, describing multiple services to be browsed by Jabber clients. These may then get further information about these items by querying IqQueryDiscoInfo and further sub-items by querying IqQueryDiscoItems.

Methods

node   node=   set_node  

Public Instance methods

Get the queried Service Discovery node or nil

A Service Discovery node is not a JID node, this may be a bit confusing. It‘s just to make Service Discovery browsing a bit more structured.

[Source]

    # File lib/xmpp4r/discovery/iq/discoitems.rb, line 28
28:       def node
29:         attributes['node']
30:       end

Get the queried Service Discovery node or nil

[Source]

    # File lib/xmpp4r/discovery/iq/discoitems.rb, line 34
34:       def node=(val)
35:         attributes['node'] = val
36:       end

Get the queried Service Discovery node or nil (chaining-friendly)

[Source]

    # File lib/xmpp4r/discovery/iq/discoitems.rb, line 41
41:       def set_node(val)
42:         self.node = val
43:         self
44:       end

[Validate]