Public Member Functions | |
boolean | cancel () |
String | getName () |
ServiceInfoResolver (JmDNSImpl jmDNSImpl, ServiceInfoImpl info) | |
Protected Member Functions | |
DNSOutgoing | addAnswers (DNSOutgoing out) throws IOException |
DNSOutgoing | addQuestions (DNSOutgoing out) throws IOException |
String | description () |
Private Attributes | |
final ServiceInfoImpl | _info |
The ServiceInfoResolver queries up to three times consecutively for a service info, and then removes itself from the timer.
The ServiceInfoResolver will run only if JmDNS is in state ANNOUNCED. REMIND: Prevent having multiple service resolvers for the same info in the timer queue.
Definition at line 22 of file ServiceInfoResolver.java.
javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.ServiceInfoResolver | ( | JmDNSImpl | jmDNSImpl, |
ServiceInfoImpl | info | ||
) | [inline] |
Definition at line 26 of file ServiceInfoResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.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 61 of file ServiceInfoResolver.java.
DNSOutgoing javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.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 80 of file ServiceInfoResolver.java.
boolean javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.cancel | ( | ) | [inline] |
Definition at line 47 of file ServiceInfoResolver.java.
String javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.description | ( | ) | [inline, protected, virtual] |
Returns a description of the resolver for debugging
Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 98 of file ServiceInfoResolver.java.
String javax.jmdns.impl.tasks.resolver.ServiceInfoResolver.getName | ( | ) | [inline, virtual] |
Return this task name.
Implements javax.jmdns.impl.tasks.DNSTask.
Definition at line 38 of file ServiceInfoResolver.java.
Definition at line 24 of file ServiceInfoResolver.java.