public interface SIRequestor
SIRequestor registers itself at the time of the
asynchronous call for a single request and is automatically
unregistered when the request is completed. Applications can
disambiguate retrieval operations by registering a unique
SIRequestor for each retrieval request.The asynchronous SI retrieval mechanisms invoke the methods of this interface using system threads that are guaranteed to not hold locks on application objects.
| Modifier and Type | Method and Description |
|---|---|
void |
notifyFailure(SIRequestFailureType reason)
Notifies the
SIRequestor of unsuccessful asynchronous
SI retrieval. |
void |
notifySuccess(SIRetrievable[] result)
Notifies the
SIRequestor of successful asynchronous
SI retrieval. |
void notifySuccess(SIRetrievable[] result)
SIRequestor of successful asynchronous
SI retrieval.result - The previously requested data.void notifyFailure(SIRequestFailureType reason)
SIRequestor of unsuccessful asynchronous
SI retrieval.reason - The reason why the asynchronous request failed.Copyright © 2012 code4tv.com. All Rights Reserved.