Basic Case, Publication C++
Proxy Initialization
Notification
Content publication
Basic Case, Publication code C
 |
 |
Content publication
posting notifications to the channel
Publishing the notification is the final step in creating content for a channel.
The method for publishing content is:
proxy.Publish(notification);
To publish our proxy's notification, we invoke the publish method:
p.Publish(n);
All authorized subscribers who have initialized proxies ready to receive content for Channel 7's subject, Sample, will receive the message "Hello World."
|