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, toString
downstreams, inPorts, outPorts, subModules, upstreams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isFused, isRunnable, isSealed, isSink, isSource, materializedValueComputation, transformMaterializedValue, wire
public 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)