$search

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

javax::jmdns::impl::tasks::resolver::ServiceResolver::ServiceResolver ( JmDNSImpl  jmDNSImpl,
String  type 
) [inline]

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:
out outgoing 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:
out outgoing 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.

String javax::jmdns::impl::tasks::resolver::ServiceResolver::getName (  )  [inline, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


zeroconf_jmdns
Author(s): Daniel Stonier
autogenerated on Wed Jan 16 12:20:36 2013