Public Member Functions | Protected Member Functions | Static Package Attributes
javax.jmdns.impl.tasks.state.Prober Class Reference
Inheritance diagram for javax.jmdns.impl.tasks.state.Prober:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean cancel ()
String getName ()
String getTaskDescription ()
 Prober (JmDNSImpl jmDNSImpl)
void start (Timer timer)
String toString ()

Protected Member Functions

void advanceTask ()
DNSOutgoing buildOutgoingForDNS (DNSOutgoing out) throws IOException
DNSOutgoing buildOutgoingForInfo (ServiceInfoImpl info, DNSOutgoing out) throws IOException
boolean checkRunCondition ()
DNSOutgoing createOugoing ()
void recoverTask (Throwable e)

Static Package Attributes

static Logger logger = Logger.getLogger(Prober.class.getName())

Detailed Description

The Prober sends three consecutive probes for all service infos that needs probing as well as for the host name. The state of each service info of the host name is advanced, when a probe has been sent for it. When the prober has run three times, it launches an Announcer.

If a conflict during probes occurs, the affected service infos (and affected host name) are taken away from the prober. This eventually causes the prober to cancel itself.

Definition at line 27 of file Prober.java.


Constructor & Destructor Documentation

Definition at line 30 of file Prober.java.


Member Function Documentation

void javax.jmdns.impl.tasks.state.Prober.advanceTask ( ) [inline, protected, virtual]

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 152 of file Prober.java.

DNSOutgoing javax.jmdns.impl.tasks.state.Prober.buildOutgoingForDNS ( DNSOutgoing  out) throws IOException [inline, protected, virtual]

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 115 of file Prober.java.

DNSOutgoing javax.jmdns.impl.tasks.state.Prober.buildOutgoingForInfo ( ServiceInfoImpl  info,
DNSOutgoing  out 
) throws IOException [inline, protected, virtual]

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 129 of file Prober.java.

Definition at line 77 of file Prober.java.

boolean javax.jmdns.impl.tasks.state.Prober.checkRunCondition ( ) [inline, protected, virtual]

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 97 of file Prober.java.

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 106 of file Prober.java.

String javax.jmdns.impl.tasks.state.Prober.getName ( ) [inline, virtual]

Return this task name.

Returns:
task name

Implements javax.jmdns.impl.tasks.DNSTask.

Definition at line 42 of file Prober.java.

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 88 of file Prober.java.

void javax.jmdns.impl.tasks.state.Prober.recoverTask ( Throwable  e) [inline, protected, virtual]

Implements javax.jmdns.impl.tasks.state.DNSStateTask.

Definition at line 143 of file Prober.java.

void javax.jmdns.impl.tasks.state.Prober.start ( Timer  timer) [inline, virtual]

Start this task.

Parameters:
timertask timer.

Implements javax.jmdns.impl.tasks.DNSTask.

Definition at line 60 of file Prober.java.

Reimplemented from javax.jmdns.impl.tasks.DNSTask.

Definition at line 51 of file Prober.java.


Member Data Documentation

Logger javax.jmdns.impl.tasks.state.Prober.logger = Logger.getLogger(Prober.class.getName()) [static, package]

Definition at line 28 of file Prober.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