|
__init__(self,
jid=None,
node='
' ,
domain='
' ,
resource='
' )
JID can be specified as string (jid argument) or as separate parts |
source code
|
|
|
|
|
setNode(self,
node)
Set the node part of the JID to new value. Specify None to remove
the node part |
source code
|
|
|
|
|
|
|
|
|
setResource(self,
resource)
Set the resource part of the JID to new value. Specify None to remove the
resource part |
source code
|
|
|
|
|
__eq__(self,
other)
Compare the JID to another instance or to string for equality |
source code
|
|
|
__ne__(self,
other)
Compare the JID to another instance or to string for non-equality |
source code
|
|
|
|
|
|
|
__hash__(self)
Produce hash of the JID, Allows to use JID objects as keys of the
dictionary |
source code
|
|