public abstract class DnsRecord
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DnsRecord() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 recordjava.io.IOException - if an I/O error occurspublic java.lang.String getRecordName()
public int getRecordType()
Dnspublic int getRecordClass()
Dnspublic long getRecordTTL()
public boolean isValid()
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved