java.lang.Object
org.pcap4j.packet.Ssh2NameList
- All Implemented Interfaces:
Serializable
- Since:
- pcap4j 1.0.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionSsh2NameList(byte[] rawData, int offset, int length) Constructor.Ssh2NameList(String... names) Ssh2NameList(List<String> list) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
length
private final int length -
list
-
-
Constructor Details
-
Ssh2NameList
- Parameters:
list- list
-
Ssh2NameList
- Parameters:
names- names
-
Ssh2NameList
Constructor. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
-
Method Details
-
calcLength
private int calcLength() -
getLength
public int getLength()- Returns:
- value of the length field
-
getList
- Returns:
- list
-
length
public int length()- Returns:
- length
-
getRawData
public byte[] getRawData()- Returns:
- rawData
-
toString
-
equals
-
hashCode
public int hashCode()
-