Darwin:Alarm Element: Difference between revisions

From Open Rail Data Wiki
Add Alarm documentation
 
Q (talk | contribs)
m Added category & table footer
Line 40: Line 40:
</alarm>
</alarm>
</pre>
</pre>
{{Navtable-DataFeeds}}
[[Category:National Rail Enquiries Data Feeds]]

Revision as of 20:49, 11 July 2015

Alarm message

Overview

An Alarm message indicates that a feed in to Darwin has stopped, or has re-started.

Detail

The alarms sent are as follows:

Alarm Meaning
tdAreaFail Darwin has detected that no data has been received from a single TD for a period of time
tdFeedFail Darwin has detected that no data has been received from any TD for a period of time
tyrellFeedFail Darwin has detected that its connection to Tyrell has failed

Each alarm has a unique identifier, and may be cleared with an alarm being received with a 'clear' element and the same unique identifier.

Example messages

<alarm>
  <al:set id="20669">
    <al:tdFeedFail />
  </al:set>
</alarm>

<alarm>
  <al:clear>
    20669
  </al:clear>
</alarm>


Network Rail Open Data Feeds
Data Feeds About the Feeds Account States Durable Subscriptions Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced UsesFAQ Release Notes
RTPPM RTPPM Feed
Train Movements Train Movements Feed Train Activation Train Cancellation Train Movement Train Reinstatement Change of Origin Change of Identity Change of Location TSPEED Field Planned Cancellations Cancellation Codes
TD TD Feed C-Class Messages S-Class Messages Train Describers TD Berths
VSTP VSTP Feed
TSR TSR Feed Route Codes
SCHEDULE SCHEDULE Feed TIPLOC Records Schedule and Location Records Association Records CIF Codes How Scheduling Works Allowances
Reference Data Reference Data Feed TOC Codes CIF Codes Delay Attribution Codes Identifying Locations (STANOX, TIPLOC, NLC and 3-Alpha Codes) STANOX Geographical Areas Train Planning data (BPLAN)