public class OPCBrowseServerAddressSpace extends BaseCOMObject
IOPCBrowseServerAddressSpace| Constructor and Description |
|---|
OPCBrowseServerAddressSpace(IJIComObject opcServer) |
| Modifier and Type | Method and Description |
|---|---|
EnumString |
browse(OPCBROWSETYPE browseType,
String filterCriteria,
int accessRights,
int dataType) |
EnumString |
browseAccessPaths(String itemID)
Return the possible access paths for an item
|
void |
changePosition(String position,
OPCBROWSEDIRECTION direction)
Direct the browser to another position
Depending on the direction the new position will be set based on the provided
position information.
|
String |
getItemID(String item)
Get the complete item id from an item at the local position.
|
OPCNAMESPACETYPE |
queryOrganization()
Get the information how the namespace is organized
|
getCOMObjectpublic OPCBrowseServerAddressSpace(IJIComObject opcServer) throws IllegalArgumentException, UnknownHostException, JIException
public OPCNAMESPACETYPE queryOrganization() throws JIException
JIExceptionpublic void changePosition(String position, OPCBROWSEDIRECTION direction) throws JIException
OPCBROWSEDIRECTION.OPC_BROWSE_TO then
the position is the item to go to. If the direction is OPCBROWSEDIRECTION.OPC_BROWSE_DOWN
the browser will descent into the tree down (not to) the branch item in position.
Passing OPCBROWSEDIRECTION.OPC_BROWSE_UP won't need a position (pass null)
and will ascent in the tree one level.
Passing OPCBROWSEDIRECTION.OPC_BROWSE_TO and null as position will
go to the first root entry of the namespace.position - The item position reference for the directiondirection - The direction to go based on the positionJIExceptionpublic EnumString browse(OPCBROWSETYPE browseType, String filterCriteria, int accessRights, int dataType) throws JIException, IllegalArgumentException, UnknownHostException
public EnumString browseAccessPaths(String itemID) throws JIException, IllegalArgumentException, UnknownHostException
itemID - the item to queryJIExceptionIllegalArgumentExceptionUnknownHostExceptionpublic String getItemID(String item) throws JIException
item - the local itemJIExceptionCopyright © 2017 LSST. All rights reserved.