Class PortManagerSingleton
java.lang.Object
org.refcodes.net.PortManager
org.refcodes.net.PortManagerSingleton
The singleton of the
PortManager for system wide port management.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new port manager singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic PortManagerReturns 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
PortManagersingleton's instance.
-