public interface Connection extends Connection
Modifier and Type | Method and Description |
---|---|
NotifyFuture<Void> |
acknowledge(String monitorId,
Date aknTimestamp,
OperationParameters operationParameters,
CallbackHandler callbackHandler)
Acknowledge the monitor if the akn state was reached at or before the
provided timestamp
|
void |
addBrowserListener(BrowserListener listener)
Add browser listener
|
Query |
createQuery(String queryType,
String queryData,
QueryListener listener) |
void |
removeBrowserListener(BrowserListener listener) |
void |
setEventListener(String eventQueryId,
EventListener listener)
Set the listener that should receive event updates
|
void |
setMonitorListener(String monitorQueryId,
MonitorListener listener)
Set the listener that should receive monitor updates
|
addConnectionStateListener, addPrivilegeListener, connect, connect, disconnect, dispose, getConnectionInformation, getPrivileges, getSessionProperties, getState, removeConnectionStateListener, removePrivilegeListener, setCallbackFactory
void setMonitorListener(String monitorQueryId, MonitorListener listener)
void setEventListener(String eventQueryId, EventListener listener)
Query createQuery(String queryType, String queryData, QueryListener listener)
void addBrowserListener(BrowserListener listener)
listener
- the listener to addvoid removeBrowserListener(BrowserListener listener)
NotifyFuture<Void> acknowledge(String monitorId, Date aknTimestamp, OperationParameters operationParameters, CallbackHandler callbackHandler)
monitorId
- the id of the conditionaknTimestamp
- the timestamp up to which the state may be acknowledgedoperationParameters
- optionally provide some user information which performs the
aknowledgement. If the information is not provided the current
logged in user will be used. If the information is present but
the current logged in user is not allowed to change the user
performing acknowledgement the server may fall back to use the
actual information of the logged in user instead.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.