Trees | Index | Help |
|
---|
Package ZenStatus :: Module AsyncPing :: Class Ping |
|
object
--+
|
Ping
Method Summary | |
---|---|
__init__(self,
tries,
timeout,
sock)
| |
checkTimeout(self,
pj)
| |
connectionLost(self,
unused)
| |
make an ICMP socket to use for sending and receiving pings | |
doRead(self)
| |
fileno(self)
| |
jobCount(self)
| |
logPrefix(self)
| |
Ping the ip and return the result in a deferred | |
PingJob has failed remove from jobqueue. | |
PingJob completed successfully. | |
receive a packet and decode its header | |
reportPingJob(self,
pj)
| |
Take a pingjob and send an ICMP packet for it | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Method Details |
---|
createPingSocket(self, sock)make an ICMP socket to use for sending and receiving pings |
ping(self, ip)Ping the ip and return the result in a deferred |
pingJobFail(self, pj)PingJob has failed remove from jobqueue. |
pingJobSucceed(self, pj)PingJob completed successfully. |
recvPackets(self)receive a packet and decode its header |
sendPacket(self, pingJob)Take a pingjob and send an ICMP packet for it |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 | http://epydoc.sf.net |