DOFObjectinvoke Method (DOFInterfaceMethod, IListDOFValue, Int32)OpenDOF Object Access Library
Used by a Requestor to invoke (or call) a method.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFResult<IList<DOFValue>> invoke(
	DOFInterfaceMethod method,
	IList<DOFValue> parameters,
	int timeout
)

Parameters

method
Type: org.opendof.core.oalDOFInterfaceMethod
The method. Must not be null.
parameters
Type: System.Collections.GenericIListDOFValue
The method's parameter list. The data types must match the method's defined parameter types. Null is the same as an empty parameter list.
timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result of the operation. Must be >= 0.

Return Value

Type: DOFResultIListDOFValue
The method return value. For broadcast requests, only the first result received is returned -- use beginInvoke to get multiple results.
Exceptions

ExceptionCondition
DOFExceptionIndicates an error occurred.
DOFException
Remarks

Used by a Requestor to invoke (or call) a method.
See Also

Reference

beginInvoke(Method, int, DOFValue[])