public static enum ProjectEvent.Type extends java.lang.Enum<ProjectEvent.Type>
| Enum Constant and Description |
|---|
CLOSED
Indicates that the
Project object is closed and is not accessible. |
CONNECTED
Indicates that a successful connection to a running project has been established.
|
DISCONNECTED
Indicates that connection to the project has been lost.
|
ERROR
An asynchronous command on the
Project has encountered an error. |
SERVER_ALIVE
Not used
|
SERVER_DEAD
Not used
|
STALE
Conenction to the backend project has been lost.
|
UPTODATE
Conenction to the backend project has been re established.
|
WARNING
An asynchronous command on the
Project has a warning. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static ProjectEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectEvent.Type CONNECTED
public static final ProjectEvent.Type DISCONNECTED
Project.disconnect() call or due to errors with the connection. Once a project is disconnected all
its dynamic properties become invalid.public static final ProjectEvent.Type STALE
Project was created with automatic reconnection enabled. The SDK
will try to automatically reconnect if the the Project was create in CALLBACK or SELECT
access modes, and the retry interval option in ProjectOptions is positive.public static final ProjectEvent.Type UPTODATE
ProjectEvent.Type.#STALE) for
details.public static final ProjectEvent.Type CLOSED
Project object is closed and is not accessible. No further events for this object
will be sent.public static final ProjectEvent.Type WARNING
Project has a warning. Use ProjectEvent.getError() to retrieve
details.public static final ProjectEvent.Type ERROR
Project has encountered an error. Use ProjectEvent.getError() to retrieve
details.public static final ProjectEvent.Type SERVER_DEAD
public static final ProjectEvent.Type SERVER_ALIVE
public static ProjectEvent.Type[] values()
for (ProjectEvent.Type c : ProjectEvent.Type.values()) System.out.println(c);
public static ProjectEvent.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()