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

List of all members.

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 ()

Detailed 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.


Constructor & Destructor Documentation

Parameters:
jmDNSImpl

Definition at line 30 of file TypeResolver.java.


Member Function Documentation

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.

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

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

Returns:
resolver description

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

Definition at line 72 of file TypeResolver.java.

Return this task name.

Returns:
task name

Implements javax.jmdns.impl.tasks.DNSTask.

Definition at line 39 of file TypeResolver.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