public interface LiveViewConnectionControl
Modifier and Type | Interface and Description |
---|---|
static class |
LiveViewConnectionControl.ConnectionState
The status of this connection
|
Modifier and Type | Method and Description |
---|---|
ConnectionConfig |
getConnectionConfig() |
LiveViewConnectionControl.ConnectionState |
getConnectionState() |
long |
getLastSuccessfulConnect()
If the current status is CONNECTED, this will have the time this connection was made.
|
int |
getRetryCount()
Valid only if the current state is TRYING_TO_CONNECT.
|
java.lang.String |
getUri()
Convenience method that is the same as getConnectionConfig().getUri()
|
com.streambase.liveview.internal.protocol.jaxb.VersionType |
getVersion()
If this server has never been successfully connected to, this value will be null.
|
boolean |
isCurrent() |
void |
setActive(boolean active)
If a connection is set to be inactive, it will stop attempting to connect to the server.
|
ConnectionConfig getConnectionConfig()
java.lang.String getUri()
boolean isCurrent()
LiveViewConnectionControl.ConnectionState getConnectionState()
long getLastSuccessfulConnect()
com.streambase.liveview.internal.protocol.jaxb.VersionType getVersion()
int getRetryCount()
void setActive(boolean active)
active
-