public class DNSAAAA extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
byteBufSize() |
void |
fromByteBuf(io.netty.buffer.ByteBuf buffer)
Fills this object with the data from the
ByteBuf. |
java.net.Inet6Address |
getAddress() |
void |
setAddress(java.net.Inet6Address address) |
void |
toByteBuf(io.netty.buffer.ByteBuf buffer)
Writes the data of this object into the
ByteBuf. |
toByteBufpublic java.net.Inet6Address getAddress()
public void setAddress(java.net.Inet6Address address)
public int byteBufSize()
byteBufSize in class Serializablepublic void toByteBuf(io.netty.buffer.ByteBuf buffer)
SerializableByteBuf.toByteBuf in class Serializablebuffer - buffer to store the datapublic void fromByteBuf(io.netty.buffer.ByteBuf buffer)
throws DataNotRepresentsObject
SerializableByteBuf.
If the buffer contents doesn't match the object specification,
should throw IllegalArgumentException.fromByteBuf in class Serializablebuffer - buffer with the dataDataNotRepresentsObject - If the buffer data doesn't
represent the object