protected static enum AbstractIoService.ServiceState extends Enum<AbstractIoService.ServiceState>
Enum Constant and Description |
---|
ACTIVE
The service is started
|
CREATED
The service has been created
|
DISPOSED
The service is stopped
|
DISPOSING
The service is being stopped
|
NONE
Initial state
|
SUSPENDED
The service has been suspended
|
Modifier and Type | Method and Description |
---|---|
static AbstractIoService.ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractIoService.ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractIoService.ServiceState NONE
public static final AbstractIoService.ServiceState CREATED
public static final AbstractIoService.ServiceState ACTIVE
public static final AbstractIoService.ServiceState SUSPENDED
public static final AbstractIoService.ServiceState DISPOSING
public static final AbstractIoService.ServiceState DISPOSED
public static AbstractIoService.ServiceState[] values()
for (AbstractIoService.ServiceState c : AbstractIoService.ServiceState.values()) System.out.println(c);
public static AbstractIoService.ServiceState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009–2013 Apache MINA Project. All rights reserved.