public class OPCServer extends BaseCOMObject
| Constructor and Description |
|---|
OPCServer(IJIComObject opcServer) |
| Modifier and Type | Method and Description |
|---|---|
OPCGroupStateMgt |
addGroup(String name,
boolean active,
int updateRate,
int clientHandle,
Integer timeBias,
Float percentDeadband,
int localeID) |
OPCBrowseServerAddressSpace |
getBrowser()
Get the browser object (
IOPCBrowseServerAddressSpace) from the server instance |
OPCCommon |
getCommon()
Get the common interface if supported
|
OPCGroupStateMgt |
getGroupByName(String name) |
EnumString |
getGroups(OPCENUMSCOPE scope)
Get the groups
|
OPCItemIO |
getItemIOService() |
OPCItemProperties |
getItemPropertiesService() |
OPCSERVERSTATUS |
getStatus()
Retrieve the current server status
|
void |
removeGroup(int serverHandle,
boolean force) |
void |
removeGroup(OPCGroupStateMgt group,
boolean force) |
getCOMObjectpublic OPCServer(IJIComObject opcServer) throws IllegalArgumentException, UnknownHostException, JIException
public OPCSERVERSTATUS getStatus() throws JIException
JIExceptionpublic OPCGroupStateMgt addGroup(String name, boolean active, int updateRate, int clientHandle, Integer timeBias, Float percentDeadband, int localeID) throws JIException, IllegalArgumentException, UnknownHostException
public void removeGroup(int serverHandle,
boolean force)
throws JIException
JIExceptionpublic void removeGroup(OPCGroupStateMgt group, boolean force) throws JIException
JIExceptionpublic OPCGroupStateMgt getGroupByName(String name) throws JIException, IllegalArgumentException, UnknownHostException
public EnumString getGroups(OPCENUMSCOPE scope) throws JIException, IllegalArgumentException, UnknownHostException
scope - The scope to getJIExceptionIllegalArgumentExceptionUnknownHostExceptionpublic OPCItemProperties getItemPropertiesService()
public OPCItemIO getItemIOService()
public OPCBrowseServerAddressSpace getBrowser()
IOPCBrowseServerAddressSpace) from the server instancepublic OPCCommon getCommon()
null if it is not supportedCopyright © 2017 LSST. All rights reserved.