C# Класс Abune.Shared.Message.ObjectCommandEnvelope

Transport envelope for object commands.
Наследование: ICanRouteToObject, ICanQuorumVote
Показать файл Открыть проект Примеры использования класса

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

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