| Interface | Description |
|---|---|
| SignalLengthGetter<T> |
A function that accepts one signal and produces the length of the signal.
|
| StreamMessage<T> | |
| StreamMessageDuplicator<T> |
A duplicator that duplicates a
StreamMessage into one or more StreamMessages,
which publish the same elements. |
| StreamWriter<T> |
Produces the objects to be published by a
StreamMessage. |
| Class | Description |
|---|---|
| DefaultStreamMessage<T> |
A
StreamMessage which buffers the elements to be signaled into a Queue. |
| DefaultStreamMessageDuplicator<T> |
A default duplicator.
|
| DeferredStreamMessage<T> |
A
StreamMessage whose stream is published later by another StreamMessage. |
| EmptyFixedStreamMessage<T> |
A
FixedStreamMessage that publishes no objects, just a close event. |
| FilteredStreamMessage<T,U> |
A
StreamMessage that filters objects as they are published. |
| NoopSubscriber<T> |
A
Subscriber that discards all elements silently. |
| OneElementFixedStreamMessage<T> |
A
FixedStreamMessage that only publishes one object. |
| PublisherBasedStreamMessage<T> |
Adapts a
Publisher into a StreamMessage. |
| RegularFixedStreamMessage<T> |
A
FixedStreamMessage that publishes an arbitrary number of objects. |
| StreamMessageWrapper<T> |
Wraps a
StreamMessage and forwards its method invocations to delegate. |
| TwoElementFixedStreamMessage<T> |
A
FixedStreamMessage that publishes two objects. |
| Enum | Description |
|---|---|
| SubscriptionOption |
Options used when subscribing to a
StreamMessage. |
| Exception | Description |
|---|---|
| AbortedStreamException |
A
RuntimeException that is raised to signal a Subscriber that the StreamMessage
it subscribed to has been aborted by StreamMessage.abort(). |
| CancelledSubscriptionException |
A
RuntimeException that is raised to notify StreamMessage.whenComplete() when a
Subscriber has cancelled its Subscription. |
| ClosedPublisherException | Deprecated |
| ClosedStreamException |
A
RuntimeException that is raised when a StreamMessage has been closed unexpectedly. |
Copyright © 2020 LeanCloud. All rights reserved.