Just a second...

Writing a publisher

How to approach writing a publisher

Note: This section covers only the main aspects of the publisher API. See the API documentation for full details.

There are demo publishers issued with Diffusion™ which have the source provided and these act as examples of working publishers.

In its simplest sense a publisher is responsible for providing topics, and publishing messages relating to those topics.

Before a publisher is written you need to carefully consider what it needs to do and what methods need to be implemented. The areas that need to be considered and the methods relating to them are discussed in the following sections.