public abstract class AbstractConnectionService extends java.lang.Object implements ConnectionService, ConnectionInformationProvider
| Modifier and Type | Field and Description |
|---|---|
protected StatisticsImpl |
statistics |
CONNECTION_URI| Constructor and Description |
|---|
AbstractConnectionService(java.lang.Integer autoReconnectDelay,
boolean lazyActivation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConnect() |
void |
connect() |
void |
disconnect() |
void |
dispose() |
AutoReconnectController |
getAutoReconnectController() |
java.lang.String |
getLabel() |
java.util.Collection<StatisticEntry> |
getStatistics() |
protected void |
performConnect() |
protected void |
performDisconnect() |
void |
setConnectCallbackHandler(CallbackHandler callbackHandler) |
protected void |
setConnection(Connection connection) |
protected boolean |
shouldConnect() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, getSupportedInterfacespublic AbstractConnectionService(java.lang.Integer autoReconnectDelay,
boolean lazyActivation)
public void setConnectCallbackHandler(CallbackHandler callbackHandler)
setConnectCallbackHandler in interface ConnectionServiceprotected void setConnection(Connection connection)
public void dispose()
dispose in interface ConnectionServicepublic AutoReconnectController getAutoReconnectController()
getAutoReconnectController in interface ConnectionServiceprotected boolean shouldConnect()
protected void checkConnect()
public void connect()
connect in interface ConnectionServiceprotected void performConnect()
public void disconnect()
disconnect in interface ConnectionServiceprotected void performDisconnect()
public java.lang.String getLabel()
getLabel in interface ConnectionInformationProviderpublic java.util.Collection<StatisticEntry> getStatistics()
getStatistics in interface ConnectionInformationProvider
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