Files
spark/src/DataStreamSuite/PubSub/PubSubUpdate.cs
T
2023-09-30 12:53:51 -04:00

23 lines
558 B
C#

using System;
using System.Collections;
using System.IO;
namespace BCG {
/// <summary>
/// this is the data returned from the
/// pubsub server
/// </summary>
public class PubSubUpdate {
public PubSubUpdate(string tag, string tagType, Stream body) { this.tag = tag; this.body = body; this.tagType = tagType; }
public string tag;
public Stream body;
public string tagType;
public override string ToString() {
return $"PubSubUpdate tag: {tag} tag_type: {tagType} len: {body.Position}";
}
};
}