@FunctionalInterface
public interface ProvidingService
Publisher. The provided stream can be then discovered using the
DiscoveryService. There are no restrictions on how the implementations actually provide the streams but this
process must be transparent to the user.DiscoveryService| Modifier and Type | Method and Description |
|---|---|
<T> void |
provide(StreamId<T> id,
org.reactivestreams.Publisher<T> stream)
Provides the stream with the specified id.
|
<T> void provide(StreamId<T> id, org.reactivestreams.Publisher<T> stream)
DiscoveryService using the same StreamId.id - the StreamId that identifies the specified streamstream - the Publisher to be provided