Object files

PPS objects are implemented as files in a special PPS filesystem. By default, PPS objects appear under /pps, but this path depends on the configuration of your system. There is never more than one instance of a PPS object, so changes to that object are immediately visible to subscribers.

Objects can contain attributes. Each attribute is represented by a line of text in the object's file. So, for example, you might publish an object called Time that represents the time of day and has integer attributes representing the current hour, minute, and second as follows:

@Time
hour::17
minute::04
second::38

In this case, the filename is Time, and the three attributes are each text strings in that file.

Because PPS objects are represented by files, you can:

Note: In order to avoid possible confusion or conflict in the event that applications from different organizations are integrated to use the same PPS filesystem, we recommend that you use your organization's web domain name to create your directory inside the PPS directory. Thus, QNX, whose Internet web domain name is "qnx.com" should use /pps/qnx, while an organization with the domain name "example.net" should use /pps/example.