public interface Connection extends Connection
Modifier and Type | Method and Description |
---|---|
void |
addListListener(ItemListListener listener)
Add a new listener to the connection in order to receive item list
updates.
|
Query |
createQuery(String itemId,
QueryParameters parameters,
QueryListener listener,
boolean updateData)
Create a new query on the server
|
void |
removeListListener(ItemListListener listener)
Remove a listener from the connection
|
addConnectionStateListener, addPrivilegeListener, connect, connect, disconnect, dispose, getConnectionInformation, getPrivileges, getSessionProperties, getState, removeConnectionStateListener, removePrivilegeListener, setCallbackFactory
Query createQuery(String itemId, QueryParameters parameters, QueryListener listener, boolean updateData)
itemId
- the historical item to queryparameters
- the initial query parameterslistener
- the listener that will receive dataupdateData
- true
if the query should provide continuous
updates, false
if the query should only be
executed once an not data
updates should be delivered after the query state changed to
QueryState.COMPLETE
.null
is never returnedvoid addListListener(ItemListListener listener)
A new listener will also receive any already known items.
listener
- the listener to addvoid removeListListener(ItemListListener listener)
listener
- the listener to removeCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.