Interface SctpPacket.SctpChunk

All Superinterfaces:
Serializable
All Known Implementing Classes:
IllegalSctpChunk, UnknownSctpChunk
Enclosing class:
SctpPacket

public static interface SctpPacket.SctpChunk extends Serializable
The interface representing an SCTP Chunk Field. If you use
invalid reference
PropertiesBasedPacketFactory
, classes which implement this interface must implement the following method: public static SctpChunk newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
Since:
pcap4j 1.6.6
See Also:
  • Method Details

    • getType

      SctpChunkType getType()
      Returns:
      type
    • length

      int length()
      Returns:
      length
    • getRawData

      byte[] getRawData()
      Returns:
      raw data