예제 #1
0
파일: Main.cs 프로젝트: bjornudd/redisU
 static void HandleConsumerOnUnsubscribe(object sender, SubscriptionEventArgs args)
 {
     Console.WriteLine("Unsubscribed from channel :" + args.GetChannel());
     //redis.Publish("gameplay", "WTF");
 }
예제 #2
0
파일: Main.cs 프로젝트: bjornudd/redisU
 static void HandleConsumerOnSubscribe(object sender, SubscriptionEventArgs args)
 {
     Console.WriteLine("Subscribed to channel : " + args.GetChannel());
     redis.Publish("gameplay", "I m Awesome!!");
     redis.Publish("gameplay", "I m Super Awesome!!");
     //consumer.Unsubscribe(new string[] {"gameplay"});
 }