public class ProxySubConnection extends Object implements ConnectionStateListener
| Constructor and Description |
|---|
ProxySubConnection(Connection connection,
ProxyPrefixName parentName,
ProxySubConnectionId id,
ProxyPrefixName prefix,
Hive hive,
FolderCommon connectionFolder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connect() |
protected void |
disconnect() |
void |
dispose() |
Connection |
getConnection() |
FolderManager |
getFolderManager() |
ProxySubConnectionId |
getId() |
ItemManager |
getItemManager() |
ProxyPrefixName |
getPrefix() |
void |
stateChange(Connection connection,
ConnectionState state,
Throwable error)
Notify a state change
|
public ProxySubConnection(Connection connection, ProxyPrefixName parentName, ProxySubConnectionId id, ProxyPrefixName prefix, Hive hive, FolderCommon connectionFolder)
connection - id - prefix - connectionFolder - hive - protected void disconnect()
protected void connect()
public ItemManager getItemManager()
public Connection getConnection()
public ProxyPrefixName getPrefix()
public ProxySubConnectionId getId()
public FolderManager getFolderManager()
public void dispose()
public void stateChange(Connection connection, ConnectionState state, Throwable error)
ConnectionStateListenerstateChange in interface ConnectionStateListenerconnection - the connection that changedstate - the new state of the connectionerror - some error information that lead to the new state (can be null if it was not an error)Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.