Constructor and Description |
---|
Builder()
Create a new builder using the defaults:
|
Builder(Mpls mpls)
Copy constructor builder initialized from the passed in protocol.
|
Modifier and Type | Method and Description |
---|---|
Mpls |
build()
Creates a new protocol instance from this builder.
|
Mpls.Builder |
headers(Mpls.Header[] headers)
Sets the headers.
|
public Builder()
headers = NO_HEADERS
public Builder(Mpls mpls)
mpls
- builder is initialed from this protocol's datapublic Mpls build()
public Mpls.Builder headers(Mpls.Header[] headers)
headers
- new array of headersCopyright © 2016. All Rights Reserved.