Interface BootstrapCommunicator


public interface BootstrapCommunicator
  • Method Details

    • sendCommand

      void sendCommand(String command, String... args) throws IOException
      Sends a command with specific arguments to the bootstrap process
      Parameters:
      command - the command to send
      args - the args to send
      Throws:
      IOException - exception in case of communication issue
    • registerMessageHandler

      void registerMessageHandler(String command, BiConsumer<String[],OutputStream> handler)
      Register a handler for messages coming from bootstrap process
      Parameters:
      command - the command
      handler - handler for the specific command