public class ProxyConnection extends Object implements org.eclipse.scada.utils.lifecycle.LifecycleAware
| Modifier and Type | Field and Description |
|---|---|
static String |
ITEM_PREFIX
item name for items which are only relevant for proxy server
|
| Constructor and Description |
|---|
ProxyConnection(Hive hive,
ProxyPrefixName prefix,
FolderCommon connectionsFolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(Connection connection,
String id,
ProxyPrefixName proxyPrefixName) |
protected DataItemInputChained |
createItem(String localId) |
ProxyPrefixName |
getPrefix() |
ProxyDataItem |
realizeItem(String id) |
void |
setWait(int wait) |
void |
start() |
void |
stop() |
protected void |
switchTo(ProxySubConnectionId id) |
protected void |
switchTo(String newId) |
public static final String ITEM_PREFIX
public ProxyConnection(Hive hive, ProxyPrefixName prefix, FolderCommon connectionsFolder)
hive - prefix - connectionsFolder - protected DataItemInputChained createItem(String localId)
public void start()
start in interface org.eclipse.scada.utils.lifecycle.LifecycleAwareprotected void switchTo(String newId)
protected void switchTo(ProxySubConnectionId id)
public ProxyDataItem realizeItem(String id)
id - public void stop()
stop in interface org.eclipse.scada.utils.lifecycle.LifecycleAwarepublic ProxyPrefixName getPrefix()
public void setWait(int wait)
public void addConnection(Connection connection, String id, ProxyPrefixName proxyPrefixName) throws org.eclipse.scada.core.InvalidOperationException, org.eclipse.scada.core.NullValueException, org.eclipse.scada.core.NotConvertableException
org.eclipse.scada.core.InvalidOperationExceptionorg.eclipse.scada.core.NullValueExceptionorg.eclipse.scada.core.NotConvertableException