org.openqa.selenium.server
Class CommandResultHolder
java.lang.Object
org.openqa.selenium.server.CommandResultHolder
public class CommandResultHolder
- extends Object
Holds the command to be next run in the browser
- Version:
- $Revision: 734 $
- Author:
- Jennifer Bevan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMD_TIMED_OUT_MSG
protected static final String CMD_TIMED_OUT_MSG
- See Also:
- Constant Field Values
CMD_NULL_RESULT_MSG
protected static final String CMD_NULL_RESULT_MSG
- See Also:
- Constant Field Values
CommandResultHolder
public CommandResultHolder(String queueId,
long timeoutInSeconds)
getResult
public String getResult()
- Get a result out of the result holder (from the browser), waiting no longer than the timeout.
- Returns:
- the result from the result holder
putResult
public boolean putResult(String res)
isEmpty
public boolean isEmpty()
peek
public String peek()
poisonPollers
public void poisonPollers()
Copyright © 2012. All Rights Reserved.