org.apache.blur.thirdparty.thrift_0_9_0.server
Class TSimpleServer

java.lang.Object
  extended by org.apache.blur.thirdparty.thrift_0_9_0.server.TServer
      extended by org.apache.blur.thirdparty.thrift_0_9_0.server.TSimpleServer

public class TSimpleServer
extends TServer

Simple singlethreaded server for testing.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.blur.thirdparty.thrift_0_9_0.server.TServer
TServer.AbstractServerArgs<T extends TServer.AbstractServerArgs<T>>, TServer.Args
 
Constructor Summary
TSimpleServer(TServer.AbstractServerArgs args)
           
 
Method Summary
 void serve()
          The run method fires up the server and gets things going.
 void stop()
          Stop the server.
 
Methods inherited from class org.apache.blur.thirdparty.thrift_0_9_0.server.TServer
getEventHandler, isServing, setServerEventHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSimpleServer

public TSimpleServer(TServer.AbstractServerArgs args)
Method Detail

serve

public void serve()
Description copied from class: TServer
The run method fires up the server and gets things going.

Specified by:
serve in class TServer

stop

public void stop()
Description copied from class: TServer
Stop the server. This is optional on a per-implementation basis. Not all servers are required to be cleanly stoppable.

Overrides:
stop in class TServer


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.