RealTime is a method to communicate information from a Computer to other computers with short periodic messages. The messages are lightweight and issued at regular 300mS intervals via UDP but can be obtained via TCP. The messages are typically a minimal XML ShofarFile. An example would be a computer with weather measuring devices that may share its data via broadcast locally or be polled as one of many devices by a remote computer that may in turn aggregate the data. Configuration and viewable data can typically be seen at “/RealTime” while the raw XML can be seen at “/RealTime.Shofar”. RealTime Local Broadcast When configured a broadcast or multicast message is sent periodically the designated address. Often this can be the local network only (IPv4 255.255.255.255). Normally messages are sent using the Shofar port (4105), but any port can be used. On Demand RealTime Message The RealTime message can be obtained on demand by sending a request via UDP. The format of the request message is: <Shofar Request="ShofarNexus.Com/RealTime" /> “ShofarNexus.Com” should be replaced with the value for the desired site. RealTime Message The RealTime message is XML sent via UDP. DocType and namespace headers are typically not included. The data returned is typically the minimal amount required to reflect changes that occur in real time. <Shofar Identity_="ShofarNexus.Com/RealTime"> <Data… > </Shofar> |