|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RendezVousStatus>
net.jxta.rendezvous.RendezVousStatus
public enum RendezVousStatus
A static "enum" class for RendezVous Status.
Enum Constant Summary | |
---|---|
ADHOC
An ad hoc (connectionless) RendezVous Service is configured. |
|
AUTO_EDGE
RendezVous Service is configured to automatically choose, but is currently running as an edge. |
|
AUTO_RENDEZVOUS
RendezVous Service is configured to automatically choose, but is currently running as a Rendezvous. |
|
EDGE
RendezVous Service is configured as an edge peer. |
|
NONE
No RendezVous Service is configured. |
|
RENDEZVOUS
RendezVous Service is configured as an rendezvous peer. |
|
UNKNOWN
An unknown RendezVous Service is configured. |
Method Summary | |
---|---|
static RendezVousStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RendezVousStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RendezVousStatus NONE
public static final RendezVousStatus UNKNOWN
public static final RendezVousStatus ADHOC
public static final RendezVousStatus EDGE
public static final RendezVousStatus AUTO_EDGE
public static final RendezVousStatus AUTO_RENDEZVOUS
public static final RendezVousStatus RENDEZVOUS
Method Detail |
---|
public static RendezVousStatus[] values()
for (RendezVousStatus c : RendezVousStatus.values()) System.out.println(c);
public static RendezVousStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |