public class DNSState
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
static DNSState |
ANNOUNCED |
static DNSState |
ANNOUNCING_1 |
static DNSState |
ANNOUNCING_2 |
static DNSState |
CANCELED |
static DNSState |
PROBING_1 |
static DNSState |
PROBING_2 |
static DNSState |
PROBING_3 |
Modifier and Type | Method and Description |
---|---|
DNSState |
advance()
Returns the next advanced state.
|
int |
compareTo(java.lang.Object o)
Compares two states.
|
boolean |
isAnnounced()
Returns true, if this is an announced state.
|
boolean |
isAnnouncing()
Returns true, if this is an announcing state.
|
boolean |
isProbing()
Returns true, if this is a probing state.
|
DNSState |
revert()
Returns to the next reverted state.
|
java.lang.String |
toString() |
public static final DNSState PROBING_1
public static final DNSState PROBING_2
public static final DNSState PROBING_3
public static final DNSState ANNOUNCING_1
public static final DNSState ANNOUNCING_2
public static final DNSState ANNOUNCED
public static final DNSState CANCELED
public final java.lang.String toString()
toString
in class java.lang.Object
public final DNSState advance()
public final DNSState revert()
public boolean isProbing()
public boolean isAnnouncing()
public boolean isAnnounced()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable