public final class OutputStreamSourceStage extends GraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
Modifier and Type | Class and Description |
---|---|
static interface |
OutputStreamSourceStage.AdapterToStageMessage |
static class |
OutputStreamSourceStage.Canceled$ |
static class |
OutputStreamSourceStage.Close$ |
static interface |
OutputStreamSourceStage.DownstreamStatus |
static class |
OutputStreamSourceStage.Flush$ |
static class |
OutputStreamSourceStage.Ok$ |
Constructor and Description |
---|
OutputStreamSourceStage(scala.concurrent.duration.FiniteDuration writeTimeout) |
Modifier and Type | Method and Description |
---|---|
static Graph<S,M> |
addAttributes(Attributes attr) |
static Graph<S,M> |
async() |
scala.Tuple2<GraphStageLogic,java.io.OutputStream> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
Attributes |
initialAttributes() |
static StreamLayout.Module |
module() |
static Graph<S,M> |
named(java.lang.String name) |
Outlet<ByteString> |
out() |
SourceShape<ByteString> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
static Graph<S,M> |
withAttributes(Attributes attr) |
module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributes, async, named
public OutputStreamSourceStage(scala.concurrent.duration.FiniteDuration writeTimeout)
public static Graph<S,M> named(java.lang.String name)
public static Graph<S,M> async()
public static Graph<S,M> addAttributes(Attributes attr)
public static final StreamLayout.Module module()
public static final Graph<S,M> withAttributes(Attributes attr)
public Outlet<ByteString> out()
public Attributes initialAttributes()
initialAttributes
in class GraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
public SourceShape<ByteString> shape()
Graph
public scala.Tuple2<GraphStageLogic,java.io.OutputStream> createLogicAndMaterializedValue(Attributes inheritedAttributes)
createLogicAndMaterializedValue
in class GraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>