Class TestServer
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
running
private boolean running
-
-
Constructor Details
-
TestServer
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:
startin interfacede.iip_ecosphere.platform.support.Server
-
stop
public void stop(boolean dispose) - Specified by:
stopin interfacede.iip_ecosphere.platform.support.Server
-
run
public void run()
-