public class ServerConnectionImpl extends ServiceServerConnection<Session,Service>
service, session
statistics
Constructor and Description |
---|
ServerConnectionImpl(org.apache.mina.core.session.IoSession session,
Service service) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected int |
getMaxDataSize() |
protected void |
handleChangeQueryParameters(ChangeQueryParameters message) |
protected void |
handleCloseQuery(CloseQuery message) |
protected void |
handleCreateQuery(CreateQuery message) |
protected void |
handleListChanged(Set<HistoricalItemInformation> addedOrModified,
Set<String> removed,
boolean full) |
void |
messageReceived(Object message) |
void |
sendQueryData(long queryId,
int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation) |
void |
sendQueryParameters(long queryId,
QueryParameters parameters,
Set<String> valueTypes) |
void |
sendQueryState(long queryId,
QueryState state) |
createCallbackHandler, createSession, failSession, handleCreateSession, initializeSession, makePrivilegeChangeMessage, setSession
getSslSession, handleMessageReceived, requestClose, sendMessage
public ServerConnectionImpl(org.apache.mina.core.session.IoSession session, Service service)
protected int getMaxDataSize()
public void dispose()
dispose
in class ServiceServerConnection<Session,Service>
public void messageReceived(Object message) throws Exception
messageReceived
in class ServiceServerConnection<Session,Service>
Exception
protected void handleListChanged(Set<HistoricalItemInformation> addedOrModified, Set<String> removed, boolean full)
protected void handleChangeQueryParameters(ChangeQueryParameters message)
protected void handleCloseQuery(CloseQuery message)
protected void handleCreateQuery(CreateQuery message)
public void sendQueryData(long queryId, int index, Map<String,List<Double>> values, List<ValueInformation> valueInformation)
public void sendQueryParameters(long queryId, QueryParameters parameters, Set<String> valueTypes)
public void sendQueryState(long queryId, QueryState state)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.