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 DhcpMessageDecoder()
public DhcpMessage decode(ByteBuffer buffer) throws DhcpException
buffer
- ByteBuffer to convert to a DhcpMessage objectDhcpException
public OptionsField decodeOptions(ByteBuffer message) throws DhcpException
DhcpException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.