Used by a Requestor to set a property's value asynchronously or to set a property's value on multiple
providers using an object with the
DOFObjectID.BROADCAST
ID.
Note: Since no SetOperationListener is defined the initial result may be obtained by calling Set.waitResult(int) . If the number of responders is unknown -- as is typically the case when making requests on an object with the DOFObjectID.BROADCAST ID -- then:
- The operation will always wait for the entire timeout period.
- Only the initial result will be available. To receive multiple responses specify a listener calling beginSet(Property, DOFValue, int, SetOperationListener)
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFOperationSet beginSet( DOFInterfaceProperty property, DOFValue value, int timeout )
Parameters
- property
- Type: org.opendof.core.oalDOFInterfaceProperty
the property. Must not be null. - value
- Type: org.opendof.core.oalDOFValue
The value of the property to be set. The data type must match the property's data type. - timeout
- Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result(s) of the operation. Must be >= 0.
Return Value
Type: DOFOperationSetThe set operation. Will not be null.
See Also
Reference
set(Property, DOFValue, int)