public class ConnectionAnalyzer extends java.lang.Object implements ConnectionStateListener
| Constructor and Description |
|---|
ConnectionAnalyzer(java.util.concurrent.ScheduledExecutorService executor,
BundleContext context,
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected void |
handleConnect() |
protected void |
handleDisconnect() |
protected void |
refresh() |
void |
stateChange(Connection connection,
ConnectionState state,
java.lang.Throwable error)
Notify a state change
|
public ConnectionAnalyzer(java.util.concurrent.ScheduledExecutorService executor,
BundleContext context,
reference,
ConnectionService service)
protected void refresh()
protected void handleDisconnect()
protected void handleConnect()
public void dispose()
public 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