| Package | Description |
|---|---|
| com.urbanairship.connect.client | |
| com.urbanairship.connect.client.consume |
| Modifier and Type | Class and Description |
|---|---|
class |
RawEventReceiver
Class that consumes and parses the API response while tracking the stream offset.
|
| Modifier and Type | Method and Description |
|---|---|
MobileEventStream |
StreamSupplier.get(StreamQueryDescriptor descriptor,
com.ning.http.client.AsyncHttpClient client,
Consumer<String> eventConsumer,
String url,
FatalExceptionHandler fatalExceptionHandler)
Get the
MobileEventStream instance. |
MobileEventConsumerService.Builder |
MobileEventConsumerService.Builder.setConsumer(Consumer<Event> consumer)
Set the Event consumer.
|
| Constructor and Description |
|---|
MobileEventStream(StreamQueryDescriptor descriptor,
com.ning.http.client.AsyncHttpClient client,
Consumer<String> eventConsumer,
String url,
FatalExceptionHandler fatalExceptionHandler) |
RawEventReceiver(Consumer<Event> consumer)
Default constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
MobileEventStreamBodyConsumer
Receives raw bytes from a stream and handles grouping them together into full lines and thus full events.
|
| Constructor and Description |
|---|
MobileEventStreamBodyConsumer(Consumer<String> eventHandler) |
MobileEventStreamResponseHandler(Consumer<byte[]> receiver,
ConnectCallback connectCallback) |
Copyright © 2016. All rights reserved.