public class ConnectWaitController extends Object implements ConnectionStateListener
Connection.connect()
call a synchronous operationConstructor 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)
ConnectionStateListener
stateChange
in interface ConnectionStateListener
connection
- 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.