Exemplo n.º 1
0
 protected override void OnSubscribe(uint[] groups)
 {
     Console.WriteLine(UID + " subscribes for groups " + HelloWorldPeer.ToString(groups));
 }
Exemplo n.º 2
0
 protected override void OnPublish(object message, uint[] groups)
 {
     Console.WriteLine(UID + " publishes a message (" + message + ") to groups " + HelloWorldPeer.ToString(groups));
 }