|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.jmdns.DNSState
public class DNSState
DNSState defines the possible states for services registered with JmDNS.
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |