public void SetUp() { const string address = "tcp://127.0.0.1:5555"; _subscriber = new TestReciever(address).Start(); _publisher = new FeedZmQPublisher(address, _logger); }
private static void Main() { _log.Info("Starting"); var channel = new FeedZmQPublisher(PublicationAddress, _log); var generator = new FeedGenerator(channel, _log); generator.Run(); _log.InfoFormat("Running, publishing to {0}", PublicationAddress); // Block and wait forever new AutoResetEvent(false).WaitOne(); }