mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Rename JsonRpcCommand class
This commit is contained in:
parent
2879b31aba
commit
64af4914ee
5 changed files with 17 additions and 12 deletions
|
@ -3,9 +3,6 @@ package org.asamk.signal.commands;
|
|||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import org.asamk.signal.OutputType;
|
||||
import org.asamk.signal.OutputWriter;
|
||||
import org.asamk.signal.commands.exceptions.CommandException;
|
||||
import org.asamk.signal.manager.Manager;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -15,8 +12,6 @@ public interface JsonRpcCommand<T> extends Command {
|
|||
return null;
|
||||
}
|
||||
|
||||
void handleCommand(T request, Manager m, OutputWriter outputWriter) throws CommandException;
|
||||
|
||||
default List<OutputType> getSupportedOutputTypes() {
|
||||
return List.of(OutputType.JSON);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue