Interface SctpPacket.SctpChunk
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
IllegalSctpChunk, UnknownSctpChunk
- Enclosing class:
SctpPacket
The interface representing an SCTP Chunk Field. If you use
, classes which implement this interface must implement the
following method:
invalid reference
PropertiesBasedPacketFactory
public static SctpChunk newInstance(byte[] rawData, int offset, int
length) throws IllegalRawDataException- Since:
- pcap4j 1.6.6
- See Also:
-
Method Summary
-
Method Details
-
getType
SctpChunkType getType()- Returns:
- type
-
length
int length()- Returns:
- length
-
getRawData
byte[] getRawData()- Returns:
- raw data
-