PEP 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:
- Creating a jabberwerx.Client.
- 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:
- Click the "Connect" button to connect the client to the server.
- Change activity in User Activity dropdown.
- Any items that are changed will get published under Activity Items area of this page.
|
|
|
|
|
|
Activity Items: |
|
|