Class Ssh2DisconnectPacket.Builder
java.lang.Object
org.pcap4j.packet.AbstractPacket.AbstractBuilder
org.pcap4j.packet.Ssh2DisconnectPacket.Builder
- All Implemented Interfaces:
Iterable<Packet.Builder>, Packet.Builder
- Enclosing class:
Ssh2DisconnectPacket
- Since:
- pcap4j 1.0.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Ssh2Stringprivate Ssh2Stringprivate Ssh2DisconnectionReasonCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a packet object using values set to this object.description(Ssh2String description) languageTag(Ssh2String languageTag) reasonCode(Ssh2DisconnectionReasonCode reasonCode) Methods inherited from class AbstractPacket.AbstractBuilder
get, getOuterOf, getPayloadBuilder, iterator, payloadBuilderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
reasonCode
-
description
-
languageTag
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
reasonCode
- Parameters:
reasonCode- reasonCode- Returns:
- this Builder object for method chaining.
-
description
- Parameters:
description- description- Returns:
- this Builder object for method chaining.
-
languageTag
- Parameters:
languageTag- languageTag- Returns:
- this Builder object for method chaining.
-
build
Description copied from interface:Packet.BuilderBuild a packet object using values set to this object.- Specified by:
buildin interfacePacket.Builder- Specified by:
buildin classAbstractPacket.AbstractBuilder- Returns:
- a new Packet object
-