Package jmri.managers

Class DefaultProgrammerManager

java.lang.Object
jmri.beans.PropertyChangeSupport
jmri.managers.DefaultProgrammerManager
All Implemented Interfaces:
AddressedProgrammerManager, PropertyChangeFirer, PropertyChangeProvider, GlobalProgrammerManager
Direct Known Subclasses:
CbusDccProgrammerManager, CbusProgrammerManager, Dcc4PcProgrammerManager, DCCppProgrammerManager, DebugProgrammerManager, EasyDccProgrammerManager, EcosProgrammerManager, LnProgrammerManager, MrcProgrammerManager, Mx1ProgrammerManager, NceProgrammerManager, OlcbProgrammerManager, SprogProgrammerManager, SRCPProgrammerManager, TamsProgrammerManager, XNetProgrammerManager

public class DefaultProgrammerManager
extends PropertyChangeSupport
implements AddressedProgrammerManager, GlobalProgrammerManager
Provides a very basic implementation of a programmer manager by providing a union of the AddressedProgrammerManager and GlobalProgrammerManager interfaces.

This implementation requires a service-mode Programmer at construction time and returns that Programmer for all global programming mode requests. This implementation of AddressedProgrammerManager always returns null for Op Mode, or addressed programmer requests, indicating there is no programmer of that type.

See Also:
AddressedProgrammerManager, GlobalProgrammerManager