public abstract class BrowseOperationIntercept extends java.lang.Object implements BrowseOperation
Modifier and Type | Field and Description |
---|---|
protected BrowseOperation |
browseOperation |
Constructor and Description |
---|
BrowseOperationIntercept(BrowseOperation browseOperation) |
Modifier and Type | Method and Description |
---|---|
void |
browseDone(StatusCode status,
java.util.List<java.lang.String> children,
Guid guid)
Callback for when the browsing finishes.
|
java.lang.String |
getStartingAddress()
Returns the address of a folder or object to start the browse at.
|
protected abstract void |
interceptBrowseDone(StatusCode status,
java.util.List<java.lang.String> children,
Guid guid) |
protected abstract java.lang.String |
interceptGetStartingAddress() |
protected final BrowseOperation browseOperation
public BrowseOperationIntercept(BrowseOperation browseOperation)
public java.lang.String getStartingAddress()
BrowseOperation
getStartingAddress
in interface BrowseOperation
protected abstract java.lang.String interceptGetStartingAddress()
public void browseDone(StatusCode status, java.util.List<java.lang.String> children, Guid guid)
BrowseOperation
browseDone
in interface BrowseOperation
status
- The status code for this browse. If the status is good, then nodes should
be non-null, otherwise, nodes will be ignored.children
- Addresses of the child nodes under the starting address.guid
- A serial number for the address space of the driver being browsed. This should be
incremented any time the browse structure is changed.protected abstract void interceptBrowseDone(StatusCode status, java.util.List<java.lang.String> children, Guid guid)