Class SerialTransportLayer
java.lang.Object
com.marginallyclever.communications.transport.serial.SerialTransportLayer
- All Implemented Interfaces:
TransportLayer
Lists available serial connections and opens a connection of that type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]find all available serial portsopenConnection(String connectionName) opens a connection
-
Constructor Details
-
SerialTransportLayer
public SerialTransportLayer()
-
-
Method Details
-
listConnections
-
openConnection
Description copied from interface:TransportLayeropens a connection- Specified by:
openConnectionin interfaceTransportLayer- Parameters:
connectionName- where to connect- Returns:
serialConnectionif connection successful.nullon failure.
-
getTransportLayerPanel
- Specified by:
getTransportLayerPanelin interfaceTransportLayer- Returns:
- a panel with the gui options for this transport layer
-