|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lavantech.net.dns.ResourceRecord
ResourceRecord is the base class for all Record types.
Constructor Summary | |
ResourceRecord(java.lang.String rname,
int rtype,
int rclass,
long ttl)
Creates a ResourceRecord with all the required information. |
Method Summary | |
int |
getResourceClass()
Returns the record class |
java.lang.String |
getResourceName()
Returns the record name |
int |
getResourceType()
Returns the record type |
long |
getTTL()
Returns the Time To Live value (number of seconds) for the record. |
java.lang.String |
toString()
Returns the string representation of the Record. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResourceRecord(java.lang.String rname, int rtype, int rclass, long ttl)
rname
- Record Name (Hostname)rtype
- Record Typerclass
- Record Classttl
- Time to Live, time in seconds after which the record will expire.Method Detail |
public java.lang.String getResourceName()
public int getResourceType()
public int getResourceClass()
public long getTTL()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |