|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OutgoingMessage.MessageState> com.inspirel.yami.OutgoingMessage.MessageState
public static enum OutgoingMessage.MessageState
Enumeration defining all possible message states.
Enum Constant Summary | |
---|---|
ABANDONED
Message was abandoned due to error or channel closing. |
|
POSTED
Message was posted for transmission. |
|
REJECTED
Message was rejected. |
|
REPLIED
The reply was received for the given message. |
|
TRANSMITTED
Message was fully transmitted. |
Method Summary | |
---|---|
static OutgoingMessage.MessageState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutgoingMessage.MessageState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 OutgoingMessage.MessageState POSTED
public static final OutgoingMessage.MessageState TRANSMITTED
public static final OutgoingMessage.MessageState ABANDONED
public static final OutgoingMessage.MessageState REPLIED
public static final OutgoingMessage.MessageState REJECTED
Method Detail |
---|
public static OutgoingMessage.MessageState[] values()
for (OutgoingMessage.MessageState c : OutgoingMessage.MessageState.values()) System.out.println(c);
public static OutgoingMessage.MessageState 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 |