org.opennms.netmgt.icmp
Interface EchoPacket

All Known Implementing Classes:
JnaPingReply, JnaPingRequest, Jni6PingRequest, Jni6PingResponse, JniPingRequest, JniPingResponse

public interface EchoPacket


Method Summary
 double elapsedTime(TimeUnit timeUnit)
          Returns the round trip time in the requested TimeUnit (note that a fractional value will be returned if necessary)
 int getIdentifier()
           
 long getReceivedTimeNanos()
           
 long getSentTimeNanos()
           
 int getSequenceNumber()
           
 long getThreadId()
           
 boolean isEchoReply()
           
 

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)



Copyright © 2011. All Rights Reserved.