protected static enum StreamSinkFrameChannel.ChannelState extends Enum<StreamSinkFrameChannel.ChannelState>
Enum Constant and Description |
---|
ACTIVE
channel is the active writer
|
CLOSED
channel is closed
|
SHUTDOWN
writes have been shutdown
|
WAITING
channel is waiting to be the active writer
|
WAITING_SHUTDOWN
Channel is shut down, but has not been activated yet
|
Modifier and Type | Method and Description |
---|---|
static StreamSinkFrameChannel.ChannelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamSinkFrameChannel.ChannelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamSinkFrameChannel.ChannelState WAITING
public static final StreamSinkFrameChannel.ChannelState WAITING_SHUTDOWN
public static final StreamSinkFrameChannel.ChannelState ACTIVE
public static final StreamSinkFrameChannel.ChannelState SHUTDOWN
public static final StreamSinkFrameChannel.ChannelState CLOSED
public static StreamSinkFrameChannel.ChannelState[] values()
for (StreamSinkFrameChannel.ChannelState c : StreamSinkFrameChannel.ChannelState.values()) System.out.println(c);
public static StreamSinkFrameChannel.ChannelState 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 © 2013 JBoss by Red Hat. All rights reserved.