JXTA

net.jxta.rendezvous
Enum RendezVousStatus

java.lang.Object
  extended by java.lang.Enum<RendezVousStatus>
      extended by net.jxta.rendezvous.RendezVousStatus
All Implemented Interfaces:
Serializable, Comparable<RendezVousStatus>

public enum RendezVousStatus
extends 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

NONE

public static final RendezVousStatus NONE
No RendezVous Service is configured.


UNKNOWN

public static final RendezVousStatus UNKNOWN
An unknown RendezVous Service is configured.


ADHOC

public static final RendezVousStatus ADHOC
An ad hoc (connectionless) RendezVous Service is configured.


EDGE

public static final RendezVousStatus EDGE
RendezVous Service is configured as an edge peer.


AUTO_EDGE

public static final RendezVousStatus AUTO_EDGE
RendezVous Service is configured to automatically choose, but is currently running as an edge.


AUTO_RENDEZVOUS

public static final RendezVousStatus AUTO_RENDEZVOUS
RendezVous Service is configured to automatically choose, but is currently running as a Rendezvous.


RENDEZVOUS

public static final RendezVousStatus RENDEZVOUS
RendezVous Service is configured as an rendezvous peer.

Method Detail

values

public static RendezVousStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RendezVousStatus c : RendezVousStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RendezVousStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

JXSE