public class ConnectWaitController extends java.lang.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,
java.lang.Throwable error)
Notify a state change
|
public ConnectWaitController(Connection connection)
public void connect()
throws java.lang.Exception
java.lang.Exceptionpublic void connect(int timeout)
throws java.lang.Exception
java.lang.Exceptionpublic void stateChange(Connection connection, ConnectionState state, java.lang.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 (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0