public interface EchoPacket
Modifier and Type | Method and Description |
---|---|
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() |
boolean isEchoReply()
int getIdentifier()
int getSequenceNumber()
long getThreadId()
long getReceivedTimeNanos()
long getSentTimeNanos()
double elapsedTime(TimeUnit timeUnit)
Copyright © 2021. All rights reserved.