DataSync Local Terminal Status Notifications
DataSync include the following local terminal status notifications:
Cyclic Notifications: Notifications that occur every 500 microseconds.
Instant Notifications: Notifications sent immediately after a feed change.
Cyclic Notifications
Every 500 microseconds (ms), DataSync takes the last state of each local feed from POS-APP and generates the object which includes the following:
feed- The name of the species.count- The number of its resources.updateTime- The time of the last change feed.
The object is sent to the network as an User Datagram Protocol (UDP) message. This means that every 500ms other terminals know about the state of that specific feed only and not about the state of the entire terminal. If you add 10 feeds to DataSync, the total time for sending the status of each feed is five (5) seconds.
For example, if DataSync added five feeds with the names Feed1, Feed2, Feed3, Feed4, and Feed5, a message is sent with the Feed1 feed status. After 500ms, the Feed2 status is sent. The full notification cycle time is 2.5 seconds before the other terminals receive the Feed1 status a second time.
Instant Notifications
In addition to Cyclic Notifications, DataSync sends the local status of the feed to the network immediately after it was changed. Instant notifications are used for orderState feedType only. For example, POS-APP stores three feeds: Feed1, Feed2, and Feed3. The full cycle time is 1.5 seconds. If one (1) second has passed, DataSync generates messages with the latest Feed2 data. At the same time, POS-APP changes Feed1. DataSync generates both a message with the data for Feed1 and Feed2 and sends the message to the network.