Class Helper
java.lang.Object
org.openscada.opc.dcom.common.impl.Helper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]callRespectSFALSE(org.jinterop.dcom.core.IJIComObject object, org.jinterop.dcom.core.JICallBuilder callObject) Make the COM call but do not treat S_FALSE as error condition for the whole callstatic org.jinterop.dcom.core.JIVariantfixVariant(org.jinterop.dcom.core.JIVariant value) Perform some fixes on the variant when writing it to OPC items.
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
callRespectSFALSE
public static Object[] callRespectSFALSE(org.jinterop.dcom.core.IJIComObject object, org.jinterop.dcom.core.JICallBuilder callObject) throws org.jinterop.dcom.common.JIException Make the COM call but do not treat S_FALSE as error condition for the whole call- Parameters:
object- the object to make to call oncallObject- the call object- Returns:
- the result of the call
- Throws:
org.jinterop.dcom.common.JIException
-
fixVariant
public static org.jinterop.dcom.core.JIVariant fixVariant(org.jinterop.dcom.core.JIVariant value) throws org.jinterop.dcom.common.JIException Perform some fixes on the variant when writing it to OPC items. This method only changes control information on the variant and not the value itself!- Parameters:
value- the value to fix- Returns:
- the fixed value
- Throws:
org.jinterop.dcom.common.JIException- In case something goes wrong
-