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() |
void |
handleBrowseDataChanged(BrowserListenerManager browserListenerManager,
List<BrowserEntry> addedOrUpdated,
Set<String> removed,
boolean full) |
protected void |
handleEventDataChange(String eventPoolId,
List<Event> addedEvents) |
protected void |
handleEventStatusChange(String eventPoolId,
SubscriptionState state) |
protected void |
handleMonitorDataChanged(String monitorPoolId,
List<MonitorStatusInformation> addedOrUpdated,
Set<String> removed,
boolean full) |
protected void |
handleMonitorStatusChange(String monitorPoolId,
SubscriptionState state) |
protected void |
initializeSession(Session session) |
void |
messageReceived(Object message) |
void |
sendQueryData(QueryImpl queryImpl,
List<Event> events) |
void |
sendQueryState(QueryImpl queryImpl,
QueryState state,
Throwable error) |
createCallbackHandler, createSession, failSession, handleCreateSession, makePrivilegeChangeMessage, setSession
getSslSession, handleMessageReceived, requestClose, sendMessage
public ServerConnectionImpl(org.apache.mina.core.session.IoSession session, Service service)
public void dispose()
dispose
in class ServiceServerConnection<Session,Service>
protected void initializeSession(Session session)
initializeSession
in class ServiceServerConnection<Session,Service>
protected void handleEventDataChange(String eventPoolId, List<Event> addedEvents)
protected void handleMonitorDataChanged(String monitorPoolId, List<MonitorStatusInformation> addedOrUpdated, Set<String> removed, boolean full)
protected void handleEventStatusChange(String eventPoolId, SubscriptionState state)
protected void handleMonitorStatusChange(String monitorPoolId, SubscriptionState state)
public void messageReceived(Object message) throws Exception
messageReceived
in class ServiceServerConnection<Session,Service>
Exception
public void sendQueryState(QueryImpl queryImpl, QueryState state, Throwable error)
public void handleBrowseDataChanged(BrowserListenerManager browserListenerManager, List<BrowserEntry> addedOrUpdated, Set<String> removed, boolean full)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.