Package akka.stream.impl.io
Class OutputStreamSourceStage
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
-
- akka.stream.impl.io.OutputStreamSourceStage
-
- All Implemented Interfaces:
Graph<SourceShape<ByteString>,java.io.OutputStream>
public final class OutputStreamSourceStage extends GraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OutputStreamSourceStage.AdapterToStageMessage
static class
OutputStreamSourceStage.Close$
static class
OutputStreamSourceStage.Send
static class
OutputStreamSourceStage.Send$
-
Constructor Summary
Constructors Constructor Description OutputStreamSourceStage(scala.concurrent.duration.FiniteDuration writeTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,java.io.OutputStream>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
Attributes
initialAttributes()
Outlet<ByteString>
out()
SourceShape<ByteString>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
out
public Outlet<ByteString> out()
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
-
shape
public SourceShape<ByteString> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,java.io.OutputStream> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SourceShape<ByteString>,java.io.OutputStream>
-
-