mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Add JsonRpcMultiCommand
This commit is contained in:
parent
64af4914ee
commit
9c67aabebb
8 changed files with 90 additions and 26 deletions
|
@ -0,0 +1,9 @@
|
|||
package org.asamk.signal.commands;
|
||||
|
||||
import org.asamk.signal.JsonWriter;
|
||||
import org.asamk.signal.commands.exceptions.CommandException;
|
||||
|
||||
public interface JsonRpcMultiCommand<T> extends JsonRpcCommand<T> {
|
||||
|
||||
void handleCommand(T request, SignalCreator c, JsonWriter jsonWriter) throws CommandException;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue