public interface StreamSupplier
MobileEventConsumerService with
a MobileEventStream instance.| Modifier and Type | Method and Description |
|---|---|
MobileEventStream |
get(StreamQueryDescriptor descriptor,
com.ning.http.client.AsyncHttpClient client,
Consumer<String> eventConsumer,
String url,
FatalExceptionHandler fatalExceptionHandler)
Get the
MobileEventStream instance. |
MobileEventStream get(StreamQueryDescriptor descriptor, com.ning.http.client.AsyncHttpClient client, Consumer<String> eventConsumer, String url, FatalExceptionHandler fatalExceptionHandler)
MobileEventStream instance.descriptor - StreamDescriptor containing the app credentials and request info.client - AsyncHttpClienteventConsumer - Consumer<String> of the API response events.url - The API URL as a String.fatalExceptionHandler - see FatalExceptionHandler.Copyright © 2016. All rights reserved.