org.openqa.selenium.net
Class PortProber

java.lang.Object
  extended by org.openqa.selenium.net.PortProber

public class PortProber
extends Object


Constructor Summary
PortProber()
           
 
Method Summary
static int findFreePort()
           
static Callable<Integer> freeLocalPort(int port)
           
static boolean pollPort(int port)
           
static boolean pollPort(int port, int timeout, TimeUnit unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortProber

public PortProber()
Method Detail

findFreePort

public static int findFreePort()

freeLocalPort

public static Callable<Integer> freeLocalPort(int port)

pollPort

public static boolean pollPort(int port)

pollPort

public static boolean pollPort(int port,
                               int timeout,
                               TimeUnit unit)


Copyright © 2012. All Rights Reserved.