RemoteQueryStream

This commit is contained in:
Taha authored and John Colvin committed 2024-06-06 09:20:05 -05:00
1 parent 1d1de3dd18
commit fac0a9c25b
45 files changed
+2403 -1758

No files matched your search

@@ -67,7 +67,7 @@ static ViewStream? build_stream(string? stream_expression) {
static void start_echo_client() {
Console.WriteLine("Starting DSPublisher in TCP client echo mode, Hit key to continue");
Console.ReadLine();
SimpleTCPClient client = new SimpleTCPClient("127.0.0.1", 12345);
SimpleTCPClient client = new SimpleTCPClient("127.0.0.1", 12345, 1000, 1000);
client.start();
while (true) {
System.Threading.Thread.Sleep(1000);
@@ -78,7 +78,7 @@ static void start_echo_client() {
void _publish_streams(IEnumerable<PublisherNode> publishers) {
PubTableBroker pb_broker = new PubTableBroker();
CloudStreamManager csm = new CloudStreamManager();
RemoteQueryManager csm = new RemoteQueryManager();
var csvPublishers = new List<CSVPublisher>();
foreach (var publisher in publishers) {
@@ -96,6 +96,7 @@ void _publish_streams(IEnumerable<PublisherNode> publishers) {
ViewStreamDatabase.instance.doWork();
csm.doWork();
MasterWorker.getInstance(false).doWork();
ManagedSubscriber.instance.doWork();
}
ViewPublisher? createViewPublisher(PublishedStream ps) {