java.lang.Object
de.iip_ecosphere.platform.services.environment.testing.TestBroker
All Implemented Interfaces:
Starter.Plugin

public class TestBroker extends Object implements Starter.Plugin
Startup plugin for in-situ testing the transport broker.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • TestBroker

      public TestBroker()
  • Method Details

    • createSetup

      public static de.iip_ecosphere.platform.transport.connectors.TransportSetup createSetup(String[] args)
      Creates a transport setup instance from args.
      Parameters:
      args - the command line arguments
      Returns:
      the setup instance or null if none can be created
    • createStringReceptionCallback

      public static de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<String> createStringReceptionCallback()
      Creates a default string reception callback.
      Returns:
      the callback
    • run

      public void run(String[] args)
      Description copied from interface: Starter.Plugin
      Runs the plugin.
      Specified by:
      run in interface Starter.Plugin
      Parameters:
      args - the (modified) command line arguments
    • getHelp

      public String getHelp(String indent)
      Description copied from interface: Starter.Plugin
      Displays the help.
      Specified by:
      getHelp in interface Starter.Plugin
      Parameters:
      indent - indentation characters for all lines after the first
      Returns:
      the formatted help text