21 lines
549 B
C#
21 lines
549 B
C#
|
using System;
|
|||
|
|
|||
|
namespace franz.tests
|
|||
|
{
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Main(string[] args)
|
|||
|
{
|
|||
|
Console.WriteLine("Hello World!");
|
|||
|
Telefranz.Configure("tester", "focalor:9092");
|
|||
|
|
|||
|
Telefranz.Instance.addHandler<silver_messages.global.report>(r => {
|
|||
|
Console.WriteLine(r);
|
|||
|
});
|
|||
|
Telefranz.Instance.ProduceMessage(new silver_messages.global.sound_off());
|
|||
|
System.Threading.Thread.Sleep(10000);
|
|||
|
Console.WriteLine("k.");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|