Lines Matching refs:domain
161 def __init__(self, username, domain, resource=''):
163 self.domain = domain
167 jid_str = "%s@%s" % (self.username, self.domain)
173 return Jid(self.username, self.domain)
278 domain = stanza.getAttribute('to')
279 if domain:
280 self._domain = domain
292 # The domain may be omitted.
296 # username, _, domain = username_domain.partition('@')
297 # if not domain:
298 # domain = self._domain
302 domain = username_domain[at_pos+1:]
305 domain = self._domain
306 return (username, domain)