8 using System.Collections.Generic;
33 public StreamParams(
string workspace,
string type) : this(workspace, type,
"udp", JSON.Parse(
"{}"), false) { }
34 public StreamParams(
string workspace,
string type,
string proto) : this(workspace, type, proto, JSON.Parse(
"{}"), false) { }
36 public StreamParams(
string workspace,
string type,
string proto, JSONNode metadata,
bool alert)
48 JSONNode jsonRequest = JSON.Parse(
"{}");
49 jsonRequest[
"function"] =
"";
50 jsonRequest[
"workspace"] = this.
workspace;
51 jsonRequest[
"proto"] = this.
proto;
53 jsonRequest[
"alert"] = this.
alert;
54 jsonRequest[
"type"] = this.
type;
StreamParams(string workspace, string type)
virtual JSONNode toJSON()
StreamParams(string workspace, string type, string proto, JSONNode metadata, bool alert)
Parent class of Receiver/SenderStreamParams with shared information
StreamParams(string workspace, string type, string proto)