public class Connection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Connection.FullAddress |
Constructor and Description |
---|
Connection(String id,
Hive hive,
Executor executor,
ConnectionConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected void |
handleDataUpdate(ASDUAddress commonAddress,
InformationObjectAddress objectAddress,
Value<?> value) |
protected void |
handleDisconnected() |
protected NotifyFuture<WriteResult> |
handleStartWriteValue(ASDUAddress commonAddress,
InformationObjectAddress objectAddress,
Variant value,
OperationParameters operationParameters) |
protected void |
handleStateChanged(AutoConnectClient.State state,
Throwable e) |
Connection.FullAddress |
parseFullAddress(String address) |
void |
reconnect()
Terminate the connection and let the auto reconnect controller re-connect
|
protected void |
setStarted(boolean value) |
public Connection(String id, Hive hive, Executor executor, ConnectionConfiguration configuration)
protected void setStarted(boolean value)
protected void handleDisconnected()
protected void handleDataUpdate(ASDUAddress commonAddress, InformationObjectAddress objectAddress, Value<?> value)
protected NotifyFuture<WriteResult> handleStartWriteValue(ASDUAddress commonAddress, InformationObjectAddress objectAddress, Variant value, OperationParameters operationParameters)
public Connection.FullAddress parseFullAddress(String address)
protected void handleStateChanged(AutoConnectClient.State state, Throwable e)
public void dispose()
public void reconnect()
Copyright © 2017 Eclipse NeoSCADA Project. All rights reserved.