Class NoOpServer

java.lang.Object
de.iip_ecosphere.platform.support.NoOpServer
All Implemented Interfaces:
Server

public class NoOpServer extends Object implements Server
A server that does nothing (sometimes a helpful fake class).
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • NoOpServer

      public NoOpServer()
  • Method Details

    • start

      public Server start()
      Description copied from interface: Server
      Start the server without waiting time/blocking.
      Specified by:
      start in interface Server
      Returns:
      this
    • stop

      public void stop(boolean dispose)
      Description copied from interface: Server
      Stop the server. So far, we make no statement whether re-starting the server is possible, but it is safe to assume that re-starting is not foreseen.
      Specified by:
      stop in interface Server
      Parameters:
      dispose - shall also allocated resources of this server be disposed