java.lang.Object
org.refcodes.net.PortManager
org.refcodes.net.PortManagerSingleton
The singleton of the
PortManager
for system wide port management.-
Constructor Summary
ModifierConstructorDescriptionprotected
Instantiates a new port manager singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic PortManager
Returns the singleton's instance as fabricated by thisPortManagerSingleton
.Methods inherited from class org.refcodes.net.PortManager
bindAnyPort, bindNextPort, bindNextPort, bindNextPort, bindPort, isPortAvaialble, isPortBound, unbindPort
-
Constructor Details
-
PortManagerSingleton
protected PortManagerSingleton()Instantiates a new port manager singleton.
-
-
Method Details
-
getInstance
Returns the singleton's instance as fabricated by thisPortManagerSingleton
.- Returns:
- The
PortManager
singleton's instance.
-