org.openqa.selenium.firefox.internal
Class NewProfileExtensionConnection

java.lang.Object
  extended by org.openqa.selenium.firefox.internal.AbstractExtensionConnection
      extended by org.openqa.selenium.firefox.internal.NewProfileExtensionConnection
All Implemented Interfaces:
ExtensionConnection

public class NewProfileExtensionConnection
extends AbstractExtensionConnection


Field Summary
 
Fields inherited from class org.openqa.selenium.firefox.internal.AbstractExtensionConnection
address
 
Constructor Summary
NewProfileExtensionConnection(FirefoxBinary binary, FirefoxProfile profile, java.lang.String host)
           
 
Method Summary
protected  int determineNextFreePort(java.lang.String host, int port)
           
protected  java.net.InetSocketAddress getAddressForLock(int port)
           
protected  void getLock(int port)
           
 void quit()
           
protected  void releaseLock()
           
 
Methods inherited from class org.openqa.selenium.firefox.internal.AbstractExtensionConnection
connectToBrowser, isConnected, sendMessageAndWaitForResponse, setAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewProfileExtensionConnection

public NewProfileExtensionConnection(FirefoxBinary binary,
                                     FirefoxProfile profile,
                                     java.lang.String host)
                              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getLock

protected void getLock(int port)
                throws java.io.IOException
Throws:
java.io.IOException

getAddressForLock

protected java.net.InetSocketAddress getAddressForLock(int port)

releaseLock

protected void releaseLock()
                    throws java.io.IOException
Throws:
java.io.IOException

determineNextFreePort

protected int determineNextFreePort(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Throws:
java.io.IOException

quit

public void quit()


Copyright © 2009. All Rights Reserved.