Package akka.remote.artery
Class Encoder
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<FlowShape<OutboundEnvelope,EnvelopeBuffer>,Encoder.OutboundCompressionAccess>
-
- akka.remote.artery.Encoder
-
- All Implemented Interfaces:
Graph<FlowShape<OutboundEnvelope,EnvelopeBuffer>,Encoder.OutboundCompressionAccess>
public class Encoder extends GraphStageWithMaterializedValue<FlowShape<OutboundEnvelope,EnvelopeBuffer>,Encoder.OutboundCompressionAccess>
External call from ChangeOutboundCompression materialized value
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Encoder.OutboundCompressionAccess
-
Constructor Summary
Constructors Constructor Description Encoder(UniqueAddress uniqueLocalAddress, ExtendedActorSystem system, ObjectPool<ReusableOutboundEnvelope> outboundEnvelopePool, EnvelopeBufferPool bufferPool, int streamId, boolean debugLogSend, byte version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,Encoder.OutboundCompressionAccess>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
External call from ChangeOutboundCompression materialized valueInlet<OutboundEnvelope>
in()
Outlet<EnvelopeBuffer>
out()
FlowShape<OutboundEnvelope,EnvelopeBuffer>
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, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
Encoder
public Encoder(UniqueAddress uniqueLocalAddress, ExtendedActorSystem system, ObjectPool<ReusableOutboundEnvelope> outboundEnvelopePool, EnvelopeBufferPool bufferPool, int streamId, boolean debugLogSend, byte version)
-
-
Method Detail
-
in
public Inlet<OutboundEnvelope> in()
-
out
public Outlet<EnvelopeBuffer> out()
-
shape
public FlowShape<OutboundEnvelope,EnvelopeBuffer> 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,Encoder.OutboundCompressionAccess> createLogicAndMaterializedValue(Attributes inheritedAttributes)
External call from ChangeOutboundCompression materialized value- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<FlowShape<OutboundEnvelope,EnvelopeBuffer>,Encoder.OutboundCompressionAccess>
- Parameters:
inheritedAttributes
- (undocumented)- Returns:
- (undocumented)
-
-