java.lang.Object
test.de.iip_ecosphere.platform.simpleStream.spring.TestServer
All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server, Runnable

public class TestServer extends Object implements de.iip_ecosphere.platform.support.Server, Runnable
Test server that just emits some lines and does noting. For testing platform-managed servers.
Author:
Holger Eichelberger, SSE
  • Field Details

    • running

      private boolean running
  • Constructor Details

    • TestServer

      public TestServer(String[] args)
      Creates a test server instance from command line.
      Parameters:
      args - the command line arguments supplied by the platform
  • Method Details

    • start

      public de.iip_ecosphere.platform.support.Server start()
      Specified by:
      start in interface de.iip_ecosphere.platform.support.Server
    • stop

      public void stop(boolean dispose)
      Specified by:
      stop in interface de.iip_ecosphere.platform.support.Server
    • run

      public void run()
      Specified by:
      run in interface Runnable