public static enum SubscriberEvent.Type extends java.lang.Enum<SubscriberEvent.Type>
| Enum Constant and Description |
|---|
CLOSED |
CONNECTED
Connection open
|
DATA
There is data on the line.
|
DATA_INVALID
The data is invalid.
|
DATA_LOST |
DISCONNECTED
Connection closed
|
ERROR |
OPENED
Deprecated.
this will never be sent
|
STREAM_EXIT
An error has occurred with a particular stream in the server.
|
SUBSCRIBED
A subscription request completed
|
SYNC_END
Sync end / end of image.
|
SYNC_START
Sync start / start of image.
|
UNSUBSCRIBED
An unsubscription request has completed
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static SubscriberEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriberEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriberEvent.Type OPENED
public static final SubscriberEvent.Type CONNECTED
public static final SubscriberEvent.Type SUBSCRIBED
public static final SubscriberEvent.Type UNSUBSCRIBED
public static final SubscriberEvent.Type DISCONNECTED
public static final SubscriberEvent.Type CLOSED
public static final SubscriberEvent.Type DATA
public static final SubscriberEvent.Type SYNC_START
public static final SubscriberEvent.Type SYNC_END
public static final SubscriberEvent.Type DATA_INVALID
public static final SubscriberEvent.Type STREAM_EXIT
public static final SubscriberEvent.Type DATA_LOST
public static final SubscriberEvent.Type ERROR
public static SubscriberEvent.Type[] values()
for (SubscriberEvent.Type c : SubscriberEvent.Type.values()) System.out.println(c);
public static SubscriberEvent.Type 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 boolean isFinal()