Exemplo n.º 1
0
 internal static void LoopSignals(VisitorThreadInfo threadInfo)
 {
     Udbus.Core.IUdbusMessageVisitor visitorPool = new Udbus.Core.PoolVisitor(threadInfo.pool);
     // We assume that the signalVisitor has been registered with the pool.
     Udbus.Core.IUdbusMessageVisitor visitor = DebugVisitor(visitorPool);
     threadInfo.output.WriteLine("Entering pool loop...");
     threadInfo.pool.LoopMessages(threadInfo.connector, threadInfo.stop);
     //Udbus.Core.UdbusVisitorFunctions.LoopUdbus(threadInfo.connector, visitor, threadInfo.output, threadInfo.stop);
     threadInfo.output.WriteLine("Signal loop thread ending...");
 }
Exemplo n.º 2
0
 internal static void LoopSignals(VisitorThreadInfo threadInfo)
 {
     Udbus.Core.IUdbusMessageVisitor visitorPool = new Udbus.Core.PoolVisitor(threadInfo.pool);
     // We assume that the signalVisitor has been registered with the pool.
     Udbus.Core.IUdbusMessageVisitor visitor = DebugVisitor(visitorPool);
     threadInfo.output.WriteLine("Entering pool loop...");
     threadInfo.pool.LoopMessages(threadInfo.connector, threadInfo.stop);
     //Udbus.Core.UdbusVisitorFunctions.LoopUdbus(threadInfo.connector, visitor, threadInfo.output, threadInfo.stop);
     threadInfo.output.WriteLine("Signal loop thread ending...");
 }