|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.selenium.internal.SocketLock
public class SocketLock
Implements Lock via an implementation that uses a well-known
server socket.
| Field Summary | |
|---|---|
static int |
DEFAULT_PORT
|
| Constructor Summary | |
|---|---|
SocketLock()
Constructs a new SocketLock using the default port. |
|
SocketLock(java.net.InetSocketAddress address)
Constructs a new SocketLock. |
|
SocketLock(int lockPort)
Constructs a new SocketLock. |
|
| Method Summary | |
|---|---|
void |
lock(long timeoutInMillis)
|
void |
unlock()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PORT
| Constructor Detail |
|---|
public SocketLock()
public SocketLock(int lockPort)
lockPort - the port number to lockpublic SocketLock(java.net.InetSocketAddress address)
address - The port to lock.| Method Detail |
|---|
public void lock(long timeoutInMillis)
throws WebDriverException
lock in interface LockWebDriverExceptionpublic void unlock()
unlock in interface Lock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||