public class ConnectionHolder
extends AbstractPropertyChange
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_CONNECTION_ERROR |
static java.lang.String |
PROP_CONNECTION_SERVICE |
static java.lang.String |
PROP_CONNECTION_STATE |
| Constructor and Description |
|---|
ConnectionHolder(ConnectionDiscovererBean discoverer,
ConnectionDescriptor info) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
connect(DisplayCallbackHandler callbackHandler) |
void |
disconnect() |
void |
dispose() |
java.lang.Object |
getAdapter(java.lang.Class adapter) |
java.lang.Throwable |
getConnectionError() |
ConnectionDescriptor |
getConnectionInformation() |
ConnectionService |
getConnectionService() |
ConnectionState |
getConnectionState() |
ConnectionDiscovererBean |
getDiscoverer() |
void |
setConnectCallbackHandler(CallbackHandler callbackHandler) |
protected void |
setConnectionError(java.lang.Throwable connectionError) |
protected void |
setConnectionService(ConnectionService connectionService) |
protected void |
setConnectionState(ConnectionState connectionState) |
void |
stateChange(Connection connection,
ConnectionState state,
java.lang.Throwable error) |
java.lang.String |
toString() |
public static final java.lang.String PROP_CONNECTION_SERVICE
public static final java.lang.String PROP_CONNECTION_STATE
public static final java.lang.String PROP_CONNECTION_ERROR
public ConnectionHolder(ConnectionDiscovererBean discoverer, ConnectionDescriptor info)
public void connect()
public void disconnect()
public ConnectionDiscovererBean getDiscoverer()
public java.lang.String toString()
public void dispose()
public ConnectionService getConnectionService()
public ConnectionDescriptor getConnectionInformation()
public ConnectionState getConnectionState()
protected void setConnectionState(ConnectionState connectionState)
public java.lang.Throwable getConnectionError()
protected void setConnectionService(ConnectionService connectionService)
protected void setConnectionError(java.lang.Throwable connectionError)
public void stateChange(Connection connection,
ConnectionState state,
java.lang.Throwable error)
public java.lang.Object getAdapter(java.lang.Class adapter)
public void setConnectCallbackHandler(CallbackHandler callbackHandler)
public void connect(DisplayCallbackHandler callbackHandler)
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