Looking at the files available from the Darwin FTP site, I'm a little confused about the timetable and snapshot files. The timetable file has Journey elements, and the snapshot has schedule elements. According to the schemas these are different things, but they seem to be mostly the same ? Is a journey the same as a schedule but with a different name ? And if they are different, is there any documentation for the Journey elements ?
Cheers !
Is there a need to reimport the timetable after that point, or will all new schedules appear in the real-time updates from that point onwards ?
Thanks !
On 21 Mar 2018, at 11:52, WantStuff <wants...@gmail.com> wrote:I'm going a similar process myself so am also learning, but it there are a couple of synchronisation hoops before switching from files to the real time queue.After loading all the files you request the latest snapshot via STOMP/OpenWire which would cause Darwin to:1) send another file to the snapshot FTP folder containing changes since the last file you loaded,2) and start queuing the real-time message updates.You then have 5 minutes (I assume) to consume this snapshot and start reading messages from the queue.Please anyone feel free to jump in and correct me or add to this.
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To post to this group, send email to openrail...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As indicated in Figure 1, Clients must follow these steps when communicating with Push Ports Server in the Data Phase:
1. The client waits for an HBOK status message.
2. If the client does not require the Darwin sourced timetable, go to step 5.
3. The client requests the timetable ID.
4. The client downloads the timetable from the Push Ports FTP server if the ID is different to the timetable the client already has, using the supplied file names.
5. The client requests a snapshot; either back over the Push Ports connection or made available on the FTP server (see section 6.1.2.3).
6. The client processes the snapshot.
7. The client sends a start update request (see section 6.1.2.4). Push Ports will start holding updates for the client from the moment the snapshot request is received. These buffered updates are sent as soon as the client sends the start update request.
8. The client processes updates until a status message with either HBFAIL or HBINIT is received, the client requests the cessation of updates or the TCP/IP connection fails.
9. If the TCP/IP connection has not failed, go to step 1.