Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ArpHeader . |
Modifier and Type | Method and Description |
---|---|
ArpHeader |
build() |
ArpHeader.Builder |
setDstIp(java.lang.String dstIp)
The destination IP address format: ipv4
|
ArpHeader.Builder |
setOpCode(java.lang.String opCode)
Possible values are:
ArpHeader.OP_CODE_REQUEST ArpHeader.OP_CODE_REPLY This field specifies
the nature of the Arp message being sent. |
ArpHeader.Builder |
setSrcIp(java.lang.String srcIp)
This field specifies the IP address of the sender.
|
public Builder()
ArpHeader
.public ArpHeader.Builder setDstIp(java.lang.String dstIp)
dstIp
- New value for the property.public ArpHeader.Builder setOpCode(java.lang.String opCode)
opCode
- New value for the property.public ArpHeader.Builder setSrcIp(java.lang.String srcIp)
srcIp
- New value for the property.public ArpHeader build()