Example #1
0
        public bool Start(HostControl hostControl)
        {
            var channel = Signal.CreateRecieverChannel("ExPay");

            Signal.CollectAllShared(channel);

            return(true);
        }
Example #2
0
        private static void Main(string[] args)
        {
            var queue = MessageQueue.Open("signals.testqueue");

            queue.Subscribe <TestMessage>(_ =>
            {
                Console.WriteLine(_.Message);
            });

            queue.Echo <TestMessage>();

            var channel = Signal.CreateSenderChannel("signals.test8");

            Signal.CollectAllShared(channel);

            Console.Read();
        }