JXTA

net.jxta.impl.protocol
Enum RdvConfigAdv.RendezVousConfiguration

java.lang.Object
  extended by java.lang.Enum<RdvConfigAdv.RendezVousConfiguration>
      extended by net.jxta.impl.protocol.RdvConfigAdv.RendezVousConfiguration
All Implemented Interfaces:
Serializable, Comparable<RdvConfigAdv.RendezVousConfiguration>
Enclosing class:
RdvConfigAdv

public static enum RdvConfigAdv.RendezVousConfiguration
extends Enum<RdvConfigAdv.RendezVousConfiguration>

Possible Rendezvous configurations.


Enum Constant Summary
AD_HOC
          Connectionless
EDGE
          Edge peer
RENDEZVOUS
          Rendezvous peer
 
Method Summary
static RdvConfigAdv.RendezVousConfiguration valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RdvConfigAdv.RendezVousConfiguration[] 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

AD_HOC

public static final RdvConfigAdv.RendezVousConfiguration AD_HOC
Connectionless


EDGE

public static final RdvConfigAdv.RendezVousConfiguration EDGE
Edge peer


RENDEZVOUS

public static final RdvConfigAdv.RendezVousConfiguration RENDEZVOUS
Rendezvous peer

Method Detail

values

public static RdvConfigAdv.RendezVousConfiguration[] 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 (RdvConfigAdv.RendezVousConfiguration c : RdvConfigAdv.RendezVousConfiguration.values())
    System.out.println(c);

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

valueOf

public static RdvConfigAdv.RendezVousConfiguration 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