Transport envelope for object commands.
Inheritance: ICanRouteToObject, ICanQuorumVote
 /// <summary>Initializes a new instance of the <see cref="AreaCommandEnvelope" /> class.</summary>
 /// <param name="toAreaId">To area identifier.</param>
 /// <param name="objectCommandEnvelope">The object command envelope.</param>
 public AreaCommandEnvelope(ulong toAreaId, ObjectCommandEnvelope objectCommandEnvelope)
 {
     this.ToAreaId = toAreaId;
     this.ObjectCommandEnvelope = objectCommandEnvelope;
 }
Beispiel #2
0
 /// <summary>Initializes a new instance of the <see cref="QuorumRequestEnvelope" /> class.</summary>
 /// <param name="commandEnvelope">The command envelope.</param>
 public QuorumRequestEnvelope(ObjectCommandEnvelope commandEnvelope)
 {
     this.CommandEnvelope = commandEnvelope;
     this.VoterCount      = UNKNOWNVOTERCOUNT;
 }