Package akka.remote.transport
Class AkkaPduProtobufCodec$
- java.lang.Object
-
- akka.remote.transport.AkkaPduProtobufCodec$
-
- All Implemented Interfaces:
AkkaPduCodec
public class AkkaPduProtobufCodec$ extends java.lang.Object implements AkkaPduCodec
INTERNAL API
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.remote.transport.AkkaPduCodec
AkkaPduCodec.AkkaPdu, AkkaPduCodec.Associate, AkkaPduCodec.Associate$, AkkaPduCodec.Disassociate, AkkaPduCodec.Disassociate$, AkkaPduCodec.Heartbeat$, AkkaPduCodec.Message, AkkaPduCodec.Message$, AkkaPduCodec.Payload, AkkaPduCodec.Payload$
-
-
Field Summary
Fields Modifier and Type Field Description static AkkaPduProtobufCodec$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AkkaPduProtobufCodec$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteStringconstructAssociate(HandshakeInfo info)ByteStringconstructDisassociate(AssociationHandle.DisassociateInfo info)ByteStringconstructHeartbeat()ByteStringconstructMessage(Address localAddress, ActorRef recipient, WireFormats.SerializedMessage serializedMessage, <any> senderOption, scala.Option<SeqNo> seqOption, scala.Option<Ack> ackOption)scala.Option<SeqNo>constructMessage$default$5()scala.Option<Ack>constructMessage$default$6()ByteStringconstructPayload(ByteString payload)ByteStringconstructPureAck(Ack ack)scala.Tuple2<scala.Option<Ack>,scala.Option<AkkaPduCodec.Message>>decodeMessage(ByteString raw, akka.remote.RemoteActorRefProvider provider, Address localAddress)AkkaPduCodec.AkkaPdudecodePdu(ByteString raw)Returns anAkkaPduCodec.AkkaPduinstance that represents the PDU contained in the raw ByteString.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.remote.transport.AkkaPduCodec
encodePdu
-
-
-
-
Field Detail
-
MODULE$
public static final AkkaPduProtobufCodec$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
constructMessage
public ByteString constructMessage(Address localAddress, ActorRef recipient, WireFormats.SerializedMessage serializedMessage, <any> senderOption, scala.Option<SeqNo> seqOption, scala.Option<Ack> ackOption)
- Specified by:
constructMessagein interfaceAkkaPduCodec
-
constructMessage$default$5
public scala.Option<SeqNo> constructMessage$default$5()
- Specified by:
constructMessage$default$5in interfaceAkkaPduCodec
-
constructMessage$default$6
public scala.Option<Ack> constructMessage$default$6()
- Specified by:
constructMessage$default$6in interfaceAkkaPduCodec
-
constructPureAck
public ByteString constructPureAck(Ack ack)
- Specified by:
constructPureAckin interfaceAkkaPduCodec
-
constructPayload
public ByteString constructPayload(ByteString payload)
- Specified by:
constructPayloadin interfaceAkkaPduCodec
-
constructAssociate
public ByteString constructAssociate(HandshakeInfo info)
- Specified by:
constructAssociatein interfaceAkkaPduCodec
-
constructDisassociate
public ByteString constructDisassociate(AssociationHandle.DisassociateInfo info)
- Specified by:
constructDisassociatein interfaceAkkaPduCodec
-
constructHeartbeat
public ByteString constructHeartbeat()
- Specified by:
constructHeartbeatin interfaceAkkaPduCodec
-
decodePdu
public AkkaPduCodec.AkkaPdu decodePdu(ByteString raw)
Description copied from interface:AkkaPduCodecReturns anAkkaPduCodec.AkkaPduinstance that represents the PDU contained in the raw ByteString.- Specified by:
decodePduin interfaceAkkaPduCodec- Parameters:
raw- Encoded raw byte representation of an Akka PDU- Returns:
- Case class representation of the decoded PDU that can be used in a match statement
-
decodeMessage
public scala.Tuple2<scala.Option<Ack>,scala.Option<AkkaPduCodec.Message>> decodeMessage(ByteString raw, akka.remote.RemoteActorRefProvider provider, Address localAddress)
- Specified by:
decodeMessagein interfaceAkkaPduCodec
-
-