]>
nmode's Git Repositories - signal-cli/blob - src/main/java/org/asamk/signal/commands/DbusCommand.java
1a949c81b3b02d47dafcb3646d58a31b0b0a4ad9
1 package org
.asamk
.signal
.commands
;
3 import net
.sourceforge
.argparse4j
.inf
.Namespace
;
5 import org
.asamk
.Signal
;
6 import org
.asamk
.signal
.commands
.exceptions
.CommandException
;
7 import org
.asamk
.signal
.dbus
.DbusSignalImpl
;
8 import org
.asamk
.signal
.manager
.Manager
;
10 public interface DbusCommand
extends LocalCommand
{
12 void handleCommand(Namespace ns
, Signal signal
) throws CommandException
;
14 default void handleCommand(final Namespace ns
, final Manager m
) throws CommandException
{
15 handleCommand(ns
, new DbusSignalImpl(m
, null));