Package org.pcap4j.packet.factory.statik
Class StaticSsh2MessageNumberPacketFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.statik.StaticSsh2MessageNumberPacketFactory
-
- All Implemented Interfaces:
org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.Packet,org.pcap4j.packet.namednumber.Ssh2MessageNumber>
public final class StaticSsh2MessageNumberPacketFactory extends java.lang.Object implements org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.Packet,org.pcap4j.packet.namednumber.Ssh2MessageNumber>- Since:
- pcap4j 1.0.1
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description static StaticSsh2MessageNumberPacketFactorygetInstance()org.pcap4j.packet.PacketnewInstance(byte[] rawData, int offset, int length)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)and exists only for performance reason.org.pcap4j.packet.PacketnewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber number)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)and exists only for performance reason.org.pcap4j.packet.PacketnewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber... numbers)org.pcap4j.packet.PacketnewInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber number1, org.pcap4j.packet.namednumber.Ssh2MessageNumber number2)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)and exists only for performance reason.
-
-
-
Method Detail
-
getInstance
public static StaticSsh2MessageNumberPacketFactory getInstance()
- Returns:
- the singleton instance of StaticSsh2MessageNumberPacketFactory.
-
newInstance
public org.pcap4j.packet.Packet newInstance(byte[] rawData, int offset, int length)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)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.Packet newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber number)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)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.Packet newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber number1, org.pcap4j.packet.namednumber.Ssh2MessageNumber number2)This method is a variant ofnewInstance(byte[], int, int, Ssh2MessageNumber...)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.Packet newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.Ssh2MessageNumber... numbers)- Specified by:
newInstancein interfaceorg.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.Packet,org.pcap4j.packet.namednumber.Ssh2MessageNumber>
-
-