public class QueryHandler extends Object implements QueryListener
| Constructor and Description |
|---|
QueryHandler(long id,
ServerConnectionImpl connectionHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeParameters(QueryParameters parameters) |
void |
close() |
void |
setQuery(Query query) |
void |
updateData(int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation)
Reports data update
|
void |
updateParameters(QueryParameters parameters,
Set<String> valueTypes)
Reports a change in parameters
|
void |
updateState(QueryState state)
Updates the state of the query
|
public QueryHandler(long id,
ServerConnectionImpl connectionHandler)
public void updateData(int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation)
QueryListenerAll arrays must have the same size.
updateData in interface QueryListenerindex - index from which the data update starts, must be greater or
equal to zero
and lower than the reported number of entriesvalues - the values that are updates, must not be nullvalueInformation - the value information for the provided values. must not be
nullpublic void updateParameters(QueryParameters parameters, Set<String> valueTypes)
QueryListenerupdateParameters in interface QueryListenerparameters - the new parameters, must not be nullvalueTypes - the new value types to expect, must not be null
or emptypublic void updateState(QueryState state)
QueryListenerupdateState in interface QueryListenerstate - the new statepublic void setQuery(Query query)
public void close()
public void changeParameters(QueryParameters parameters)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.