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