Package org.opennms.jicmp.ip
Class ICMPEchoPacket
- java.lang.Object
-
- org.opennms.jicmp.ip.ICMPPacket
-
- org.opennms.jicmp.ip.ICMPEchoPacket
-
public class ICMPEchoPacket extends ICMPPacket
ICMPEchoReply- Author:
- brozow
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.jicmp.ip.ICMPPacket
ICMPPacket.Type
-
-
Field Summary
-
Fields inherited from class org.opennms.jicmp.ip.ICMPPacket
CHECKSUM_INDEX
-
-
Constructor Summary
Constructors Constructor Description ICMPEchoPacket(int size)
ICMPEchoPacket(ICMPPacket icmpPacket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
getContentBuffer()
int
getIdentifier()
int
getPacketLength()
int
getSequenceNumber()
void
setIdentifier(int id)
void
setSequenceNumber(int sn)
-
Methods inherited from class org.opennms.jicmp.ip.ICMPPacket
computeChecksum, getChecksum, getCode, getType, getUnsignedShort, makeUnsignedShort, setBytes, setChecksum, setCode, setType, setUnsignedShort, toDatagramPacket
-
-
-
-
Constructor Detail
-
ICMPEchoPacket
public ICMPEchoPacket(int size)
-
ICMPEchoPacket
public ICMPEchoPacket(ICMPPacket icmpPacket)
-
-
Method Detail
-
getContentBuffer
public java.nio.ByteBuffer getContentBuffer()
-
getPacketLength
public int getPacketLength()
-
getIdentifier
public int getIdentifier()
-
setIdentifier
public void setIdentifier(int id)
-
getSequenceNumber
public int getSequenceNumber()
-
setSequenceNumber
public void setSequenceNumber(int sn)
-
-