Class that provides asyncronous icmp ping.
|
|
|
|
|
createPingSocket(self,
sock)
make an ICMP socket to use for sending and receiving pings |
source code
|
|
|
|
|
|
|
|
|
|
|
sendPacket(self,
pingJob)
Take a pingjob and send an ICMP packet for it |
source code
|
|
|
recvPackets(self)
receive a packet and decode its header |
source code
|
|
|
pingJobSucceed(self,
pj)
PingJob completed successfully. |
source code
|
|
|
pingJobFail(self,
pj)
PingJob has failed remove from jobqueue. |
source code
|
|
|
|
|
|
|
|
|
ping(self,
ip)
Ping the ip and return the result in a deferred |
source code
|
|