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