C# Class Abune.Shared.Message.ObjectCommandEnvelope

Transport envelope for object commands.
Inheritance: ICanRouteToObject, ICanQuorumVote
Afficher le fichier Open project: abunedotnet/Abune.Shared Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ObjectCommandEnvelope() public méthode

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

ObjectCommandEnvelope() public méthode

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.
Résultat System

Serialize() public méthode

Serializes this instance.
public Serialize ( ) : byte[]
Résultat byte[]