Class PortAllocator


  • public final class PortAllocator
    extends Object
    • Method Detail

      • allocatePort

        public static int allocatePort()
        Allocate a TCP port.
        Returns:
        the allocated port