com.neeve.event
Enum IEventMultiplexer.State

java.lang.Object
  extended by java.lang.Enum<IEventMultiplexer.State>
      extended by com.neeve.event.IEventMultiplexer.State
All Implemented Interfaces:
Serializable, Comparable<IEventMultiplexer.State>
Enclosing interface:
IEventMultiplexer

public static enum IEventMultiplexer.State
extends Enum<IEventMultiplexer.State>

Enumerates a multiplexer state


Enum Constant Summary
Closed
           
Closing
           
Init
           
Open
           
 
Method Summary
static IEventMultiplexer.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IEventMultiplexer.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Init

public static final IEventMultiplexer.State Init

Open

public static final IEventMultiplexer.State Open

Closing

public static final IEventMultiplexer.State Closing

Closed

public static final IEventMultiplexer.State Closed
Method Detail

values

public static IEventMultiplexer.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 (IEventMultiplexer.State c : IEventMultiplexer.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 IEventMultiplexer.State 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


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.