public class BaseBrowser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
_batchSize
The batch size is the number of entries that will be requested with one call
from the server.
|
protected OPCBrowseServerAddressSpace |
_browser |
| Constructor and Description |
|---|
BaseBrowser(OPCBrowseServerAddressSpace browser) |
BaseBrowser(OPCBrowseServerAddressSpace browser,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
browse(OPCBROWSETYPE type,
String filterCriteria,
EnumSet<Access> accessMask,
int variantType)
Perform the browse operation.
|
Collection<String> |
getAccessPaths(String itemId)
Browse the access paths for one item.
|
int |
getBatchSize()
Get the batch size
|
void |
setBatchSize(int batchSize)
Set the batch size
|
protected OPCBrowseServerAddressSpace _browser
protected int _batchSize
EnumString.DEFAULT_BATCH_SIZE
and can be overridden by the java property openscada.dcom.enum-batch-size.
public BaseBrowser(OPCBrowseServerAddressSpace browser)
public BaseBrowser(OPCBrowseServerAddressSpace browser, int batchSize)
public void setBatchSize(int batchSize)
batchSize - The new batch sizepublic int getBatchSize()
protected Collection<String> browse(OPCBROWSETYPE type, String filterCriteria, EnumSet<Access> accessMask, int variantType) throws IllegalArgumentException, UnknownHostException, JIException
type - filterCriteria - accessMask - variantType - IllegalArgumentExceptionUnknownHostExceptionJIExceptionpublic Collection<String> getAccessPaths(String itemId) throws IllegalArgumentException, UnknownHostException, JIException
itemId - The item ID to look up the access pathsJIExceptionUnknownHostExceptionIllegalArgumentExceptionCopyright © 2017 LSST. All rights reserved.