Cancels all outstanding operations sourced by this DOF.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
public void cancelAllOperations()
Cancels all outstanding operations sourced by this DOF. This method causes all connected nodes
to remove any existing operations that use the DOF's source identifier. Any DOF that sets a static source identifier in its
configuration using
Builder.setSourceID(Source)
should include this call in its startup routine to prevent
sourcing new operations that have the same identifier as operations sourced by a previous instance of the DOF. This helps a DOF
resynchronize its state with other nodes if it crashes and is brought back online.
This method should be called after establishing communication with other nodes but before sending any other operations.
It is recommended that after calling this method, you wait before sending other operations since delivery order is
not guaranteed.
This method does not cancel any existing local operations.
Reference