java.lang.Object
org.refcodes.serial.alt.tty.TtyPortHub
org.refcodes.serial.alt.tty.TtyPortHubSingleton
- All Implemented Interfaces:
org.refcodes.serial.PortHub<TtyPort,
TtyPortMetrics>
The singleton of the
TtyPortHub
for system wide COM port management.-
Constructor Summary
ModifierConstructorDescriptionprotected
Instantiates a new port manager singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic TtyPortHub
Returns the singleton's instance as fabricated by thisTtyPortHubSingleton
.Methods inherited from class org.refcodes.serial.alt.tty.TtyPortHub
ports, toPort
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.serial.PortHub
ports, toPort
-
Constructor Details
-
TtyPortHubSingleton
protected TtyPortHubSingleton()Instantiates a new port manager singleton.
-
-
Method Details
-
getInstance
Returns the singleton's instance as fabricated by thisTtyPortHubSingleton
.- Returns:
- The
TtyPortHub
singleton's instance.
-