OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DNSRecordType
(Results
1 - 13
of
13
) sorted by null
/external/jmdns/src/javax/jmdns/impl/constants/
DNSRecordType.java
13
public enum
DNSRecordType
{
251
private static Logger logger = Logger.getLogger(
DNSRecordType
.class.getName());
257
DNSRecordType
(String name, int index) {
284
public static
DNSRecordType
typeForName(String name) {
287
for (
DNSRecordType
aType :
DNSRecordType
.values()) {
299
public static
DNSRecordType
typeForIndex(int index) {
300
for (
DNSRecordType
aType :
DNSRecordType
.values()) {
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
ServiceInfoResolver.java
15
import javax.jmdns.impl.constants.
DNSRecordType
;
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));
86
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_info.getServer(),
DNSRecordType
.TYPE_A, DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE));
87
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(_info.getServer(),
DNSRecordType
.TYPE_AAAA, DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE))
[
all
...]
ServiceResolver.java
16
import javax.jmdns.impl.constants.
DNSRecordType
;
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
16
import javax.jmdns.impl.constants.
DNSRecordType
;
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
17
import javax.jmdns.impl.constants.
DNSRecordType
;
31
DNS4Address(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
55
DNS6Address(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
79
HostInformation(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
88
Pointer(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
110
answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(
DNSRecordType
.TYPE_A, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL));
113
answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(
DNSRecordType
.TYPE_AAAA, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL));
128
Service(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
142
DNSQuestion question = new Pointer(this.getName(),
DNSRecordType
.TYPE_PTR, this.getRecordClass(), this.isUnique());
162
Text(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique)
[
all
...]
DNSEntry.java
15
import javax.jmdns.impl.constants.
DNSRecordType
;
30
private final
DNSRecordType
_recordType;
41
DNSEntry(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique) {
128
public
DNSRecordType
getRecordType() {
129
return (_recordType != null ? _recordType :
DNSRecordType
.TYPE_IGNORE);
DNSIncoming.java
20
import javax.jmdns.impl.constants.
DNSRecordType
;
272
DNSRecordType
type =
DNSRecordType
.typeForIndex(_messageInputStream.readUnsignedShort());
273
if (type ==
DNSRecordType
.TYPE_IGNORE) {
284
DNSRecordType
type =
DNSRecordType
.typeForIndex(_messageInputStream.readUnsignedShort());
285
if (type ==
DNSRecordType
.TYPE_IGNORE) {
289
DNSRecordClass recordClass = (type ==
DNSRecordType
.TYPE_OPT ? DNSRecordClass.CLASS_UNKNOWN : DNSRecordClass.classForIndex(recordClassIndex));
290
if ((recordClass == DNSRecordClass.CLASS_UNKNOWN) && (type !=
DNSRecordType
.TYPE_OPT)) {
DNSRecord.java
25
import javax.jmdns.impl.constants.
DNSRecordType
;
45
DNSRecord(String name,
DNSRecordType
type, DNSRecordClass recordClass, boolean unique, int ttl) {
176
super(name,
DNSRecordType
.TYPE_A, recordClass, unique, ttl, addr);
180
super(name,
DNSRecordType
.TYPE_A, recordClass, unique, ttl, rawAddress);
218
super(name,
DNSRecordType
.TYPE_AAAA, recordClass, unique, ttl, addr);
222
super(name,
DNSRecordType
.TYPE_AAAA, recordClass, unique, ttl, 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) {
430
super(name,
DNSRecordType
.TYPE_PTR, recordClass, unique, ttl);
541
super(name,
DNSRecordType
.TYPE_TXT, recordClass, unique, ttl)
[
all
...]
HostInfo.java
23
import javax.jmdns.impl.constants.
DNSRecordType
;
198
DNSRecord.Address getDNSAddressRecord(
DNSRecordType
type, boolean unique, int ttl) {
224
DNSRecord.Pointer getDNSReverseAddressRecord(
DNSRecordType
type, boolean unique, int ttl) {
DNSCache.java
18
import javax.jmdns.impl.constants.
DNSRecordType
;
407
public synchronized DNSEntry getDNSEntry(String name,
DNSRecordType
type, DNSRecordClass recordClass) {
429
public synchronized Collection<? extends DNSEntry> getDNSEntryList(String name,
DNSRecordType
type, DNSRecordClass recordClass) {
JmDNSImpl.java
45
import javax.jmdns.impl.constants.
DNSRecordType
;
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
...]
ServiceInfoImpl.java
33
import javax.jmdns.impl.constants.
DNSRecordType
;
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
...]
/external/jmdns/src/javax/jmdns/impl/tasks/state/
Prober.java
18
import javax.jmdns.impl.constants.
DNSRecordType
;
117
newOut.addQuestion(DNSQuestion.newQuestion(this.getDns().getLocalHost().getName(),
DNSRecordType
.TYPE_ANY, DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE));
131
newOut = this.addQuestion(newOut, DNSQuestion.newQuestion(info.getQualifiedName(),
DNSRecordType
.TYPE_ANY, DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE));
Completed in 51 milliseconds