public class ProxySubConnection extends java.lang.Object implements ConnectionStateListener
| Constructor and Description |
|---|
ProxySubConnection(Connection connection,
ProxyPrefixName parentName,
ProxySubConnectionId id,
ProxyPrefixName prefix,
Hive hive,
FolderCommon connectionFolder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connect() |
protected void |
disconnect() |
void |
dispose() |
Connection |
getConnection() |
FolderManager |
getFolderManager() |
ProxySubConnectionId |
getId() |
ItemManager |
getItemManager() |
ProxyPrefixName |
getPrefix() |
void |
stateChange(Connection connection,
ConnectionState state,
java.lang.Throwable error)
Notify a state change
|
public ProxySubConnection(Connection connection, ProxyPrefixName parentName, ProxySubConnectionId id, ProxyPrefixName prefix, Hive hive, FolderCommon connectionFolder)
connection - id - prefix - connectionFolder - hive - protected void disconnect()
protected void connect()
public ItemManager getItemManager()
public Connection getConnection()
public ProxyPrefixName getPrefix()
public ProxySubConnectionId getId()
public FolderManager getFolderManager()
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