Constructor and Description |
---|
DhcpV6.Builder()
Create a new builder using the defaults:
|
DhcpV6.Builder(DhcpV6 dhcp)
Copy constructor builder initialized from the passed in protocol.
|
Modifier and Type | Method and Description |
---|---|
DhcpV6 |
build()
Creates a new protocol instance from this builder.
|
DhcpV6.Builder |
msgType(DhcpV6.MessageType msgType)
Sets the message type.
|
DhcpV6.Builder |
options(DhcpOptionV6[] options)
Sets the options array.
|
DhcpV6.Builder |
transId(int transId)
Sets the transaction ID.
|
public DhcpV6.Builder()
msgType = SOLICIT options = NO_OPTIONS
public DhcpV6.Builder(DhcpV6 dhcp)
dhcp
- builder is initialed from this protocol's datapublic DhcpV6 build()
public DhcpV6.Builder msgType(DhcpV6.MessageType msgType)
msgType
- message type enumerationpublic DhcpV6.Builder transId(int transId)
transId
- transaction IDpublic DhcpV6.Builder options(DhcpOptionV6[] options)
options
- array of optionsCopyright © 2015. All Rights Reserved.