public final class SubscriberSource<Out> extends SourceModule<Out,org.reactivestreams.Subscriber<Out>>
Subscriber representing the input side of the flow.
The Subscriber can later be connected to an upstream Publisher.| Constructor and Description |
|---|
SubscriberSource(Attributes attributes,
SourceShape<Out> shape) |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
attributes() |
scala.Tuple2<org.reactivestreams.Publisher<Out>,org.reactivestreams.Subscriber<Out>> |
create(MaterializationContext context) |
protected SourceModule<Out,org.reactivestreams.Subscriber<Out>> |
newInstance(SourceShape<Out> shape) |
StreamLayout.AtomicModule |
withAttributes(Attributes attr) |
amendShape, carbonCopy, label, replaceShape, shape, toStringdownstreams, inPorts, outPorts, subModules, upstreamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isFused, isRunnable, isSealed, isSink, isSource, materializedValueComputation, transformMaterializedValue, wirepublic SubscriberSource(Attributes attributes, SourceShape<Out> shape)
public Attributes attributes()
public scala.Tuple2<org.reactivestreams.Publisher<Out>,org.reactivestreams.Subscriber<Out>> create(MaterializationContext context)
create in class SourceModule<Out,org.reactivestreams.Subscriber<Out>>protected SourceModule<Out,org.reactivestreams.Subscriber<Out>> newInstance(SourceShape<Out> shape)
newInstance in class SourceModule<Out,org.reactivestreams.Subscriber<Out>>public StreamLayout.AtomicModule withAttributes(Attributes attr)