Package org.pcap4j.packet.factory.statik
Class StaticSctpChunkFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.statik.StaticSctpChunkFactory
-
- All Implemented Interfaces:
org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.SctpPacket.SctpChunk,org.pcap4j.packet.namednumber.SctpChunkType>
public final class StaticSctpChunkFactory extends java.lang.Object implements org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.SctpPacket.SctpChunk,org.pcap4j.packet.namednumber.SctpChunkType>- Since:
- pcap4j 1.6.6
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description static StaticSctpChunkFactorygetInstance()org.pcap4j.packet.SctpPacket.SctpChunknewInstance(byte[] rawData, int offset, int length)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.org.pcap4j.packet.SctpPacket.SctpChunknewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType number)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.org.pcap4j.packet.SctpPacket.SctpChunknewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType... numbers)org.pcap4j.packet.SctpPacket.SctpChunknewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType number1, org.pcap4j.packet.namednumber.SctpChunkType number2)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.
-
-
-
Method Detail
-
getInstance
public static StaticSctpChunkFactory getInstance()
- Returns:
- the singleton instance of StaticSctpChunkFactory.
-
newInstance
public org.pcap4j.packet.SctpPacket.SctpChunk newInstance(byte[] rawData, int offset, int length)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.- Parameters:
rawData- seePacketFactory.newInstance(byte[], int, int, N...).offset- seePacketFactory.newInstance(byte[], int, int, N...).length- seePacketFactory.newInstance(byte[], int, int, N...).- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...).
-
newInstance
public org.pcap4j.packet.SctpPacket.SctpChunk newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType number)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.- Parameters:
rawData- seePacketFactory.newInstance(byte[], int, int, N...).offset- seePacketFactory.newInstance(byte[], int, int, N...).length- seePacketFactory.newInstance(byte[], int, int, N...).number- seePacketFactory.newInstance(byte[], int, int, N...).- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...).
-
newInstance
public org.pcap4j.packet.SctpPacket.SctpChunk newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType number1, org.pcap4j.packet.namednumber.SctpChunkType number2)This method is a variant ofnewInstance(byte[], int, int, SctpChunkType...)and exists only for performance reason.- Parameters:
rawData- seePacketFactory.newInstance(byte[], int, int, N...).offset- seePacketFactory.newInstance(byte[], int, int, N...).length- seePacketFactory.newInstance(byte[], int, int, N...).number1- seePacketFactory.newInstance(byte[], int, int, N...).number2- seePacketFactory.newInstance(byte[], int, int, N...).- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...).
-
newInstance
public org.pcap4j.packet.SctpPacket.SctpChunk newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.SctpChunkType... numbers)- Specified by:
newInstancein interfaceorg.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.SctpPacket.SctpChunk,org.pcap4j.packet.namednumber.SctpChunkType>
-
-