Beispiel #1
0
 def __init__(self, jid=None, node='', domain='', resource=''):
     if jid:
         self._node, self._domain, self._resource = parse_jid(jid)
     else:
         self._node = node
         self._domain = domain
         self._resource = resource
Beispiel #2
0
 def __init__(self, jid=None, node='', domain='', resource=''):
     if jid:
         self.node, self.domain, self.resource = parse_jid(jid)
     else:
         self.node = node
         self.domain = domain
         self.resource = resource
Beispiel #3
0
 def domain(self):
     return parse_jid(self.jid)[1]
Beispiel #4
0
 def resource(self):
     return parse_jid(self.jid)[2]
Beispiel #5
0
 def node(self):
     return parse_jid(self.jid)[0]
Beispiel #6
0
 def resource(self):
     return parse_jid(self.jid)[2]
Beispiel #7
0
 def domain(self):
     return parse_jid(self.jid)[1]
Beispiel #8
0
 def node(self):
     return parse_jid(self.jid)[0]
Beispiel #9
0
 def __init__(self, jid=None, node='', domain='', resource=''):
     if jid:
         node, domain, resource = parse_jid(jid)
     JID.__init__(self, node=node, domain=domain, resource=resource)