public class ServerConnectionImpl extends ServiceServerConnection<Session,Hive>
service, session
statistics
Constructor and Description |
---|
ServerConnectionImpl(org.apache.mina.core.session.IoSession session,
Hive service) |
Modifier and Type | Method and Description |
---|---|
protected List<BrowserEntry> |
convertEntries(Entry[] result) |
protected List<AttributeWriteResultEntry> |
convertResult(WriteAttributeResults attributeResult) |
protected void |
handleDataChanged(String itemId,
Variant value,
Map<String,Variant> attributes,
boolean cache) |
protected void |
handleFolderChanged(Location location,
Collection<Entry> added,
Set<String> removed,
boolean full) |
void |
handleMessageReceived(Object message) |
protected void |
handleSubscriptionChanged(String itemId,
SubscriptionState subscriptionState) |
protected void |
initializeSession(Session session) |
createCallbackHandler, createSession, dispose, failSession, handleCreateSession, makePrivilegeChangeMessage, messageReceived, setSession
getSslSession, requestClose, sendMessage
public ServerConnectionImpl(org.apache.mina.core.session.IoSession session, Hive service)
protected void handleDataChanged(String itemId, Variant value, Map<String,Variant> attributes, boolean cache)
protected void handleSubscriptionChanged(String itemId, SubscriptionState subscriptionState)
protected void handleFolderChanged(Location location, Collection<Entry> added, Set<String> removed, boolean full)
protected void initializeSession(Session session)
initializeSession
in class ServiceServerConnection<Session,Hive>
public void handleMessageReceived(Object message) throws Exception
handleMessageReceived
in class ServerConnection
Exception
protected List<AttributeWriteResultEntry> convertResult(WriteAttributeResults attributeResult)
protected List<BrowserEntry> convertEntries(Entry[] result)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.