Package org.opennms.netmgt.icmp
Interface EchoPacket
-
- All Known Implementing Classes:
JnaPingReply,JnaPingRequest,Jni6PingRequest,Jni6PingResponse,JniPingRequest,JniPingResponse
public interface EchoPacket
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleelapsedTime(TimeUnit timeUnit)Returns the round trip time in the requested TimeUnit (note that a fractional value will be returned if necessary)intgetIdentifier()longgetReceivedTimeNanos()longgetSentTimeNanos()intgetSequenceNumber()longgetThreadId()booleanisEchoReply()
-
-
-
Method Detail
-
isEchoReply
boolean isEchoReply()
-
getIdentifier
int getIdentifier()
-
getSequenceNumber
int getSequenceNumber()
-
getThreadId
long getThreadId()
-
getReceivedTimeNanos
long getReceivedTimeNanos()
-
getSentTimeNanos
long getSentTimeNanos()
-
elapsedTime
double elapsedTime(TimeUnit timeUnit)
Returns the round trip time in the requested TimeUnit (note that a fractional value will be returned if necessary)
-
-