C# 클래스 Akka.Remote.Transport.AkkaPduCodec

INTERNAL API A Codec that is able to convert Akka PDUs from and to ByteString
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
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