public class DhcpMessageDecoder extends Object
| Constructor and Description |
|---|
DhcpMessageDecoder() |
| Modifier and Type | Method and Description |
|---|---|
DhcpMessage |
decode(ByteBuffer buffer)
Convert a byte buffer into a DhcpMessage.
|
OptionsField |
decodeOptions(ByteBuffer message) |
public DhcpMessage decode(ByteBuffer buffer) throws DhcpException
buffer - ByteBuffer to convert to a DhcpMessage objectDhcpExceptionpublic OptionsField decodeOptions(ByteBuffer message) throws DhcpException
DhcpExceptionCopyright © 2021. All rights reserved.