Package org.jgroups.protocols
Enum ReliableUnicast.State
- java.lang.Object
-
- java.lang.Enum<ReliableUnicast.State>
-
- org.jgroups.protocols.ReliableUnicast.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReliableUnicast.State>
- Enclosing class:
- ReliableUnicast
protected static enum ReliableUnicast.State extends java.lang.Enum<ReliableUnicast.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReliableUnicast.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReliableUnicast.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final ReliableUnicast.State OPEN
-
CLOSING
public static final ReliableUnicast.State CLOSING
-
CLOSED
public static final ReliableUnicast.State CLOSED
-
-
Method Detail
-
values
public static ReliableUnicast.State[] 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 (ReliableUnicast.State c : ReliableUnicast.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReliableUnicast.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-