openlcb / OpenLCB_Java

Java implementation of OpenLCB / LCC protocols. This implementation operates inside JMRI, and can also be used inside Android apps.
6 stars 9 forks source link

Option to send Unknown event identify responses. #87

Closed balazsracz closed 7 years ago

balazsracz commented 7 years ago

Adds a flag to the BitProducerConsumer to always respond "Unknown" state to producer / consumer identify requests. This allows creating "non-authoritative" producers and consumers that do not contribute to a distributed state recovery algorithm. That may be helpful for computers that do not have actual hardware that they drive in a particular way.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 66.993% when pulling 2a439bd9e594f58a12e038b51c649765dd520d4e on bracz-pc-unknown-identify into 94ab7befa2ca1a977a8c14b02946ae726fd803a6 on master.