public abstract class InternetAddressRR extends Data
getInetAddress().| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
ip
Target IP.
|
| Modifier | Constructor and Description |
|---|---|
protected |
InternetAddressRR(byte[] ip) |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
getInetAddress() |
byte[] |
getIp()
Allocates a new byte buffer and fills the buffer with the bytes representing the IP address of this resource record.
|
void |
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
equals, getType, hashCode, length, toByteArray, toOutputStreampublic final void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
Datapublic final byte[] getIp()
public final java.net.InetAddress getInetAddress()