|
||||||||||
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
This class represents a generic resource record.
Field Summary | |
protected int |
clazz
The resource protocol class. |
protected java.lang.String |
name
The resource name. |
protected int |
type
The resource type. |
Constructor Summary | |
protected |
Record(java.lang.String name,
int type,
int clazz)
Creates a new DNS record. |
Method Summary | |
protected java.lang.String |
getClassString()
Returns the string represenation of the protocol class. |
int |
getClazz()
Returns the protocol class. |
java.lang.String |
getName()
Returns the resource name. |
int |
getType()
Returns the resource type. |
protected java.lang.String |
getTypeString()
Returns the string represenation of the resource type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected int type
protected int clazz
Constructor Detail |
protected Record(java.lang.String name, int type, int clazz)
name
- the domain nametype
- the resource typeclazz
- the protocol classMethod Detail |
protected java.lang.String getTypeString()
protected java.lang.String getClassString()
public java.lang.String getName()
public int getType()
public int getClazz()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |