Public Member Functions | |
String | getName () |
TypeResolver (JmDNSImpl jmDNSImpl) | |
Protected Member Functions | |
DNSOutgoing | addAnswers (DNSOutgoing out) throws IOException |
DNSOutgoing | addQuestions (DNSOutgoing out) throws IOException |
String | description () |
Helper class to resolve service types.
The TypeResolver queries three times consecutively for service types, and then removes itself from the timer.
The TypeResolver will run only if JmDNS is in state ANNOUNCED.
Definition at line 25 of file TypeResolver.java.
javax.jmdns.impl.tasks.resolver.TypeResolver.TypeResolver | ( | JmDNSImpl | jmDNSImpl | ) | [inline] |
jmDNSImpl |
Definition at line 30 of file TypeResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.TypeResolver.addAnswers | ( | DNSOutgoing | out | ) | throws IOException [inline, protected, virtual] |
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter.
out | outgoing message |
IOException |
Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 48 of file TypeResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.TypeResolver.addQuestions | ( | DNSOutgoing | out | ) | throws IOException [inline, protected, virtual] |
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter.
out | outgoing message |
IOException |
Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 63 of file TypeResolver.java.
String javax.jmdns.impl.tasks.resolver.TypeResolver.description | ( | ) | [inline, protected, virtual] |
Returns a description of the resolver for debugging
Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 72 of file TypeResolver.java.
String javax.jmdns.impl.tasks.resolver.TypeResolver.getName | ( | ) | [inline, virtual] |
Return this task name.
Implements javax.jmdns.impl.tasks.DNSTask.
Definition at line 39 of file TypeResolver.java.