public class ConnectWaitController extends Object implements ConnectionStateListener
Connection.connect() call a synchronous operation| Constructor and Description |
|---|
ConnectWaitController(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
connect(int timeout) |
void |
stateChange(Connection connection,
ConnectionState state,
Throwable error)
Notify a state change
|
public ConnectWaitController(Connection connection)
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.