DOFRegistration.Listener
@Deprecated public static interface DOFObject.EventOperationListener extends DOFOperation.OperationListener
Modifier and Type | Method and Description |
---|---|
void |
eventSignaled(DOFOperation.Register operation,
DOFProviderInfo providerInfo,
java.util.List<DOFValue> parameters,
DOFException exception)
|
complete
@Deprecated void eventSignaled(DOFOperation.Register operation, DOFProviderInfo providerInfo, java.util.List<DOFValue> parameters, DOFException exception)
DOFRegistration.Listener.eventSignaled(org.opendof.core.oal.DOFRegistration, org.opendof.core.oal.DOFObjectID, java.util.List<org.opendof.core.oal.DOFValue>)
DOFOperation.Control
response level
includes exceptions, then this method will be passed a DOFErrorException.TERMINATED
exception. In order to start processing the
events from the new source, you may:
DOFObject.beginRegister(org.opendof.core.oal.DOFInterface.Event, int, org.opendof.core.oal.DOFObject.EventOperationListener, java.lang.Object)
.DOFObject.beginRegister(org.opendof.core.oal.DOFInterface.Event, int, org.opendof.core.oal.DOFObject.EventOperationListener, 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)
.operation
- Information about the operation that was used to register this event handler. This will never be null.providerInfo
- Information about the provider of the event. This will never be null.parameters
- The event's parameters, if any. May be null. NOTE: If parameters is null AND
exception is null, this indicates that the register has been successfully established.exception
- An exception received from the Provider, if any. May be null.