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

List of all members.

Public Member Functions

DNSOutgoing addAdditionalAnswer (DNSOutgoing out, DNSIncoming in, DNSRecord rec) throws IOException
DNSOutgoing addAnswer (DNSOutgoing out, DNSIncoming in, DNSRecord rec) throws IOException
DNSOutgoing addAnswer (DNSOutgoing out, DNSRecord rec, long now) throws IOException
DNSOutgoing addAuthoritativeAnswer (DNSOutgoing out, DNSRecord rec) throws IOException
DNSOutgoing addQuestion (DNSOutgoing out, DNSQuestion rec) throws IOException
JmDNSImpl getDns ()
abstract String getName ()
abstract void start (Timer timer)
String toString ()

Protected Member Functions

 DNSTask (JmDNSImpl jmDNSImpl)

Private Attributes

final JmDNSImpl _jmDNSImpl

Detailed Description

This is the root class for all task scheduled by the timer in JmDNS.

Author:
Pierre Frisch

Definition at line 20 of file DNSTask.java.


Constructor & Destructor Documentation

javax.jmdns.impl.tasks.DNSTask.DNSTask ( JmDNSImpl  jmDNSImpl) [inline, protected]
Parameters:
jmDNSImpl

Definition at line 30 of file DNSTask.java.


Member Function Documentation

Add an additional answer to the record. Omit if there is no room.

Parameters:
outoutgoing message
inincoming request
recDNS record answer
Returns:
outgoing message for the next answer
Exceptions:
IOException

Definition at line 203 of file DNSTask.java.

DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAnswer ( DNSOutgoing  out,
DNSIncoming  in,
DNSRecord  rec 
) throws IOException [inline]

Add an answer if it is not suppressed.

Parameters:
outoutgoing message
inincoming request
recDNS record answer
Returns:
outgoing message for the next answer
Exceptions:
IOException

Definition at line 110 of file DNSTask.java.

DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAnswer ( DNSOutgoing  out,
DNSRecord  rec,
long  now 
) throws IOException [inline]

Add an answer to the message.

Parameters:
outoutgoing message
recDNS record answer
now
Returns:
outgoing message for the next answer
Exceptions:
IOException

Definition at line 141 of file DNSTask.java.

Add an authoritative answer to the message.

Parameters:
outoutgoing message
recDNS record answer
Returns:
outgoing message for the next answer
Exceptions:
IOException

Definition at line 171 of file DNSTask.java.

DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addQuestion ( DNSOutgoing  out,
DNSQuestion  rec 
) throws IOException [inline]

Add a question to the message.

Parameters:
outoutgoing message
recDNS question
Returns:
outgoing message for the next question
Exceptions:
IOException

Definition at line 78 of file DNSTask.java.

Return the DNS associated with this task.

Returns:
associated DNS

Definition at line 40 of file DNSTask.java.

abstract String javax.jmdns.impl.tasks.DNSTask.getName ( ) [pure virtual]
abstract void javax.jmdns.impl.tasks.DNSTask.start ( Timer  timer) [pure virtual]

Member Data Documentation

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