public interface ClientController
| Modifier and Type | Method and Description |
|---|---|
void |
killPublisher(java.lang.String sessionID,
java.lang.String publisherID)
Kills the specific publisher based on ID from the server.
|
SnapshotResult |
killPublishersWithPredicate(java.lang.String predicate)
Kills publishers referring to the rows in the LVSessionPublishers Table that satisfy the predicate against LVSessionPublishers Table.
|
SnapshotResult |
killQueriesWithPredicate(java.lang.String predicate)
Kills queries referring to the rows in the LVSessionQueries Table that satisfy the predicate against LVSessionQueries Table.
|
void |
killQuery(java.lang.String sessionID,
java.lang.String queryID)
Kills the specific query based on ID from the server.
|
void |
killSession(java.lang.String sessionID)
Kills the specific session based on ID from the server.
|
SnapshotResult |
killSessionsWithPredicate(java.lang.String predicate)
Kills sessions referring to the rows in the LVSessions Table that satisfy the predicate against LVSessions Table.
|
void |
stopNewSessions(boolean stopNewSession)
Stops accepting new sessions
|
void killSession(java.lang.String sessionID)
throws LiveViewException
sessionID - The id of the session to killLiveViewException - if there is a problem with the request or network issue, or no session
can be bound with the given idvoid killQuery(java.lang.String sessionID,
java.lang.String queryID)
throws LiveViewException
sessionID - The id of the session that has query to be killedqueryID - The id of the query to killLiveViewException - if there is a problem with the request or network issue, or no query
can be bound with the given idvoid killPublisher(java.lang.String sessionID,
java.lang.String publisherID)
throws LiveViewException
sessionID - The id of the session that has the publisher to be killedpublisherID - The id of the publisher to killLiveViewException - if there is a problem with the request or network issue, or no publisher
can be bound with the given idSnapshotResult killSessionsWithPredicate(java.lang.String predicate) throws LiveViewException
predicate - the predicate to select sessions from LVSessions TableLiveViewException - if there is a problem with the request or network issue.SnapshotResult killQueriesWithPredicate(java.lang.String predicate) throws LiveViewException
predicate - the predicate to select queries from LVSessionQueries TableLiveViewException - if there is a problem with the request or network issue.SnapshotResult killPublishersWithPredicate(java.lang.String predicate) throws LiveViewException
predicate - the predicate to select publishers from LVSessionPublishers TableLiveViewException - if there is a problem with the request or network issue.void stopNewSessions(boolean stopNewSession)
throws LiveViewException
stopNewSession - true to stop new sessions and false to accept new sessionsLiveViewException - if there is a problem with the request or network issue, or in any other way if the service is not executed