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

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 27 of file ServiceResolver.java.


Member Function Documentation

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.

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

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

Returns:
resolver description

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

Definition at line 74 of file ServiceResolver.java.

Return this task name.

Returns:
task name

Implements javax.jmdns.impl.tasks.DNSTask.

Definition at line 37 of file ServiceResolver.java.


Member Data Documentation

Definition at line 25 of file ServiceResolver.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