signal-cli/src/main/java/org/asamk/signal/commands/JsonRpcSingleCommand.java
2021-11-14 15:00:06 +01:00

10 lines
348 B
Java

package org.asamk.signal.commands;
import org.asamk.signal.commands.exceptions.CommandException;
import org.asamk.signal.manager.Manager;
import org.asamk.signal.output.JsonWriter;
public interface JsonRpcSingleCommand<T> extends JsonRpcCommand<T> {
void handleCommand(T request, Manager m, JsonWriter jsonWriter) throws CommandException;
}