|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChannelState.EventName>
gr.uoa.di.madgik.commons.channel.events.ChannelState.EventName
public static enum ChannelState.EventName
The Events that can be registered for, exposed and send. This enumeration is used so that someone that wants to throw a specific event can request for it by name. This is a needed simplification because of the pattern mechanics of Observer-Observable used instead of the Event-Listener one.
Enum Constant Summary | |
---|---|
BytePayload
Typed name for the BytePayloadChannelEvent |
|
DisposeChannel
Typed name for the DisposeChannelEvent |
|
ObjectPayload
Typed name for the ObjectPayloadChannelEvent |
|
StringPayload
Typed name for the StringPayloadChannelEvent |
Method Summary | |
---|---|
static ChannelState.EventName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChannelState.EventName[] |
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 |
---|
public static final ChannelState.EventName DisposeChannel
DisposeChannelEvent
public static final ChannelState.EventName BytePayload
BytePayloadChannelEvent
public static final ChannelState.EventName StringPayload
StringPayloadChannelEvent
public static final ChannelState.EventName ObjectPayload
ObjectPayloadChannelEvent
Method Detail |
---|
public static ChannelState.EventName[] values()
for (ChannelState.EventName c : ChannelState.EventName.values()) System.out.println(c);
public static ChannelState.EventName valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |