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