- java.lang.Object
-
- org.refcodes.serial.alt.tty.TtyPortHub
-
- org.refcodes.serial.alt.tty.TtyPortHubSingleton
-
- All Implemented Interfaces:
org.refcodes.serial.PortHub<TtyPort,TtyPortMetrics>
public class TtyPortHubSingleton extends TtyPortHub
The singleton of theTtyPortHub
for system wide COM port management.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TtyPortHubSingleton()
Instantiates a new port manager singleton.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TtyPortHub
getInstance()
Returns the singleton's instance as fabricated by thisTtyPortHubSingleton
.-
Methods inherited from class org.refcodes.serial.alt.tty.TtyPortHub
ports, toPort
-
-
-
-
Method Detail
-
getInstance
public static TtyPortHub getInstance()
Returns the singleton's instance as fabricated by thisTtyPortHubSingleton
.- Returns:
- The
TtyPortHub
singleton's instance.
-
-