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 |
---|---|
protected List<FactoryInformation> |
convertFactories(Factory[] factories) |
protected FactoryInformation |
convertFactory(FactoryWithData result) |
protected void |
handleApplyDiff(ApplyDiffRequest message) |
protected void |
handleGetConfigurationRequest(GetConfigurationRequest message) |
protected void |
handleGetFactories(GetFactoriesRequest message) |
protected void |
handleGetFactoryWithData(GetFactoryWithDataRequest message) |
void |
messageReceived(Object message) |
createCallbackHandler, createSession, dispose, failSession, handleCreateSession, initializeSession, makePrivilegeChangeMessage, setSession
getSslSession, handleMessageReceived, requestClose, sendMessage
public ServerConnectionImpl(org.apache.mina.core.session.IoSession session, Service service)
public void messageReceived(Object message) throws Exception
messageReceived
in class ServiceServerConnection<Session,Service>
Exception
protected void handleApplyDiff(ApplyDiffRequest message) throws InvalidSessionException
InvalidSessionException
protected void handleGetConfigurationRequest(GetConfigurationRequest message) throws InvalidSessionException
InvalidSessionException
protected void handleGetFactoryWithData(GetFactoryWithDataRequest message) throws InvalidSessionException
InvalidSessionException
protected void handleGetFactories(GetFactoriesRequest message) throws InvalidSessionException
InvalidSessionException
protected FactoryInformation convertFactory(FactoryWithData result)
protected List<FactoryInformation> convertFactories(Factory[] factories)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.