Class ServerWrapperTest.TestServer

java.lang.Object
test.de.iip_ecosphere.platform.services.ServerWrapperTest.TestServer
All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server, Runnable
Enclosing class:
ServerWrapperTest

public class ServerWrapperTest.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
    • startedCount

      private int startedCount
    • stoppedCount

      private int stoppedCount
  • Constructor Details

    • TestServer

      public TestServer()
  • 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