com.github.dreamhead.moco
Class Runner

java.lang.Object
  extended by com.github.dreamhead.moco.Runner
Direct Known Subclasses:
MocoHttpServer

public abstract class Runner
extends java.lang.Object


Constructor Summary
Runner()
           
 
Method Summary
static Runner runner(HttpServer httpServer)
           
static void running(HttpServer httpServer, Runnable runnable)
           
abstract  void start()
           
abstract  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Runner

public Runner()
Method Detail

running

public static void running(HttpServer httpServer,
                           Runnable runnable)
                    throws java.lang.Exception
Throws:
java.lang.Exception

runner

public static Runner runner(HttpServer httpServer)

start

public abstract void start()

stop

public abstract void stop()