Package jmri.jmrix.mrc
Class MrcConnectionTypeList
- java.lang.Object
-
- jmri.jmrix.mrc.MrcConnectionTypeList
-
- All Implemented Interfaces:
ConnectionTypeList,JmriServiceProviderInterface
public class MrcConnectionTypeList extends java.lang.Object implements ConnectionTypeList
Returns a list of valid MRC Connection Types
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMRC
-
Constructor Summary
Constructors Constructor Description MrcConnectionTypeList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getAvailableProtocolClasses()Get a list of classes that can configure a layout connection for the manufacturers specified inConnectionTypeList.getManufacturers().java.lang.String[]getManufacturers()Get a list of manufacturer names supported by the classes specified inConnectionTypeList.getAvailableProtocolClasses().
-
-
-
Field Detail
-
MRC
public static final java.lang.String MRC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MrcConnectionTypeList
public MrcConnectionTypeList()
-
-
Method Detail
-
getAvailableProtocolClasses
public java.lang.String[] getAvailableProtocolClasses()
Description copied from interface:ConnectionTypeListGet a list of classes that can configure a layout connection for the manufacturers specified inConnectionTypeList.getManufacturers().- Specified by:
getAvailableProtocolClassesin interfaceConnectionTypeList- Returns:
- an Array of classes or an empty Array if none
-
getManufacturers
public java.lang.String[] getManufacturers()
Description copied from interface:ConnectionTypeListGet a list of manufacturer names supported by the classes specified inConnectionTypeList.getAvailableProtocolClasses().- Specified by:
getManufacturersin interfaceConnectionTypeList- Returns:
- an Array of manufacturers or an empty Array if none
-
-