T - the generic typepublic interface ServiceCall<T>
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(ServiceCallback<T> callback)
Asynchronous requests, in this case, you receive a callback when the data has been received.
|
T |
execute()
Synchronous request.
|
T execute()
void enqueue(ServiceCallback<T> callback)
callback - the callbackCopyright © 2015–2016. All rights reserved.