C# 클래스 Abune.Shared.Message.ObjectCommandEnvelope

Transport envelope for object commands.
상속: ICanRouteToObject, ICanQuorumVote
파일 보기 프로젝트 열기: abunedotnet/Abune.Shared 1 사용 예제들

공개 메소드들

메소드 설명
ObjectCommandEnvelope ( UdpMessage message ) : System

Initializes a new instance of the ObjectCommandEnvelope class.

ObjectCommandEnvelope ( uint senderId, BaseCommand command, ulong toObjectId ) : System

Initializes a new instance of the ObjectCommandEnvelope class.

Serialize ( ) : byte[]

Serializes this instance.

메소드 상세

ObjectCommandEnvelope() 공개 메소드

Initializes a new instance of the ObjectCommandEnvelope class.
Message is null.
public ObjectCommandEnvelope ( UdpMessage message ) : System
message UdpMessage The message.
리턴 System

ObjectCommandEnvelope() 공개 메소드

Initializes a new instance of the ObjectCommandEnvelope class.
public ObjectCommandEnvelope ( uint senderId, BaseCommand command, ulong toObjectId ) : System
senderId uint The sender identifier.
command BaseCommand The command.
toObjectId ulong To object identifier.
리턴 System

Serialize() 공개 메소드

Serializes this instance.
public Serialize ( ) : byte[]
리턴 byte[]