PubSub is working now
This commit is contained in:
1 parent
3fa37397d9
commit
7bb7f1a5e2
27 files changed
+1108
-1124
No files matched your search
@@ -1,16 +1,18 @@
|
||||
using bts.utils;
|
||||
using System;
|
||||
|
||||
using mbts.config;
|
||||
using BCG;
|
||||
|
||||
bts.utils.BTSNativeMethods.provide_command_line(new string[] { }, 0);
|
||||
mbts.config.Configuration.initialize();
|
||||
|
||||
bts.Log.Gen.info($"Starting DSPublisher");
|
||||
Console.WriteLine("Starting DSPublisher...");
|
||||
// SimpleTCPClient.start("127.0.0.1", 12345);
|
||||
// Task.Delay(1000000000).Wait();
|
||||
|
||||
//TestPubliser.publish();
|
||||
//TestPubliser.subscribe();
|
||||
TestPublisher ts = new TestPublisher(false);
|
||||
ts.keep_publishing(TimeSpan.FromSeconds(10));
|
||||
|
||||
using System;
|
||||
using bts;
|
||||
using mbts;
|
||||
|
||||
BTSNativeMethods.provide_command_line(args, args.Length);
|
||||
// Must initialize config before using log system
|
||||
Console.WriteLine("Initializing config...");
|
||||
Configuration.initialize();
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
bts.Log.Gen.info($"Starting DataStreamPublisher...log: {i}");
|
||||
}
|
||||
Reference in new issue
Block a user