public abstract class AbstractItemHolder extends Object
init() in order to start the
listening| Constructor and Description |
|---|
AbstractItemHolder(BundleContext context,
Item item,
ItemListenerHolder.HolderListener holderListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindConnection(org.eclipse.scada.da.connection.provider.ConnectionService connectionService) |
protected org.eclipse.scada.core.connection.provider.ConnectionRequest |
createRequest() |
void |
dispose() |
protected void |
fireConnectionChange(org.eclipse.scada.da.connection.provider.ConnectionService connection) |
protected void |
fireConnectionStateChange(org.eclipse.scada.core.client.Connection connection,
org.eclipse.scada.core.client.ConnectionState state,
Throwable error) |
Item |
getItem() |
protected void |
init() |
protected void |
setConnection(org.eclipse.scada.da.connection.provider.ConnectionService connectionService) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> |
startWrite(org.eclipse.scada.core.Variant value,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> |
startWriteAttributes(Map<String,org.eclipse.scada.core.Variant> attributes,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler) |
protected void |
unbindConnection() |
boolean |
waitForConnection(long timeout) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> |
write(org.eclipse.scada.core.Variant value) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> |
write(org.eclipse.scada.core.Variant value,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> |
writeAtrtibutes(Map<String,org.eclipse.scada.core.Variant> attributes) |
org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> |
writeAtrtibutes(Map<String,org.eclipse.scada.core.Variant> attributes,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler) |
protected final Item item
public AbstractItemHolder(BundleContext context, Item item, ItemListenerHolder.HolderListener holderListener)
protected void init()
protected void setConnection(org.eclipse.scada.da.connection.provider.ConnectionService connectionService)
protected void fireConnectionChange(org.eclipse.scada.da.connection.provider.ConnectionService connection)
protected void fireConnectionStateChange(org.eclipse.scada.core.client.Connection connection,
org.eclipse.scada.core.client.ConnectionState state,
Throwable error)
protected void bindConnection(org.eclipse.scada.da.connection.provider.ConnectionService connectionService)
protected void unbindConnection()
protected org.eclipse.scada.core.connection.provider.ConnectionRequest createRequest()
public void dispose()
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> startWrite(org.eclipse.scada.core.Variant value,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> startWriteAttributes(Map<String,org.eclipse.scada.core.Variant> attributes, org.eclipse.scada.core.data.OperationParameters operationParameters, org.eclipse.scada.sec.callback.CallbackHandler callbackHandler)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> write(org.eclipse.scada.core.Variant value)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteResult> write(org.eclipse.scada.core.Variant value,
org.eclipse.scada.core.data.OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> writeAtrtibutes(Map<String,org.eclipse.scada.core.Variant> attributes)
public org.eclipse.scada.utils.concurrent.NotifyFuture<org.eclipse.scada.da.core.WriteAttributeResults> writeAtrtibutes(Map<String,org.eclipse.scada.core.Variant> attributes, org.eclipse.scada.core.data.OperationParameters operationParameters, org.eclipse.scada.sec.callback.CallbackHandler callbackHandler)
public Item getItem()
public boolean waitForConnection(long timeout)
throws InterruptedException
InterruptedException