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

Class ZeroconfListener

source code


Instance Methods [hide private]
 
__init__(self, port, conn_holder)
Handle all incomming connections on ('0.0.0.0', port)
source code
 
bind(self) source code
 
pollend(self)
Called when we stop listening on (host, port)
source code
 
pollin(self)
Accept a new incomming connection and notify queue
source code
 
disconnect(self, message='')
Free all resources, we are not listening anymore
source code
 
accept_conn(self)
Accept a new incoming connection
source code

Inherited from xmpp.idlequeue.IdleObject: pollout, read_timeout

Instance Variables [hide private]

Inherited from xmpp.idlequeue.IdleObject: fd

Method Details [hide private]

__init__(self, port, conn_holder)
(Constructor)

source code 
Handle all incomming connections on ('0.0.0.0', port)
Overrides: xmpp.idlequeue.IdleObject.__init__

bind(self)

source code 

pollend(self)

source code 
Called when we stop listening on (host, port)
Overrides: xmpp.idlequeue.IdleObject.pollend

pollin(self)

source code 
Accept a new incomming connection and notify queue
Overrides: xmpp.idlequeue.IdleObject.pollin

disconnect(self, message='')

source code 
Free all resources, we are not listening anymore

accept_conn(self)

source code 
Accept a new incoming connection