|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.dwarf.utils.dns.Record SK.gnome.dwarf.utils.dns.Resource
This class represents a generic DNS resource.
Field Summary | |
protected byte[] |
rdata
The raw record data. |
protected int |
ttl
The TTL value. |
Fields inherited from class SK.gnome.dwarf.utils.dns.Record |
clazz, name, type |
Constructor Summary | |
protected |
Resource(java.lang.String name,
int type,
int clazz,
int ttl)
Creates a new Resource. |
protected |
Resource(java.lang.String name,
int type,
int clazz,
int ttl,
byte[] rdata)
Creates a new Resource with the given raw data. |
Method Summary | |
byte[] |
getRData()
Returns the raw record data. |
long |
getTTL()
Returns the TTL value. |
Methods inherited from class SK.gnome.dwarf.utils.dns.Record |
getClassString, getClazz, getName, getType, getTypeString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int ttl
protected byte[] rdata
Constructor Detail |
protected Resource(java.lang.String name, int type, int clazz, int ttl)
name
- the resource nametype
- the resource typeclazz
- the protocol classttl
- the TTL valueprotected Resource(java.lang.String name, int type, int clazz, int ttl, byte[] rdata)
name
- the resource nametype
- the resource typeclazz
- the protocol classttl
- the TTL valuerdata
- the raw record dataMethod Detail |
public long getTTL()
public byte[] getRData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |