|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.grid.internal.RemoteProxy
org.openqa.grid.selenium.proxy.WebRemoteProxy
public abstract class WebRemoteProxy
Field Summary |
---|
Fields inherited from class org.openqa.grid.internal.RemoteProxy |
---|
remoteURL |
Constructor Summary | |
---|---|
WebRemoteProxy(RegistrationRequest request,
Registry registry)
|
Method Summary | |
---|---|
void |
addNewEvent(RemoteException event)
Allow to record when something important about the remote state is detected. |
void |
afterCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed just before the forwards returns. |
void |
beforeCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed before the hub forwards the request. reading the content of the request stream will prevent the content from being forwarded. |
abstract void |
beforeRelease(TestSession session)
Gives a chance to clean the resources on the remote when the session has timed out. |
HtmlRenderer |
getHtmlRender()
|
TestSession |
getNewSession(Map<String,Object> requestedCapability)
overwrites the session allocation to discard the proxy that are down. |
boolean |
isAlive()
|
boolean |
isDown()
|
void |
onEvent(List<RemoteException> events,
RemoteException lastInserted)
Allow to process the list of all the events that were detected on this Remote so far. |
void |
startPolling()
start/restart the polling for the remote proxy. |
void |
stopPolling()
put the polling on hold. |
Methods inherited from class org.openqa.grid.internal.RemoteProxy |
---|
compareTo, equals, getCapabilityHelper, getConfig, getId, getMaxNumberOfConcurrentTestSessions, getNewInstance, getOriginalRegistrationRequest, getRegistry, getRemoteURL, getTestSlots, getTimeOut, getTotalUsed, hashCode, isBusy, setCapabilityHelper, setId, teardown, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebRemoteProxy(RegistrationRequest request, Registry registry)
Method Detail |
---|
public abstract void beforeRelease(TestSession session)
TimeoutListener
beforeRelease
in interface TimeoutListener
public void afterCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
CommandListener
afterCommand
in interface CommandListener
public void beforeCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
CommandListener
beforeCommand
in interface CommandListener
public HtmlRenderer getHtmlRender()
getHtmlRender
in class RemoteProxy
public boolean isAlive()
public void startPolling()
SelfHealingProxy
startPolling
in interface SelfHealingProxy
public void stopPolling()
SelfHealingProxy
stopPolling
in interface SelfHealingProxy
public void addNewEvent(RemoteException event)
SelfHealingProxy
addNewEvent
in interface SelfHealingProxy
public void onEvent(List<RemoteException> events, RemoteException lastInserted)
SelfHealingProxy
onEvent
in interface SelfHealingProxy
public TestSession getNewSession(Map<String,Object> requestedCapability)
getNewSession
in class RemoteProxy
public boolean isDown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |