public class StateNotifier
extends java.lang.Object
| Constructor and Description |
|---|
StateNotifier(java.util.concurrent.ExecutorService executor,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionStateListener(ConnectionStateListener connectionStateListener) |
void |
dispose() |
protected void |
doFireConnectionStateChange(ConnectionState connectionState,
java.lang.Throwable error) |
void |
fireConnectionStateChange(ConnectionState connectionState,
java.lang.Throwable error) |
void |
removeConnectionStateListener(ConnectionStateListener connectionStateListener) |
public StateNotifier(java.util.concurrent.ExecutorService executor,
Connection connection)
public void fireConnectionStateChange(ConnectionState connectionState, java.lang.Throwable error)
protected void doFireConnectionStateChange(ConnectionState connectionState, java.lang.Throwable error)
public void addConnectionStateListener(ConnectionStateListener connectionStateListener)
public void removeConnectionStateListener(ConnectionStateListener connectionStateListener)
public void dispose()
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