public abstract class GraphStage<S extends Shape> extends GraphStageWithMaterializedValue<S,NotUsed>
Shape
which describes
its input and output ports and a factory function that creates a GraphStageLogic
which implements the processing
logic that ties the ports together.Constructor and Description |
---|
GraphStage() |
Modifier and Type | Method and Description |
---|---|
abstract GraphStageLogic |
createLogic(Attributes inheritedAttributes) |
scala.Tuple2<GraphStageLogic,NotUsed> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
initialAttributes, module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributes, async, named, shape
public final scala.Tuple2<GraphStageLogic,NotUsed> createLogicAndMaterializedValue(Attributes inheritedAttributes)
createLogicAndMaterializedValue
in class GraphStageWithMaterializedValue<S extends Shape,NotUsed>
public abstract GraphStageLogic createLogic(Attributes inheritedAttributes) throws java.lang.Exception
java.lang.Exception