org.openqa.grid.internal.utils
Class SelfRegisteringRemote
java.lang.Object
org.openqa.grid.internal.utils.SelfRegisteringRemote
public class SelfRegisteringRemote
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfRegisteringRemote
public SelfRegisteringRemote(RegistrationRequest config)
getRemoteURL
public java.net.URL getRemoteURL()
startRemoteServer
public void startRemoteServer()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopRemoteServer
public void stopRemoteServer()
deleteAllBrowsers
public void deleteAllBrowsers()
addBrowser
public void addBrowser(DesiredCapabilities cap,
int instances)
sendRegistrationRequest
public void sendRegistrationRequest()
- sends 1 registration request, bypassing the retry logic and the proxy already registered check.
Use only for testing.
startRegistrationProcess
public void startRegistrationProcess()
- register the hub following the configuration : - check if the proxy is already registered
before sending a reg request. - register again every X ms is specified in the config of
the node.
setTimeout
public void setTimeout(int timeout,
int cycle)
setMaxConcurrent
public void setMaxConcurrent(int max)
getConfiguration
public java.util.Map<java.lang.String,java.lang.Object> getConfiguration()
Copyright © 2011. All Rights Reserved.