$search

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, DNSRecord rec, long now) throws IOException
DNSOutgoing addAnswer (DNSOutgoing out, DNSIncoming in, DNSRecord rec) 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

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

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

Parameters:
out outgoing message
in incoming request
rec DNS 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,
DNSRecord  rec,
long  now 
) throws IOException [inline]

Add an answer to the message.

Parameters:
out outgoing message
rec DNS record answer
now 
Returns:
outgoing message for the next answer
Exceptions:
IOException 

Definition at line 141 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:
out outgoing message
in incoming request
rec DNS 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::addAuthoritativeAnswer ( DNSOutgoing  out,
DNSRecord  rec 
) throws IOException [inline]

Add an authoritative answer to the message.

Parameters:
out outgoing message
rec DNS 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:
out outgoing message
rec DNS question
Returns:
outgoing message for the next question
Exceptions:
IOException 

Definition at line 78 of file DNSTask.java.

JmDNSImpl javax::jmdns::impl::tasks::DNSTask::getDns (  )  [inline]

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]
String javax::jmdns::impl::tasks::DNSTask::toString (  )  [inline]

Member Data Documentation

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