001package jmri.jmrix.loconet;
002
003import jmri.jmrix.ConnectionTypeList;
004import org.openide.util.lookup.ServiceProvider;
005
006/**
007 * Get a list of valid LocoNet Connection Types.
008 *
009 * @author Bob Jacobsen Copyright (C) 2010
010 * @author Kevin Dickerson Copyright (C) 2010
011  *
012 */
013@ServiceProvider(service = ConnectionTypeList.class)
014public class LnConnectionTypeList implements jmri.jmrix.ConnectionTypeList {
015
016    public static final String DIGITRAX = "Digitrax"; // NOI18N
017
018    @Override
019    public String[] getAvailableProtocolClasses() {
020        return new String[]{
021            "jmri.jmrix.loconet.locobufferng.ConnectionConfig", // NOI18N
022            "jmri.jmrix.loconet.locobufferusb.ConnectionConfig", // NOI18N
023            "jmri.jmrix.loconet.pr4.ConnectionConfig", // NOI18N
024            "jmri.jmrix.loconet.usb_dcs240.ConnectionConfig", // NOI18N
025            "jmri.jmrix.loconet.usb_dcs240Plus.ConnectionConfig", // NOI18N
026            "jmri.jmrix.loconet.usb_dcs210Plus.ConnectionConfig", // NOI18N
027            "jmri.jmrix.loconet.usb_dcs52.ConnectionConfig", // NOI18N
028            "jmri.jmrix.loconet.hexfile.ConnectionConfig", // NOI18N
029            "jmri.jmrix.loconet.loconetovertcp.ConnectionConfig", // NOI18N
030            "jmri.jmrix.loconet.locormi.ConnectionConfig", // NOI18N
031            "jmri.jmrix.loconet.pr3.ConnectionConfig", // NOI18N
032            "jmri.jmrix.loconet.pr2.ConnectionConfig", // NOI18N
033            "jmri.jmrix.loconet.locobufferii.ConnectionConfig", // NOI18N
034            "jmri.jmrix.loconet.locobuffer.ConnectionConfig", // NOI18N
035            "jmri.jmrix.loconet.ms100.ConnectionConfig", // NOI18N
036            "jmri.jmrix.loconet.bluetooth.ConnectionConfig", // NOI18N
037            "jmri.jmrix.loconet.streamport.LnStreamConnectionConfig" // NOI18N
038        };
039    }
040
041    @Override
042    public String[] getManufacturers() {
043        return new String[]{DIGITRAX};
044    }
045
046}