Process a result. This method is called when a subscribed-to property's value has changed.
NOTE: If the primary provider changes during the lifetime of the operation, and the
DOFOperation.Control
response level
includes exceptions, then this method will be passed a
DOFErrorException.TERMINATED
exception. In order to start processing the
property changes from the new source, you may:
- Cancel and reestablish the subscription with
DOFObject.beginSubscribe(org.opendof.core.oal.DOFInterface.Property, int, int, org.opendof.core.oal.DOFObject.SubscribeOperationListener, java.lang.Object)
.
- Wait for the operation retry to automatically switch over to the new provider.
- Or, if you expect this to occur, before calling
DOFObject.beginSubscribe(org.opendof.core.oal.DOFInterface.Property, int, int, org.opendof.core.oal.DOFObject.SubscribeOperationListener, java.lang.Object)
, you may set a shorter retry period for the operation
with DOFOperation.Control.setRetryPeriod(int)
or DOFOperation.Control.setRetryTime(org.opendof.core.oal.DOFOperation.RetryTime)
.