javax::jmdns::impl::tasks::state::DNSStateTask Class Reference
List of all members.
Detailed Description
This is the root class for all state tasks. These tasks work with objects that implements the javax.jmdns.impl.DNSStatefulObject interface and therefore participate in the state machine.
- Author:
- Pierre Frisch
Definition at line 24 of file DNSStateTask.java.
Constructor & Destructor Documentation
javax::jmdns::impl::tasks::state::DNSStateTask::DNSStateTask |
( |
JmDNSImpl |
jmDNSImpl, |
|
|
int |
ttl | |
|
) |
| | [inline] |
Member Function Documentation
void javax::jmdns::impl::tasks::state::DNSStateTask::advanceObjectsState |
( |
List< DNSStatefulObject > |
list |
) |
[inline, protected] |
abstract void javax::jmdns::impl::tasks::state::DNSStateTask::advanceTask |
( |
|
) |
[protected, pure virtual] |
void javax::jmdns::impl::tasks::state::DNSStateTask::associate |
( |
DNSState |
state |
) |
[inline, protected] |
Associate the DNS host and the service infos with this task if not already associated and in the same state.
- Parameters:
-
Definition at line 76 of file DNSStateTask.java.
abstract DNSOutgoing javax::jmdns::impl::tasks::state::DNSStateTask::buildOutgoingForDNS |
( |
DNSOutgoing |
out |
) |
throws IOException [protected, pure virtual] |
abstract boolean javax::jmdns::impl::tasks::state::DNSStateTask::checkRunCondition |
( |
|
) |
[protected, pure virtual] |
abstract DNSOutgoing javax::jmdns::impl::tasks::state::DNSStateTask::createOugoing |
( |
|
) |
[protected, pure virtual] |
static int javax::jmdns::impl::tasks::state::DNSStateTask::defaultTTL |
( |
|
) |
[inline, static] |
abstract String javax::jmdns::impl::tasks::state::DNSStateTask::getTaskDescription |
( |
|
) |
[pure virtual] |
DNSState javax::jmdns::impl::tasks::state::DNSStateTask::getTaskState |
( |
|
) |
[inline, protected] |
int javax::jmdns::impl::tasks::state::DNSStateTask::getTTL |
( |
|
) |
[inline] |
abstract void javax::jmdns::impl::tasks::state::DNSStateTask::recoverTask |
( |
Throwable |
e |
) |
[protected, pure virtual] |
void javax::jmdns::impl::tasks::state::DNSStateTask::removeAssociation |
( |
|
) |
[inline, protected] |
Remove the DNS host and service info association with this task.
Definition at line 88 of file DNSStateTask.java.
void javax::jmdns::impl::tasks::state::DNSStateTask::run |
( |
|
) |
[inline] |
static void javax::jmdns::impl::tasks::state::DNSStateTask::setDefaultTTL |
( |
int |
value |
) |
[inline, static] |
For testing only do not use in production.
- Parameters:
-
Definition at line 50 of file DNSStateTask.java.
void javax::jmdns::impl::tasks::state::DNSStateTask::setTaskState |
( |
DNSState |
taskState |
) |
[inline, protected] |
Member Data Documentation
By setting a 0 ttl we effectively expire the record.
Definition at line 30 of file DNSStateTask.java.
The documentation for this class was generated from the following file: