| Trees | Index | Help |
|
|---|
| Package ZenStatus :: Module PingThread :: Class PingThread |
|
object --+
|
Ping --+
|
object --+ |
| |
_Verbose --+ |
| |
Thread --+
|
PingThread
| Method Summary | |
|---|---|
__init__(self,
reportqueue,
tries,
timeout,
chunkSize)
| |
Pass pingJobs back to our master thread when done. | |
Start this thread. | |
Send any packets that are in our queue up to numbtosend. | |
Called from main thread to add new pingjob to send queue. | |
stop(self)
| |
Inherited from Thread:
__repr__,
getName,
isAlive,
isDaemon,
join,
setDaemon,
setName,
start
Inherited from Ping:
__del__,
checkTimeouts,
closePingSocket,
createPingSocket,
eventLoop,
ping,
pingJobFail,
pingJobSucceed,
recvPacket,
sendPacket
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
| |
| Method Details |
|---|
reportPingJob(self, pj)Pass pingJobs back to our master thread when done. |
run(self)Start this thread. Exit by setting self.morepkts.
|
sendPackets(self)Send any packets that are in our queue up to numbtosend.
|
sendPing(self, pj)Called from main thread to add new pingjob to send queue. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |