|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CommunicationEvent.Type>
org.glassfish.cafe.api.bean.CommunicationEvent.Type
public static enum CommunicationEvent.Type
Type or classification of a CommunicationEvent.
| Enum Constant Summary | |
|---|---|
ABORTED
Indicates that Communication has been aborted by the initiator. |
|
ERROR
An unexpected error occurred in the Communication. |
|
ESTABLISHED
An event indicating that the Communication is established. |
|
FAILED
Indicates that Communication has failed. |
|
FINISHED
Communication ended. |
|
INITIALIZATION
Communication is being initialized. |
|
MEDIA
Generic event that act as a capture all for any media event in the media server other than those explicitly captured using MEDIASTARTED or MEDIAENDED events. |
|
MEDIAENDED
Indication that media ended from the media server. |
|
MESSAGEARRIVED
An IM message arrived during an IMConversation. |
|
MESSAGEINDICATION
A Message Indication arrived during an IMConversation. |
|
STARTED
Communication has started. |
|
| Method Summary | |
|---|---|
static CommunicationEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CommunicationEvent.Type[] |
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 CommunicationEvent.Type ABORTED
public static final CommunicationEvent.Type ERROR
public static final CommunicationEvent.Type ESTABLISHED
public static final CommunicationEvent.Type FAILED
public static final CommunicationEvent.Type FINISHED
public static final CommunicationEvent.Type INITIALIZATION
public static final CommunicationEvent.Type STARTED
public static final CommunicationEvent.Type MESSAGEARRIVED
public static final CommunicationEvent.Type MESSAGEINDICATION
MessageIndicationpublic static final CommunicationEvent.Type MEDIAENDED
public static final CommunicationEvent.Type MEDIA
| Method Detail |
|---|
public static CommunicationEvent.Type[] values()
for (CommunicationEvent.Type c : CommunicationEvent.Type.values()) System.out.println(c);
public static CommunicationEvent.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||