|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.inet.dns.record.DnsRecord
Represents a resource record retrieved from a Dns server.
| Constructor Summary | |
DnsRecord()
|
|
| Method Summary | |
int |
getRecordClass()
Gets CLASS for this DnsRecord. |
java.lang.String |
getRecordName()
Gets name for this DnsRecord. |
long |
getRecordTTL()
Gets time-to-live for this DnsRecord. |
int |
getRecordType()
Gets TYPE for this DnsRecord. |
void |
init(java.lang.String recordName,
int recordType,
int recordClass,
long recordTTL,
DnsInputStream inputStream)
Initializes this DnsRecord. |
boolean |
isValid()
Checks to see if this DnsRecord is valid. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DnsRecord()
| Method Detail |
public void init(java.lang.String recordName,
int recordType,
int recordClass,
long recordTTL,
DnsInputStream inputStream)
throws java.io.IOException
recordName - the record namerecordType - the record TYPErecordClass - the record CLASSrecordTTL - the time-to-live for this recordinputStream - the input stream containing data for this record
java.io.IOException - if an I/O error occurspublic java.lang.String getRecordName()
public int getRecordType()
Dnspublic int getRecordClass()
Dnspublic long getRecordTTL()
public boolean isValid()
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||