public interface ValueSetListener
| Modifier and Type | Method and Description |
|---|---|
void |
persistValueSet(Sink sink,
org.opendof.core.oal.DOFObjectID sourceID,
org.opendof.datatransfer.ValueSet valueSet)
Invoked when data is received.
|
void |
requestComplete(Sink sink,
long requestID,
org.opendof.datatransfer.DetailRequestStatus status)
Invoked when a full-resolution data request is complete.
|
void |
valueSetsRemaining(Sink sink,
org.opendof.core.oal.DOFObjectID source,
long remaining)
Invoked after data has been acknowledged.
|
void persistValueSet(Sink sink, org.opendof.core.oal.DOFObjectID sourceID, org.opendof.datatransfer.ValueSet valueSet) throws java.lang.Exception
sink - The sink that the listener is associated with.sourceID - The ID of the source of the data.valueSet - The set of values that is being returned.java.lang.Exception - Thrown if the data could not be persisted.void requestComplete(Sink sink, long requestID, org.opendof.datatransfer.DetailRequestStatus status) throws java.lang.Exception
sink - The sink that the listener is associated with.requestID - The request identifier that was given when the request was initiated.status - The status of the request.java.lang.Exception - Thrown if the listener is unable to accept the notification. This causes the
notification to be submitted to a different sink (if possible).Sink.requestValues(org.opendof.core.oal.DOFObjectID, long, org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterfaceID, int, java.util.Date, int, int)void valueSetsRemaining(Sink sink, org.opendof.core.oal.DOFObjectID source, long remaining)
sink - The sink that the listener is associated with.source - The ID of the source of the data.remaining - The number of remaining ValueSets queued to be delivered to the sink.