Package akka.stream.impl.io
Class IncomingConnectionStage
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<ByteString,ByteString>>
-
- akka.stream.impl.io.IncomingConnectionStage
-
- All Implemented Interfaces:
Graph<FlowShape<ByteString,ByteString>,NotUsed>
public class IncomingConnectionStage extends GraphStage<FlowShape<ByteString,ByteString>>
INTERNAL API
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description IncomingConnectionStage(ActorRef connection, java.net.InetSocketAddress remoteAddress, boolean halfClose, scala.Function0<scala.runtime.BoxedUnit> registerCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Inlet<ByteString>
bytesIn()
Outlet<ByteString>
bytesOut()
GraphStageLogic
createLogic(Attributes inheritedAttributes)
scala.Tuple2<TcpConnectionStage.TcpStreamLogic,NotUsed$>
createLogicAndMaterializedValue(Attributes inheritedAttributes, Materializer eagerMaterializer)
Attributes
initialAttributes()
FlowShape<ByteString,ByteString>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
IncomingConnectionStage
public IncomingConnectionStage(ActorRef connection, java.net.InetSocketAddress remoteAddress, boolean halfClose, scala.Function0<scala.runtime.BoxedUnit> registerCallback)
-
-
Method Detail
-
bytesIn
public Inlet<ByteString> bytesIn()
-
bytesOut
public Outlet<ByteString> bytesOut()
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<ByteString,ByteString>>
-
createLogicAndMaterializedValue
public scala.Tuple2<TcpConnectionStage.TcpStreamLogic,NotUsed$> createLogicAndMaterializedValue(Attributes inheritedAttributes, Materializer eagerMaterializer)
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<FlowShape<ByteString,ByteString>,NotUsed>
-
shape
public FlowShape<ByteString,ByteString> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-