C# Class Akka.Remote.Transport.AkkaPduCodec

INTERNAL API A Codec that is able to convert Akka PDUs from and to ByteString
Datei anzeigen Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
ConstructAssociate ( HandshakeInfo info ) : ByteString
ConstructDisassociate ( DisassociateInfo reason ) : ByteString
ConstructHeartbeat ( ) : ByteString
ConstructMessage ( Akka.Actor.Address localAddress, IActorRef recipient, SerializedMessage serializedMessage, IActorRef senderOption = null, SeqNo seqOption = null, Ack ackOption = null ) : ByteString
ConstructPayload ( ByteString payload ) : ByteString
ConstructPureAck ( Ack ack ) : ByteString
DecodeMessage ( ByteString raw, RemoteActorRefProvider provider, Akka.Actor.Address localAddress ) : AckAndMessage
DecodePdu ( ByteString raw ) : IAkkaPdu

Return an IAkkaPdu instance that represents a PDU contained in the raw ByteString.

EncodePdu ( IAkkaPdu pdu ) : ByteString

Takes an IAkkaPdu representation of an Akka PDU and returns its encoded form as a ByteString.

Method Details

ConstructAssociate() public abstract method

public abstract ConstructAssociate ( HandshakeInfo info ) : ByteString
info HandshakeInfo
return ByteString

ConstructDisassociate() public abstract method

public abstract ConstructDisassociate ( DisassociateInfo reason ) : ByteString
reason DisassociateInfo
return ByteString

ConstructHeartbeat() public abstract method

public abstract ConstructHeartbeat ( ) : ByteString
return ByteString

ConstructMessage() public abstract method

public abstract ConstructMessage ( Akka.Actor.Address localAddress, IActorRef recipient, SerializedMessage serializedMessage, IActorRef senderOption = null, SeqNo seqOption = null, Ack ackOption = null ) : ByteString
localAddress Akka.Actor.Address
recipient IActorRef
serializedMessage SerializedMessage
senderOption IActorRef
seqOption SeqNo
ackOption Ack
return ByteString

ConstructPayload() public abstract method

public abstract ConstructPayload ( ByteString payload ) : ByteString
payload ByteString
return ByteString

ConstructPureAck() public abstract method

public abstract ConstructPureAck ( Ack ack ) : ByteString
ack Ack
return ByteString

DecodeMessage() public abstract method

public abstract DecodeMessage ( ByteString raw, RemoteActorRefProvider provider, Akka.Actor.Address localAddress ) : AckAndMessage
raw ByteString
provider RemoteActorRefProvider
localAddress Akka.Actor.Address
return AckAndMessage

DecodePdu() public abstract method

Return an IAkkaPdu instance that represents a PDU contained in the raw ByteString.
public abstract DecodePdu ( ByteString raw ) : IAkkaPdu
raw ByteString Encoded raw byte representation of an Akka PDU
return IAkkaPdu

EncodePdu() public method

Takes an IAkkaPdu representation of an Akka PDU and returns its encoded form as a ByteString.
public EncodePdu ( IAkkaPdu pdu ) : ByteString
pdu IAkkaPdu
return ByteString