Modifier and Type | Field and Description |
---|---|
DnsName |
name
Deprecated.
target instead. |
DnsName |
target |
Modifier | Constructor and Description |
---|---|
protected |
RRWithTarget(DnsName target) |
Modifier and Type | Method and Description |
---|---|
DnsName |
getTarget() |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, getType, hashCode, length, toByteArray, toOutputStream
@Deprecated public final DnsName name
target
instead.protected RRWithTarget(DnsName target)
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.