public enum NotificationType extends java.lang.Enum<NotificationType>
NotificationType
enum represents the defined types of notifications that can be received by a client application.
The NotificationType
value is sent to the applcation within a NotificationEventI
object through the listener
interfaces. It identifies what type of notification the NotificationEventI
represents.
Enum Constant and Description |
---|
DELETE
Indicates that a
NotificationEventI is being sent to notify the application that an existing object has been
deleted. |
ERROR
Indicates that a
NotificationEventI is being sent to notify the application that a request invoked on an object has
failed with an error. |
NEW
Indicates that a
NotificationEventI is being sent to notify the application of a newly created object. |
OPEN
A special type of
NotificationEventI which indicates that a MediaI channel has been opened for a multimedia InteractionI . |
RESPONSE
Indicates that a
NotificationEventI is being sent to carry requested data to the application. |
UNKNOWN |
UPDATE
Indicates that a
NotificationEventI is being sent to notify the application of an update to an existing object. |
Modifier and Type | Method and Description |
---|---|
static NotificationType |
get(java.lang.String typeName) |
static NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationType NEW
NotificationEventI
is being sent to notify the application of a newly created object.public static final NotificationType UPDATE
NotificationEventI
is being sent to notify the application of an update to an existing object.public static final NotificationType DELETE
NotificationEventI
is being sent to notify the application that an existing object has been
deleted.public static final NotificationType ERROR
NotificationEventI
is being sent to notify the application that a request invoked on an object has
failed with an error.public static final NotificationType RESPONSE
NotificationEventI
is being sent to carry requested data to the application.public static final NotificationType OPEN
NotificationEventI
which indicates that a MediaI
channel has been opened for a multimedia InteractionI
.public static final NotificationType UNKNOWN
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType 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 namejava.lang.NullPointerException
- if the argument is nullpublic static NotificationType get(java.lang.String typeName)