Package common :: Package zeroconf :: Module client_zeroconf :: Class P2PClient
[hide private]
[frames] | no frames]

Class P2PClient

source code


Instance Methods [hide private]
 
__init__(self, _sock, host, port, conn_holder, stanzaqueue=[], to=None, on_ok=None, on_not_ok=None) source code
 
add_stanza(self, stanza, is_message=False) source code
 
on_message_sent(self, connection_id) source code
 
on_connect(self, conn) source code
 
StreamInit(self)
Send an initial stream header
source code
 
send_stream_header(self) source code
 
_check_stream_start(self, ns, tag, attrs) source code
 
on_disconnect(self) source code
 
force_disconnect(self) source code
 
_on_receive_document_attrs(self, data) source code
 
remove_timeout(self) source code
 
_register_handlers(self) source code

Inherited from xmpp.idlequeue.IdleObject: pollend, pollin, pollout, read_timeout

Instance Variables [hide private]

Inherited from xmpp.idlequeue.IdleObject: fd

Method Details [hide private]

__init__(self, _sock, host, port, conn_holder, stanzaqueue=[], to=None, on_ok=None, on_not_ok=None)
(Constructor)

source code 
Overrides: xmpp.idlequeue.IdleObject.__init__

add_stanza(self, stanza, is_message=False)

source code 

on_message_sent(self, connection_id)

source code 

on_connect(self, conn)

source code 

StreamInit(self)

source code 
Send an initial stream header

send_stream_header(self)

source code 

_check_stream_start(self, ns, tag, attrs)

source code 

on_disconnect(self)

source code 

force_disconnect(self)

source code 

_on_receive_document_attrs(self, data)

source code 

remove_timeout(self)

source code 

_register_handlers(self)

source code