public interface BootstrapCommunicator
| Modifier and Type | Method and Description |
|---|---|
void |
registerMessageHandler(String command,
BiConsumer<String[],OutputStream> handler)
Register a handler for messages coming from bootstrap process
|
void |
sendCommand(String command,
String... args)
Sends a command with specific arguments to the bootstrap process
|
void sendCommand(String command, String... args) throws IOException
command - the command to sendargs - the args to sendIOException - exception in case of communication issuevoid registerMessageHandler(String command, BiConsumer<String[],OutputStream> handler)
command - the commandhandler - handler for the specific commandCopyright © 2023 Apache NiFi Project. All rights reserved.