Class TestMoquetteTlsServer
java.lang.Object
test.de.iip_ecosphere.platform.transport.AbstractTestServer
test.de.iip_ecosphere.platform.test.mqtt.moquette.TestMoquetteServer
test.de.iip_ecosphere.platform.test.mqtt.moquette.TestMoquetteTlsServer
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server
A simple embedded Moquette-based MQTT TLS test server for testing/experiments. This class works with Java 8.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from class test.de.iip_ecosphere.platform.test.mqtt.moquette.TestMoquetteServer
KEY_ALIAS, KEYSTORE_PASSWORD -
Constructor Summary
ConstructorsConstructorDescriptionTestMoquetteTlsServer(de.iip_ecosphere.platform.support.ServerAddress addr) Creates the server instance. -
Method Summary
Methods inherited from class test.de.iip_ecosphere.platform.test.mqtt.moquette.TestMoquetteServer
clearAuth, setBasicAuth, start, stopMethods inherited from class test.de.iip_ecosphere.platform.transport.AbstractTestServer
applyBaseDir, extractConfiguration, extractConfiguration, getConfigDir, getConfigDir, getInteger, getInteger, getString, runsFromJar, setConfigDir
-
Constructor Details
-
TestMoquetteTlsServer
public TestMoquetteTlsServer(de.iip_ecosphere.platform.support.ServerAddress addr) Creates the server instance.- Parameters:
addr- the server address (schema is ignored)
-
-
Method Details
-
main
Starts the server from the command line.- Parameters:
args- the first argument may be the port number, else 8883 is used
-