T
- The type of the underlying connection widget for the viz
connections that can be listened to.public interface IVizConnectionListener<T>
IVizConnection
s to be notified when the connection's status changes.Modifier and Type | Method and Description |
---|---|
void |
connectionStateChanged(IVizConnection<T> connection,
ConnectionState state,
java.lang.String message)
Notifies the listener that the connection's state has changed.
|
void connectionStateChanged(IVizConnection<T> connection, ConnectionState state, java.lang.String message)
connection
- The connection whose state changed.state
- The new state of the connection.message
- A descriptive message to go along with the state change. This
is particularly useful if the connection failed.