Package org.openscada.opc.dcom.da.impl
Class OPCGroupStateMgt
java.lang.Object
org.openscada.opc.dcom.common.impl.BaseCOMObject
org.openscada.opc.dcom.da.impl.OPCGroupStateMgt
Implementation of
IOPCGroupStateMgt- Author:
- Jens Reimann jens.reimann@th4-systems.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattach(IOPCDataCallback callback) Attach a new callback to the groupClone the groupgetState()voidRename to groupintsetState(Integer requestedUpdateRate, Boolean active, Integer timeBias, Float percentDeadband, Integer localeID, Integer clientHandle) Set the group state Leaving any of the parametersnullwill keep the current value untouched.Methods inherited from class org.openscada.opc.dcom.common.impl.BaseCOMObject
getCOMObject
-
Constructor Details
-
OPCGroupStateMgt
public OPCGroupStateMgt(org.jinterop.dcom.core.IJIComObject opcGroup) throws IllegalArgumentException, UnknownHostException, org.jinterop.dcom.common.JIException - Throws:
IllegalArgumentExceptionUnknownHostExceptionorg.jinterop.dcom.common.JIException
-
-
Method Details
-
getState
- Throws:
org.jinterop.dcom.common.JIException
-
setState
public int setState(Integer requestedUpdateRate, Boolean active, Integer timeBias, Float percentDeadband, Integer localeID, Integer clientHandle) throws org.jinterop.dcom.common.JIException Set the group state Leaving any of the parametersnullwill keep the current value untouched.- Parameters:
requestedUpdateRate- the requested update rateactive- Flag if the group is active or nottimeBias- The time biaspercentDeadband- the deadband percentlocaleID- the locale IDclientHandle- the client handle- Returns:
- the granted update rate
- Throws:
org.jinterop.dcom.common.JIException
-
getItemManagement
- Throws:
org.jinterop.dcom.common.JIException
-
setName
Rename to group- Parameters:
name- the new name- Throws:
org.jinterop.dcom.common.JIException
-
clone
public OPCGroupStateMgt clone(String name) throws org.jinterop.dcom.common.JIException, IllegalArgumentException, UnknownHostException Clone the group- Parameters:
name- the name of the cloned group- Returns:
- The cloned group
- Throws:
org.jinterop.dcom.common.JIExceptionUnknownHostExceptionIllegalArgumentException
-
attach
Attach a new callback to the group- Parameters:
callback- The callback to attach- Returns:
- The event handler information
- Throws:
org.jinterop.dcom.common.JIException
-
getAsyncIO2
-
getSyncIO
-