Class PortManager


  • public class PortManager
    extends java.lang.Object
    Helper class to manage ports.
    • Constructor Summary

      Constructors 
      Constructor Description
      PortManager()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Integer nextUnusedPort​(int offset)  
      static void release​(java.lang.Integer port)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortManager

        public PortManager()
    • Method Detail

      • nextUnusedPort

        public static java.lang.Integer nextUnusedPort​(int offset)
      • release

        public static void release​(java.lang.Integer port)