public final class ActorPublisherSource<Out> extends SourceModule<Out,ActorRef>
Publisher
from the given props
,
which should be Props
for an ActorPublisher
.Constructor and Description |
---|
ActorPublisherSource(Props props,
Attributes attributes,
SourceShape<Out> shape) |
Modifier and Type | Method and Description |
---|---|
Attributes |
attributes() |
scala.Tuple2<org.reactivestreams.Publisher<Out>,ActorRef> |
create(MaterializationContext context) |
protected SourceModule<Out,ActorRef> |
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 ActorPublisherSource(Props props, Attributes attributes, SourceShape<Out> shape)
public Attributes attributes()
public scala.Tuple2<org.reactivestreams.Publisher<Out>,ActorRef> create(MaterializationContext context)
create
in class SourceModule<Out,ActorRef>
protected SourceModule<Out,ActorRef> newInstance(SourceShape<Out> shape)
newInstance
in class SourceModule<Out,ActorRef>
public StreamLayout.AtomicModule withAttributes(Attributes attr)