X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/2879b31abab0d10a5f3f40a810f4f1689ecd5833..64af4914ee87067fdab16129535c530171b80766:/src/main/java/org/asamk/signal/commands/JsonRpcSingleCommand.java diff --git a/src/main/java/org/asamk/signal/commands/JsonRpcSingleCommand.java b/src/main/java/org/asamk/signal/commands/JsonRpcSingleCommand.java new file mode 100644 index 00000000..14d2b864 --- /dev/null +++ b/src/main/java/org/asamk/signal/commands/JsonRpcSingleCommand.java @@ -0,0 +1,10 @@ +package org.asamk.signal.commands; + +import org.asamk.signal.OutputWriter; +import org.asamk.signal.commands.exceptions.CommandException; +import org.asamk.signal.manager.Manager; + +public interface JsonRpcSingleCommand extends JsonRpcCommand { + + void handleCommand(T request, Manager m, OutputWriter outputWriter) throws CommandException; +}