Class TSimpleServer


  • public class TSimpleServer
    extends TServer
    Simple singlethreaded server for testing.
    • 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