public class FolderManager extends Object implements ConnectionStateListener
Modifier and Type | Field and Description |
---|---|
protected Connection |
connection |
Constructor and Description |
---|
FolderManager(Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
addFolderListener(FolderListener listener,
Location location) |
void |
addFolderWatcher(FolderWatcher watcher) |
void |
dispose() |
void |
removeFolderListener(FolderListener listener,
Location location) |
void |
removeFolderWatcher(FolderWatcher watcher) |
void |
stateChange(Connection connection,
ConnectionState state,
Throwable error)
Notify a state change
|
protected Connection connection
public FolderManager(Connection connection)
public void dispose()
public void addFolderListener(FolderListener listener, Location location)
public void addFolderWatcher(FolderWatcher watcher)
public void removeFolderListener(FolderListener listener, Location location)
public void removeFolderWatcher(FolderWatcher watcher)
public void stateChange(Connection connection, ConnectionState state, Throwable error)
ConnectionStateListener
stateChange
in interface ConnectionStateListener
connection
- 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 © 2016 Eclipse NeoSCADA Project. All rights reserved.