/pps/services/hmi-notification/Messaging

Server object for HMI Notification Manager

Publishers
HMI Notification Manager
Subscribers
Any app
Note: This type of object is known as a server object, a special PPS object designed for point-to-point communication between a server and one or more clients. For details, see "Server objects" in the Persistent Publish/Subscribe Developer's Guide.

Overview

Since the Messaging object is used to issue transient notifications, this PPS object is created in server mode. When a client reads the object, no data is returned immediately. Clients should connect to the object with the wait flag enabled so as to be notified when the HMI Notification Manager has issued a transient notification. For example:

# cat /pps/services/hmi-notification/Messaging?wait

When a transient notification is issued, connected clients will be notified with a message similar to that used to express the manager's internal status. This message will be a JSON-formatted object that specifies the name of a growl event. The window type is specified in the message, but the value of this attribute will always be "Growl". For example:
@Messaging
display:json:{"name":"Fluid::Alert","type":"Growl"}