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