Package jmri.jmrix

Class ConnectionStatus

java.lang.Object
jmri.jmrix.ConnectionStatus

public class ConnectionStatus extends Object
Interface for classes that wish to get notification when the connection to the layout changes.

Maintains a single instance, as there is only one set of connections for the running program.

The "system name" referred to here is the human-readable name like "LocoNet 2" which can be obtained from i.e. SystemConnectionMemo.getUserName(). Not clear whether ConnectionConfig.getConnectionName() is correct. It's not intended to be the prefix from i.e. PortAdapter.getSystemPrefix(). Maybe the right thing is to pass in the SystemConnectionMemo?