io.selendroid.server
Class AndroidServer
java.lang.Object
io.selendroid.server.AndroidServer
public class AndroidServer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndroidServer
protected AndroidServer(int port,
ServerInstrumentation androidInstrumentation)
throws UnknownHostException
- for testing only
- Throws:
UnknownHostException
AndroidServer
public AndroidServer(ServerInstrumentation androidInstrumentation,
int port)
init
protected void init(ServerInstrumentation androidInstrumentation)
setConnectionTimeout
public void setConnectionTimeout(long millies)
- just make sure if the server timeout is set that this method is called as well.
- Parameters:
millies -
start
public void start()
stop
public void stop()
getPort
public int getPort()
Copyright © 2014. All rights reserved.