|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.veraxsystems.icmp.jni.IcmpEchoResponse
public class IcmpEchoResponse
Class defines content of a data received as a response of ICMP EchoRequest.
It contains only important attributes of ICMP message that are
sufficient to recognize result of ICMP EchoRequest processing (getStatus()
).
Constructor Summary | |
---|---|
IcmpEchoResponse()
Constructor for ICMP response. |
Method Summary | |
---|---|
byte[] |
getData()
Get data received in ICMP response message. |
java.net.InetAddress |
getDestinationAddress()
Get address of host the ICMP EchoRequest was sent to. |
int |
getMessageId()
Get ICMP EchoRequest message id combined as integer from identifier+sequenceNumber (see RFC792). |
long |
getResponseTime()
Get time response was received. |
java.net.InetAddress |
getSourceAddress()
Get address of host that was a source of ICMP response. |
IcmpStatus |
getStatus()
Get status of ICMP response. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IcmpEchoResponse()
Method Detail |
---|
public byte[] getData()
EchoReply
message is received.
public int getMessageId()
public java.net.InetAddress getSourceAddress()
public java.net.InetAddress getDestinationAddress()
public IcmpStatus getStatus()
public long getResponseTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |