/// <summary>
 /// StreamStore kind -- StreamStoreConsolidatedBody Cstr
 /// </summary>
 /// <param name="messageBody">StreamStoreMessageBody </param>
 internal StreamStoreConsolidatedBody(StreamStoreMessageBody messageBody)
 {
     this.StoreKind    = StreamStoreKind.MessageStore;
     this.MessageBody  = messageBody;
     this.MetadataBody = null;
     this.NameBody     = null;
 }
Пример #2
0
        internal OutboundStreamPayloadMessage(Guid streamId, long sequenceNumber, StreamStoreMessageBody body)
            : base(StreamWireProtocolMessageKind.ServiceData, streamId, sequenceNumber)
        {
            Diagnostics.Assert((streamId != Guid.Empty), "Stream Id in Outbound  Stream payload wire message is empty.");
            Diagnostics.Assert((body != null), "Stream Message Body in Outbound Stream payload wire Message message is null.");

            this.Payload = body.Payload;
        }