Public Member Functions | |
String | getName () |
ServiceResolver (JmDNSImpl jmDNSImpl, String type) | |
Protected Member Functions | |
DNSOutgoing | addAnswers (DNSOutgoing out) throws IOException |
DNSOutgoing | addQuestions (DNSOutgoing out) throws IOException |
String | description () |
Private Attributes | |
final String | _type |
The ServiceResolver queries three times consecutively for services of a given type, and then removes itself from the timer.
The ServiceResolver will run only if JmDNS is in state ANNOUNCED. REMIND: Prevent having multiple service resolvers for the same type in the timer queue.
Definition at line 23 of file ServiceResolver.java.
javax.jmdns.impl.tasks.resolver.ServiceResolver.ServiceResolver | ( | JmDNSImpl | jmDNSImpl, |
String | type | ||
) | [inline] |
Definition at line 27 of file ServiceResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.ServiceResolver.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 46 of file ServiceResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.ServiceResolver.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 62 of file ServiceResolver.java.
String javax.jmdns.impl.tasks.resolver.ServiceResolver.description | ( | ) | [inline, protected, virtual] |
Returns a description of the resolver for debugging
Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 74 of file ServiceResolver.java.
String javax.jmdns.impl.tasks.resolver.ServiceResolver.getName | ( | ) | [inline, virtual] |
Return this task name.
Implements javax.jmdns.impl.tasks.DNSTask.
Definition at line 37 of file ServiceResolver.java.
final String javax.jmdns.impl.tasks.resolver.ServiceResolver._type [private] |
Definition at line 25 of file ServiceResolver.java.