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 Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
-
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:
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()
-