Package | Description |
---|---|
javax.jmdns.impl | |
javax.jmdns.impl.constants | |
javax.jmdns.impl.tasks.state |
Modifier and Type | Field and Description |
---|---|
protected DNSState |
DNSStatefulObject.DefaultImplementation._state |
Modifier and Type | Method and Description |
---|---|
void |
ServiceInfoImpl.associateWithTask(DNSTask task,
DNSState state)
Sets the task associated with this Object.
|
void |
HostInfo.associateWithTask(DNSTask task,
DNSState state)
Sets the task associated with this Object.
|
void |
DNSStatefulObject.associateWithTask(DNSTask task,
DNSState state)
Sets the task associated with this Object.
|
void |
DNSStatefulObject.DefaultImplementation.associateWithTask(DNSTask task,
DNSState state)
Sets the task associated with this Object.
|
void |
JmDNSImpl.associateWithTask(DNSTask task,
DNSState state)
Sets the task associated with this Object.
|
boolean |
ServiceInfoImpl.isAssociatedWithTask(DNSTask task,
DNSState state)
Checks if this object is associated with the task and in the same state.
|
boolean |
HostInfo.isAssociatedWithTask(DNSTask task,
DNSState state)
Checks if this object is associated with the task and in the same state.
|
boolean |
DNSStatefulObject.isAssociatedWithTask(DNSTask task,
DNSState state)
Checks if this object is associated with the task and in the same state.
|
boolean |
DNSStatefulObject.DefaultImplementation.isAssociatedWithTask(DNSTask task,
DNSState state)
Checks if this object is associated with the task and in the same state.
|
boolean |
JmDNSImpl.isAssociatedWithTask(DNSTask task,
DNSState state)
Checks if this object is associated with the task and in the same state.
|
protected void |
DNSStatefulObject.DefaultImplementation.setState(DNSState state) |
Modifier and Type | Method and Description |
---|---|
DNSState |
DNSState.advance()
Returns the next advanced state.
In general, this advances one step in the following sequence: PROBING_1, PROBING_2, PROBING_3, ANNOUNCING_1, ANNOUNCING_2, ANNOUNCED. or CANCELING_1, CANCELING_2, CANCELING_3, CANCELED Does not advance for ANNOUNCED and CANCELED state. |
DNSState |
DNSState.revert()
Returns to the next reverted state.
|
static DNSState |
DNSState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DNSState[] |
DNSState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected DNSState |
DNSStateTask.getTaskState() |
Modifier and Type | Method and Description |
---|---|
protected void |
DNSStateTask.associate(DNSState state)
Associate the DNS host and the service infos with this task if not already associated and in the same state.
|
protected void |
DNSStateTask.setTaskState(DNSState taskState) |
Copyright © 2002–2017 JmDNS. All rights reserved.