io.selendroid.server
Class AndroidServer

java.lang.Object
  extended by io.selendroid.server.AndroidServer

public class AndroidServer
extends Object


Constructor Summary
protected AndroidServer(int port, ServerInstrumentation androidInstrumentation)
          for testing only
  AndroidServer(ServerInstrumentation androidInstrumentation, int port)
           
 
Method Summary
 int getPort()
           
protected  void init(ServerInstrumentation androidInstrumentation)
           
 void setConnectionTimeout(long millies)
          just make sure if the server timeout is set that this method is called as well.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidServer

protected AndroidServer(int port,
                        ServerInstrumentation androidInstrumentation)
                 throws UnknownHostException
for testing only

Throws:
UnknownHostException

AndroidServer

public AndroidServer(ServerInstrumentation androidInstrumentation,
                     int port)
Method Detail

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.