Package common :: Package zeroconf :: Module connection_handlers_zeroconf :: Class ConnectionVcard
[hide private]
[frames] | no frames]

Class ConnectionVcard

source code


Instance Methods [hide private]
 
add_sha(self, p, send_caps=True) source code
 
add_caps(self, p) source code
 
request_vcard(self, jid=None, is_fake_jid=False)
Request the VCARD
source code
 
send_vcard(self, vcard) source code

Inherited from connection_handlers.ConnectionVcard: __init__, get_cached_vcard

Method Details [hide private]

add_sha(self, p, send_caps=True)

source code 
Overrides: connection_handlers.ConnectionVcard.add_sha

add_caps(self, p)

source code 

request_vcard(self, jid=None, is_fake_jid=False)

source code 

Request the VCARD

If groupchat_jid is not null, it means we request a vcard to a fake jid, like in private messages in groupchat. jid can be the real jid of the contact, but we want to consider it comes from a fake jid

Overrides: connection_handlers.ConnectionVcard.request_vcard
(inherited documentation)

send_vcard(self, vcard)

source code 
Overrides: connection_handlers.ConnectionVcard.send_vcard