Package jmri.jmrix.openlcb
Class OlcbConnectionTypeList
- java.lang.Object
-
- jmri.jmrix.openlcb.OlcbConnectionTypeList
-
- All Implemented Interfaces:
ConnectionTypeList
,JmriServiceProviderInterface
public class OlcbConnectionTypeList extends java.lang.Object implements ConnectionTypeList
Returns a list of valid Connection Types
-
-
Constructor Summary
Constructors Constructor Description OlcbConnectionTypeList()
-
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
-
OPENLCB
public static final java.lang.String OPENLCB
- See Also:
- Constant Field Values
-
LCC
public static final java.lang.String LCC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OlcbConnectionTypeList
public OlcbConnectionTypeList()
-
-
Method Detail
-
getAvailableProtocolClasses
@Nonnull public java.lang.String[] getAvailableProtocolClasses()
Description copied from interface:ConnectionTypeList
Get a list of classes that can configure a layout connection for the manufacturers specified inConnectionTypeList.getManufacturers()
.- Specified by:
getAvailableProtocolClasses
in interfaceConnectionTypeList
- Returns:
- an Array of classes or an empty Array if none
-
getManufacturers
@Nonnull public java.lang.String[] getManufacturers()
Description copied from interface:ConnectionTypeList
Get a list of manufacturer names supported by the classes specified inConnectionTypeList.getAvailableProtocolClasses()
.- Specified by:
getManufacturers
in interfaceConnectionTypeList
- Returns:
- an Array of manufacturers or an empty Array if none
-
-