OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DNSRecord
(Results
1 - 18
of
18
) sorted by null
/external/jmdns/src/javax/jmdns/impl/
DNSMessage.java
44
protected final List<
DNSRecord
> _answers;
46
protected final List<
DNSRecord
> _authoritativeAnswers;
48
protected final List<
DNSRecord
> _additionals;
61
_answers = Collections.synchronizedList(new LinkedList<
DNSRecord
>());
62
_authoritativeAnswers = Collections.synchronizedList(new LinkedList<
DNSRecord
>());
63
_additionals = Collections.synchronizedList(new LinkedList<
DNSRecord
>());
134
public Collection<? extends
DNSRecord
> getAllAnswers() {
135
List<
DNSRecord
> aList = new ArrayList<
DNSRecord
>(_answers.size() + _authoritativeAnswers.size() + _additionals.size());
145
public Collection<? extends
DNSRecord
> getAnswers()
[
all
...]
HostInfo.java
161
public boolean conflictWithRecord(
DNSRecord
.Address record) {
162
DNSRecord
.Address hostAddress = this.getDNSAddressRecord(record.getRecordType(), record.isUnique(), DNSConstants.DNS_TTL);
198
DNSRecord
.Address getDNSAddressRecord(DNSRecordType type, boolean unique, int ttl) {
210
private
DNSRecord
.Address getDNS4AddressRecord(boolean unique, int ttl) {
212
return new
DNSRecord
.IPv4Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getInetAddress());
217
private
DNSRecord
.Address getDNS6AddressRecord(boolean unique, int ttl) {
219
return new
DNSRecord
.IPv6Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getInetAddress());
224
DNSRecord
.Pointer getDNSReverseAddressRecord(DNSRecordType type, boolean unique, int ttl) {
236
private
DNSRecord
.Pointer getDNS4ReverseAddressRecord(boolean unique, int ttl) {
238
return new
DNSRecord
.Pointer(this.getInetAddress().getHostAddress() + ".in-addr.arpa.", DNSRecordClass.CLASS_IN, unique (…)
[
all
...]
DNSQuestion.java
36
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
37
DNSRecord
answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL);
60
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
61
DNSRecord
answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL);
93
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
101
answers.add(new
DNSRecord
.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()));
133
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
167
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
194
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers) {
274
public void addAnswers(JmDNSImpl jmDNSImpl, Set<
DNSRecord
> answers)
[
all
...]
DNSRecord.java
32
public abstract class
DNSRecord
extends DNSEntry {
33
private static Logger logger = Logger.getLogger(
DNSRecord
.class.getName());
43
* Create a
DNSRecord
with a name, type, class, and ttl.
45
DNSRecord
(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl) {
57
return (other instanceof
DNSRecord
) && super.equals(other) && sameValue((
DNSRecord
) other);
63
abstract boolean sameValue(
DNSRecord
other);
68
boolean sameType(
DNSRecord
other) {
96
for (
DNSRecord
answer : msg.getAllAnswers()) {
112
boolean suppressedBy(
DNSRecord
other)
[
all
...]