org.objectweb.dsrg.sofa.util
Class FindPortUtil

java.lang.Object
  extended by org.objectweb.dsrg.sofa.util.FindPortUtil

public class FindPortUtil
extends java.lang.Object

Helps with finding a free port to use.


Constructor Summary
FindPortUtil()
           
 
Method Summary
static int getFreePort(int startingPort)
          Checks availability of a port and returns the first greater or equal available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindPortUtil

public FindPortUtil()
Method Detail

getFreePort

public static int getFreePort(int startingPort)
Checks availability of a port and returns the first greater or equal available.