

def nodes(self, jid_to):
    assert (self.xmlstream != None)
    iqnode = IQMessage(jid_to, self.jid.userhost(), 'get', ns=None)
    iqnode.addChild(Message('query', ns='http://jabber.org/protocol/disco#items'))
    log.msg(('Requesting available nodes %s' % iqnode.toXml()))
    return self.xmlstream.send(iqnode)

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent.nodes/original