Trees | Index | Help |
|
---|
Package ZenStatus :: Module Ping :: Class Ping |
|
object
--+
|
Ping
PingThread
Method Summary | |
---|---|
__init__(self,
tries,
timeout,
chunkSize,
fileDescriptor)
| |
__del__(self)
| |
check to see if pingJobs in jobqueue have timed out | |
unregister poll and close socket | |
make an ICMP socket to use for sending and receiving pings | |
eventLoop(self,
sendqueue)
| |
Perform async ping of a list of ips returns (goodips, badips). | |
PingJob has failed remove from jobqueue. | |
PingJob completed successfully. | |
receive a packet and decode its header | |
Take a pingjob and send an ICMP packet for it | |
send numbtosend number of pingJobs and re | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Method Details |
---|
checkTimeouts(self)check to see if pingJobs in jobqueue have timed out |
closePingSocket(self)unregister poll and close socket |
createPingSocket(self)make an ICMP socket to use for sending and receiving pings |
ping(self, ips)Perform async ping of a list of ips returns (goodips, badips). |
pingJobFail(self, pj)PingJob has failed remove from jobqueue. |
pingJobSucceed(self, pj)PingJob completed successfully. |
recvPacket(self)receive a packet and decode its header |
sendPacket(self, pingJob)Take a pingjob and send an ICMP packet for it |
sendPackets(self)send numbtosend number of pingJobs and re |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |