public static enum PublisherEvent.Type extends java.lang.Enum<PublisherEvent.Type>
| Enum Constant and Description |
|---|
CLOSED
The
Publisher is closed |
CONNECTED
The
Publisher has connected |
DISCONNECTED
The
Publisher has disconnected |
ERROR
The
Publisher has encounted an error |
OPENED
Deprecated.
this will never be sent
|
READY
The
Publisher is ready to publish data |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static PublisherEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublisherEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublisherEvent.Type OPENED
public static final PublisherEvent.Type CONNECTED
Publisher has connectedpublic static final PublisherEvent.Type DISCONNECTED
Publisher has disconnectedpublic static final PublisherEvent.Type CLOSED
Publisher is closedpublic static final PublisherEvent.Type READY
Publisher is ready to publish datapublic static final PublisherEvent.Type ERROR
Publisher has encounted an errorpublic static PublisherEvent.Type[] values()
for (PublisherEvent.Type c : PublisherEvent.Type.values()) System.out.println(c);
public static PublisherEvent.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()