public interface ClientController
Modifier and Type | Method and Description |
---|---|
void |
killPublisher(String sessionID,
String publisherID)
Kills the specific publisher based on ID from the server.
|
SnapshotResult |
killPublishersWithPredicate(String predicate)
Kills publishers referring to the rows in the LVSessionPublishers Table that satisfy the predicate against LVSessionPublishers Table.
|
SnapshotResult |
killQueriesWithPredicate(String predicate)
Kills queries referring to the rows in the LVSessionQueries Table that satisfy the predicate against LVSessionQueries Table.
|
void |
killQuery(String sessionID,
String queryID)
Kills the specific query based on ID from the server.
|
void |
killSession(String sessionID)
Kills the specific session based on ID from the server.
|
SnapshotResult |
killSessionsWithPredicate(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(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(String sessionID, 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(String sessionID, 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(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(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(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