PubSub Example

An example demonstrating how to use CAXL's Client, PubSubController and PubSubNode classes to subscribe to and receive items from a forum

How it Works

This example automatically performs a number of actions in the page onReady event:
  1. Creating a jabberwerx.Client.
  2. Creating a jabberwerx.PubSubController for controlling the publish-subscribe.
The example also demonstrates (based on user actions like button clicks) additional PubSub functionality available within CAXL:

In Action

Instructions for using this example:

***Note: You cannot publish with this example. Please use the PubSub Owner example in another browser in order to fully simulate the publish-subscribe behavior.

 
 
Forum Items