Package org.opennms.netmgt.icmp.jna
Class V4Pinger
- java.lang.Object
-
- org.opennms.netmgt.icmp.jna.AbstractPinger<Inet4Address>
-
- org.opennms.netmgt.icmp.jna.V4Pinger
-
- All Implemented Interfaces:
Runnable
public class V4Pinger extends AbstractPinger<Inet4Address>
PingListener- Author:
- brozow
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.icmp.jna.AbstractPinger
m_throwable, NANOS_PER_MILLI
-
-
Constructor Summary
Constructors Constructor Description V4Pinger(int pingerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ping(Inet4Address addr, int identifier, int sequenceNumber, long threadId, long count, long interval, int packetSize)
void
run()
-
Methods inherited from class org.opennms.netmgt.icmp.jna.AbstractPinger
addPingReplyListener, closeSocket, getPingerId, getPingSocket, isFinished, notifyPingListeners, setThrowable, start, stop
-
-
-
-
Method Detail
-
run
public void run()
-
ping
public void ping(Inet4Address addr, int identifier, int sequenceNumber, long threadId, long count, long interval, int packetSize) throws InterruptedException
- Specified by:
ping
in classAbstractPinger<Inet4Address>
- Throws:
InterruptedException
-
-