Package com.vaadin.client.communication
Enum MessageSender.ResynchronizationState
- java.lang.Object
-
- java.lang.Enum<MessageSender.ResynchronizationState>
-
- com.vaadin.client.communication.MessageSender.ResynchronizationState
-
- All Implemented Interfaces:
Serializable,Comparable<MessageSender.ResynchronizationState>
- Enclosing class:
- MessageSender
public static enum MessageSender.ResynchronizationState extends Enum<MessageSender.ResynchronizationState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_ACTIVESEND_TO_SERVERWAITING_FOR_RESPONSE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageSender.ResynchronizationStatevalueOf(String name)Returns the enum constant of this type with the specified name.static MessageSender.ResynchronizationState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_ACTIVE
public static final MessageSender.ResynchronizationState NOT_ACTIVE
-
SEND_TO_SERVER
public static final MessageSender.ResynchronizationState SEND_TO_SERVER
-
WAITING_FOR_RESPONSE
public static final MessageSender.ResynchronizationState WAITING_FOR_RESPONSE
-
-
Method Detail
-
values
public static MessageSender.ResynchronizationState[] 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 (MessageSender.ResynchronizationState c : MessageSender.ResynchronizationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageSender.ResynchronizationState 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 nameNullPointerException- if the argument is null
-
-