public class JnaIcmpMessenger extends Object implements org.opennms.protocols.rt.Messenger<JnaPingRequest,JnaPingReply>, PingReplyListener
| Constructor and Description |
|---|
JnaIcmpMessenger(int pingerId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isV4Available() |
boolean |
isV6Available() |
void |
onPingReply(InetAddress address,
EchoPacket packet) |
void |
sendRequest(JnaPingRequest request) |
void |
start(Queue<JnaPingReply> replyQueue) |
public boolean isV4Available()
public boolean isV6Available()
public void sendRequest(JnaPingRequest request)
sendRequest in interface org.opennms.protocols.rt.Messenger<JnaPingRequest,JnaPingReply>public void start(Queue<JnaPingReply> replyQueue)
start in interface org.opennms.protocols.rt.Messenger<JnaPingRequest,JnaPingReply>public void onPingReply(InetAddress address, EchoPacket packet)
onPingReply in interface PingReplyListenerCopyright © 2015. All rights reserved.