C# Класс Akka.Remote.Transport.AkkaPduCodec

INTERNAL API A Codec that is able to convert Akka PDUs from and to ByteString
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ConstructAssociate() публичный абстрактный Метод

public abstract ConstructAssociate ( HandshakeInfo info ) : ByteString
info HandshakeInfo
Результат ByteString

ConstructDisassociate() публичный абстрактный Метод

public abstract ConstructDisassociate ( DisassociateInfo reason ) : ByteString
reason DisassociateInfo
Результат ByteString

ConstructHeartbeat() публичный абстрактный Метод

public abstract ConstructHeartbeat ( ) : ByteString
Результат ByteString

ConstructMessage() публичный абстрактный Метод

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
Результат ByteString

ConstructPayload() публичный абстрактный Метод

public abstract ConstructPayload ( ByteString payload ) : ByteString
payload ByteString
Результат ByteString

ConstructPureAck() публичный абстрактный Метод

public abstract ConstructPureAck ( Ack ack ) : ByteString
ack Ack
Результат ByteString

DecodeMessage() публичный абстрактный Метод

public abstract DecodeMessage ( ByteString raw, RemoteActorRefProvider provider, Akka.Actor.Address localAddress ) : AckAndMessage
raw ByteString
provider RemoteActorRefProvider
localAddress Akka.Actor.Address
Результат AckAndMessage

DecodePdu() публичный абстрактный Метод

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
Результат IAkkaPdu

EncodePdu() публичный Метод

Takes an IAkkaPdu representation of an Akka PDU and returns its encoded form as a ByteString.
public EncodePdu ( IAkkaPdu pdu ) : ByteString
pdu IAkkaPdu
Результат ByteString