public class DhcpMessageType extends DhcpOption
Constructor and Description |
---|
DhcpMessageType() |
DhcpMessageType(MessageType type) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the data (wire format) into a byte array.
|
byte |
getTag()
Get the option's code tag.
|
MessageType |
getType() |
void |
setData(byte[] messageType)
Set the data (wire format) from a byte array.
|
getClassByTag, getTagByClass, writeTo
public DhcpMessageType()
public DhcpMessageType(MessageType type)
public byte getTag()
DhcpOption
getTag
in class DhcpOption
public void setData(byte[] messageType)
DhcpOption
setData
in class DhcpOption
public byte[] getData()
DhcpOption
DhcpOption.setData(byte[])
.getData
in class DhcpOption
public MessageType getType()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.