public class ProxyFolder extends Object implements Folder, FolderListener
| Constructor and Description |
|---|
ProxyFolder(FolderManager folderManager,
ProxyGroup proxyGroup,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
void |
added()
Called when the folder was added to the browser space
|
void |
folderChanged(Collection<Entry> added,
Collection<String> removed,
boolean full)
Provide changes to the listener
|
Entry[] |
list(Stack<String> path) |
void |
removed()
Called when the folder was removed from the browser space
|
void |
subscribe(Stack<String> path,
FolderListener listener,
Object tag) |
void |
unsubscribe(Stack<String> path,
Object tag) |
public ProxyFolder(FolderManager folderManager, ProxyGroup proxyGroup, Location location)
folderManager - proxyGroup - location - public void added()
Folderpublic Entry[] list(Stack<String> path) throws NoSuchFolderException
list in interface FolderNoSuchFolderExceptionpublic void removed()
Folderpublic void subscribe(Stack<String> path, FolderListener listener, Object tag) throws NoSuchFolderException
subscribe in interface FolderNoSuchFolderExceptionpublic void unsubscribe(Stack<String> path, Object tag) throws NoSuchFolderException
unsubscribe in interface FolderNoSuchFolderExceptionpublic void folderChanged(Collection<Entry> added, Collection<String> removed, boolean full)
FolderListenerIf either no items were added or removed the corresponding list must still be not null. The lists may not be altered by the listener implementations and may by unmodifiable.
folderChanged in interface FolderListeneradded - the folder entries that were addedremoved - the folder entries that where removedfull - true if this is not a change but a full
transmission, in this case the removed parameter
must be empty or null.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.