OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DNSRecordClass
(Results
1 - 17
of
17
) sorted by null
/external/jmdns/src/javax/jmdns/impl/constants/
DNSRecordClass.java
14
public enum
DNSRecordClass
{
44
private static Logger logger = Logger.getLogger(
DNSRecordClass
.class.getName());
72
DNSRecordClass
(String name, int index) {
109
public static
DNSRecordClass
classForName(String name) {
112
for (
DNSRecordClass
aClass :
DNSRecordClass
.values()) {
124
public static
DNSRecordClass
classForIndex(int index) {
126
for (
DNSRecordClass
aClass :
DNSRecordClass
.values()) {
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
ServiceInfoResolver.java
14
import javax.jmdns.impl.constants.
DNSRecordClass
;
30
this.getDns().addListener(info, DNSQuestion.newQuestion(info.getQualifiedName(), DNSRecordType.TYPE_ANY,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
65
newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_SRV,
DNSRecordClass
.CLASS_IN), now);
66
newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_TXT,
DNSRecordClass
.CLASS_IN), now);
68
newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_A,
DNSRecordClass
.CLASS_IN), now);
69
newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_AAAA,
DNSRecordClass
.CLASS_IN), now);
83
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_info.getQualifiedName(), DNSRecordType.TYPE_SRV,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
84
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_info.getQualifiedName(), DNSRecordType.TYPE_TXT,
DNSRecordClass
.CLASS_IN, DNSRecordClass.NOT_UNIQUE))
[
all
...]
ServiceResolver.java
15
import javax.jmdns.impl.constants.
DNSRecordClass
;
50
newOut = this.addAnswer(newOut, new DNSRecord.Pointer(info.getType(),
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getQualifiedName()), now);
51
// newOut = this.addAnswer(newOut, new DNSRecord.Service(info.getQualifiedName(),
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(),
64
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_type, DNSRecordType.TYPE_PTR,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
65
// newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_type, DNSRecordType.TYPE_SRV,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
TypeResolver.java
15
import javax.jmdns.impl.constants.
DNSRecordClass
;
53
newOut = this.addAnswer(newOut, new DNSRecord.Pointer("_services._dns-sd._udp.local.",
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()), now);
64
return this.addQuestion(out, DNSQuestion.newQuestion("_services._dns-sd._udp.local.", DNSRecordType.TYPE_PTR,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
/external/jmdns/src/javax/jmdns/impl/
DNSQuestion.java
16
import javax.jmdns.impl.constants.
DNSRecordClass
;
31
DNS4Address(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique) {
37
DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(),
DNSRecordClass
.UNIQUE, DNSConstants.DNS_TTL);
55
DNS6Address(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique) {
61
DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(),
DNSRecordClass
.UNIQUE, DNSConstants.DNS_TTL);
79
HostInformation(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique) {
88
Pointer(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique) {
101
answers.add(new DNSRecord.Pointer("_services._dns-sd._udp.local.",
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()));
110
answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A,
DNSRecordClass
.NOT_UNIQUE, DNSConstants.DNS_TTL))
[
all
...]
DNSEntry.java
14
import javax.jmdns.impl.constants.
DNSRecordClass
;
32
private final
DNSRecordClass
_dnsClass;
41
DNSEntry(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique) {
77
return this.getKey().equals(entry.getKey()) && this.getRecordType().equals(entry.getRecordType()) && ((
DNSRecordClass
.CLASS_ANY == entry.getRecordClass()) || this.getRecordClass().equals(entry.getRecordClass()));
135
public
DNSRecordClass
getRecordClass() {
136
return (_dnsClass != null ? _dnsClass :
DNSRecordClass
.CLASS_UNKNOWN);
HostInfo.java
22
import javax.jmdns.impl.constants.
DNSRecordClass
;
212
return new DNSRecord.IPv4Address(this.getName(),
DNSRecordClass
.CLASS_IN, unique, ttl, this.getInetAddress());
219
return new DNSRecord.IPv6Address(this.getName(),
DNSRecordClass
.CLASS_IN, unique, ttl, this.getInetAddress());
238
return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".in-addr.arpa.",
DNSRecordClass
.CLASS_IN, unique, ttl, this.getName());
243
return new DNSRecord.Pointer(address + ".in-addr.arpa.",
DNSRecordClass
.CLASS_IN, unique, ttl, this.getName());
250
return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".ip6.arpa.",
DNSRecordClass
.CLASS_IN, unique, ttl, this.getName());
DNSRecord.java
24
import javax.jmdns.impl.constants.
DNSRecordClass
;
45
DNSRecord(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique, int ttl) {
175
IPv4Address(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, InetAddress addr) {
179
IPv4Address(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, byte[] rawAddress) {
217
IPv6Address(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, InetAddress addr) {
221
IPv6Address(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, byte[] rawAddress) {
268
protected Address(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique, int ttl, InetAddress addr) {
273
protected Address(String name, DNSRecordType type,
DNSRecordClass
recordClass, boolean unique, int ttl, byte[] rawAddress) {
429
public Pointer(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, String alias) {
540
public Text(String name,
DNSRecordClass
recordClass, boolean unique, int ttl, byte text[])
[
all
...]
DNSCache.java
17
import javax.jmdns.impl.constants.
DNSRecordClass
;
407
public synchronized DNSEntry getDNSEntry(String name, DNSRecordType type,
DNSRecordClass
recordClass) {
412
if (testDNSEntry.getRecordType().equals(type) && ((
DNSRecordClass
.CLASS_ANY == recordClass) || testDNSEntry.getRecordClass().equals(recordClass))) {
429
public synchronized Collection<? extends DNSEntry> getDNSEntryList(String name, DNSRecordType type,
DNSRecordClass
recordClass) {
435
if (!testDNSEntry.getRecordType().equals(type) || ((
DNSRecordClass
.CLASS_ANY != recordClass) && !testDNSEntry.getRecordClass().equals(recordClass))) {
DNSIncoming.java
19
import javax.jmdns.impl.constants.
DNSRecordClass
;
277
DNSRecordClass
recordClass =
DNSRecordClass
.classForIndex(recordClassIndex);
289
DNSRecordClass
recordClass = (type == DNSRecordType.TYPE_OPT ?
DNSRecordClass
.CLASS_UNKNOWN :
DNSRecordClass
.classForIndex(recordClassIndex));
290
if ((recordClass ==
DNSRecordClass
.CLASS_UNKNOWN) && (type != DNSRecordType.TYPE_OPT)) {
ServiceInfoImpl.java
32
import javax.jmdns.impl.constants.
DNSRecordClass
;
892
for (DNSEntry entry : dnsCache.getDNSEntryList(_server, DNSRecordType.TYPE_A,
DNSRecordClass
.CLASS_IN)) {
895
for (DNSEntry entry : dnsCache.getDNSEntryList(_server, DNSRecordType.TYPE_AAAA,
DNSRecordClass
.CLASS_IN)) {
[
all
...]
DNSOutgoing.java
13
import javax.jmdns.impl.constants.
DNSRecordClass
;
157
writeShort(rec.getRecordClass().indexValue() | ((rec.isUnique() && _out.isMulticast()) ?
DNSRecordClass
.CLASS_UNIQUE : 0));
JmDNSImpl.java
44
import javax.jmdns.impl.constants.
DNSRecordClass
;
759
DNSEntry pointerEntry = this.getCache().getDNSEntry(new DNSRecord.Pointer(type,
DNSRecordClass
.CLASS_ANY, false, 0, info.getQualifiedName()));
768
DNSEntry serviceEntry = this.getCache().getDNSEntry(info.getQualifiedName(), DNSRecordType.TYPE_SRV,
DNSRecordClass
.CLASS_ANY);
777
DNSEntry addressEntry = this.getCache().getDNSEntry(server, DNSRecordType.TYPE_A,
DNSRecordClass
.CLASS_ANY);
787
addressEntry = this.getCache().getDNSEntry(server, DNSRecordType.TYPE_AAAA,
DNSRecordClass
.CLASS_ANY);
797
DNSEntry textEntry = this.getCache().getDNSEntry(cachedInfo.getQualifiedName(), DNSRecordType.TYPE_TXT,
DNSRecordClass
.CLASS_ANY);
[
all
...]
/external/jmdns/src/javax/jmdns/impl/tasks/state/
Prober.java
17
import javax.jmdns.impl.constants.
DNSRecordClass
;
117
newOut.addQuestion(DNSQuestion.newQuestion(this.getDns().getLocalHost().getName(), DNSRecordType.TYPE_ANY,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
118
for (DNSRecord answer : this.getDns().getLocalHost().answers(
DNSRecordClass
.NOT_UNIQUE, this.getTTL())) {
131
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(info.getQualifiedName(), DNSRecordType.TYPE_ANY,
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE));
133
newOut = this.addAuthoritativeAnswer(newOut, new DNSRecord.Service(info.getQualifiedName(),
DNSRecordClass
.CLASS_IN,
DNSRecordClass
.NOT_UNIQUE, this.getTTL(), info.getPriority(), info.getWeight(), info.getPort(), this.getDns().getLocalHost()
Canceler.java
16
import javax.jmdns.impl.constants.
DNSRecordClass
;
104
for (DNSRecord answer : this.getDns().getLocalHost().answers(
DNSRecordClass
.UNIQUE, this.getTTL())) {
117
for (DNSRecord answer : info.answers(
DNSRecordClass
.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
Announcer.java
16
import javax.jmdns.impl.constants.
DNSRecordClass
;
104
for (DNSRecord answer : this.getDns().getLocalHost().answers(
DNSRecordClass
.UNIQUE, this.getTTL())) {
117
for (DNSRecord answer : info.answers(
DNSRecordClass
.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
Renewer.java
16
import javax.jmdns.impl.constants.
DNSRecordClass
;
105
for (DNSRecord answer : this.getDns().getLocalHost().answers(
DNSRecordClass
.UNIQUE, this.getTTL())) {
118
for (DNSRecord answer : info.answers(
DNSRecordClass
.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
Completed in 94 milliseconds