import net.sourceforge.argparse4j.inf.Namespace;
import org.asamk.Signal;
-import org.freedesktop.dbus.DBusConnection;
+import org.asamk.signal.OutputWriter;
+import org.asamk.signal.commands.exceptions.CommandException;
+import org.freedesktop.dbus.connections.impl.DBusConnection;
-public interface ExtendedDbusCommand extends Command {
+public interface ExtendedDbusCommand extends CliCommand {
- int handleCommand(Namespace ns, Signal signal, DBusConnection dbusconnection);
+ void handleCommand(
+ Namespace ns, Signal signal, DBusConnection dbusconnection, final OutputWriter outputWriter
+ ) throws CommandException;
}