public class DhcpOptionV6 extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DhcpOptionV6.Type
Option types.
|
Constructor and Description |
---|
DhcpOptionV6(DhcpOptionV6.Type type)
Constructor that takes an option type.
|
DhcpOptionV6(DhcpOptionV6.Type type,
byte[] bytes)
Constructor that takes an option type and payload.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes()
Returns a copy of the byte array.
|
String |
toString() |
DhcpOptionV6.Type |
type()
Returns the option type.
|
public DhcpOptionV6(DhcpOptionV6.Type type)
type
- option typepublic DhcpOptionV6(DhcpOptionV6.Type type, byte[] bytes)
type
- option typebytes
- payload bytespublic DhcpOptionV6.Type type()
public byte[] bytes()
Copyright © 2015. All Rights Reserved.