public class NotifyConnectionErrorListener extends java.lang.Object implements ConnectionStateListener
| Constructor and Description |
|---|
NotifyConnectionErrorListener(ProxyGroup proxyConnection)
needs connection to iterate over registered items
|
| Modifier and Type | Method and Description |
|---|---|
void |
stateChange(Connection connection,
ConnectionState state,
java.lang.Throwable error)
either sends connection state straight away, or schedules it for later execution
|
public NotifyConnectionErrorListener(ProxyGroup proxyConnection)
proxyConnection - public void stateChange(Connection connection, ConnectionState state, java.lang.Throwable error)
stateChange 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)ConnectionStateListener.stateChange(org.eclipse.scada.core.client.Connection, org.eclipse.scada.core.client.ConnectionState, java.lang.Throwable)
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