jid – JID helper class

JID class

class headstock.lib.jid.JID(node, domain, resource=None)

Jabber Identifier helper class.

node JID node part

domain JID domain part

resource None - JID resource

domainid()
hashed
Returns a sha1 hash of of the JID.
nodeid()
static parse(token)
Parses a string representing a JID and returns an instance of headstock.lib.jid.JID or None if it failed.
ressourceid()

Table Of Contents

Previous topic

stanza – Stanza helper class

Next topic

error – Error class handler

This Page