- Darwin
a service for connecting and communicating with the National Rail Darwin PushPort server
- Schedule
Schedule data class
- Association
Association data class
- TrainOrder
TrainOrder data class
- StationMessage
StationMessage data class
- TrainStatus
TrainStatus data class
a service for connecting and communicating with the National Rail Darwin PushPort server
Kind: global class
- Darwin
- instance
- inner
Kind: event emitted by Darwin
Properties
Name | Type | Description |
---|---|---|
ts | string |
a timestamp of when the event was issued |
trainStatus | TrainStatus |
a train status class |
origin | string |
where the event originated from |
Kind: event emitted by Darwin
Properties
Name | Type | Description |
---|---|---|
id | string |
an id for the event |
ts | string |
a timestamp of when the event was issued |
schedule | Schedule |
a schedule class |
origin | string |
where the event originated from |
source | string |
which source did the vent originate from |
Kind: event emitted by Darwin
Properties
Name | Type | Description |
---|---|---|
id | string |
an id for the event |
ts | string |
a timestamp of when the event was issued |
association | Association |
a association class |
origin | string |
where the event originated from |
source | string |
which source did the vent originate from |
Kind: event emitted by Darwin
Properties
Name | Type | Description |
---|---|---|
id | string |
an id for the event |
ts | string |
a timestamp of when the event was issued |
trainOrder | TrainOrder |
a TrainOrder class |
origin | string |
where the event originated from |
source | string |
which source did the vent originate from |
Kind: event emitted by Darwin
Properties
Name | Type | Description |
---|---|---|
ts | string |
a timestamp of when the event was issued |
stationMessage | StationMessage |
a StationMessage class |
origin | string |
where the event originated from |
connects to the Darwin server and subscribes to a specified queue
Kind: inner method of Darwin
Emits: trainStatus
, schedule
, association
, trainOrder
, stationMessage
Param | Type | Description |
---|---|---|
queue | string |
the queue to subscribe to |
Schedule data class
Kind: global external
See: Schedule
Association data class
Kind: global external
See: Association
TrainOrder data class
Kind: global external
See: TrainOrder
StationMessage data class
Kind: global external
See: StationMessage
TrainStatus data class
Kind: global external
See: TrainStatus