public abstract class AbstractResourceRecord extends Object implements ResourceRecord, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ResourceRecordClass |
classz |
protected String |
name |
protected char |
rawClassz |
protected char |
rawType |
protected byte[] |
rdata |
protected char |
rdLength |
protected long |
ttl |
protected ResourceRecordType |
type |
| Constructor and Description |
|---|
AbstractResourceRecord() |
| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonObjectBuilder |
createJsonBuilder() |
void |
decode(NetworkData buffer,
boolean partial) |
void |
encode(NetworkData buffer) |
int |
getRawClassz() |
int |
getRawType() |
javax.json.JsonObject |
toJSon() |
String |
toZone(int maxLength) |
protected String name
protected char rawType
protected char rawClassz
protected ResourceRecordType type
protected ResourceRecordClass classz
protected long ttl
protected char rdLength
protected byte[] rdata
public void decode(NetworkData buffer, boolean partial)
decode in interface ResourceRecordpublic void encode(NetworkData buffer)
encode in interface ResourceRecordpublic int getRawType()
public int getRawClassz()
public String toZone(int maxLength)
toZone in interface ResourceRecordpublic javax.json.JsonObjectBuilder createJsonBuilder()
public javax.json.JsonObject toJSon()
toJSon in interface ResourceRecordCopyright © 2020. All rights reserved.