Public Member Functions | Protected Member Functions | Private Attributes
javax.jmdns.impl.tasks.resolver.ServiceInfoResolver Class Reference
Inheritance diagram for javax.jmdns.impl.tasks.resolver.ServiceInfoResolver:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 26 of file ServiceInfoResolver.java.


Member Function Documentation

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.

Parameters:
outoutgoing message
Returns:
the outgoing message.
Exceptions:
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.

Parameters:
outoutgoing message
Returns:
the outgoing message.
Exceptions:
IOException

Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.

Definition at line 80 of file ServiceInfoResolver.java.

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

Returns:
resolver description

Implements javax.jmdns.impl.tasks.resolver.DNSResolverTask.

Definition at line 98 of file ServiceInfoResolver.java.

Return this task name.

Returns:
task name

Implements javax.jmdns.impl.tasks.DNSTask.

Definition at line 38 of file ServiceInfoResolver.java.


Member Data Documentation

Definition at line 24 of file ServiceInfoResolver.java.


The documentation for this class was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27