PreCache NetInjector Documentation Center : PreCache NetInjector Application Development

Basic Case, Publication — C

   







Content publication

— posting notifications to the channel


Publishing the notification is the final step in creating content for a channel.

The function for publishing content is:

PC_evn_publish(proxy,notification);

To publish our proxy's notification, we invoke the publish function:

PC_evn_publish(p,n);

All authorized subscribers who have initialized proxies ready to receive content for Channel 7's subject, Sample, will receive the message "Hello World."