mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Implement daemon mode with dbus interface
This commit is contained in:
parent
845e93ec0f
commit
9a1b348ed2
4 changed files with 74 additions and 9 deletions
13
src/main/java/cli/TextSecure.java
Normal file
13
src/main/java/cli/TextSecure.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package cli;
|
||||
|
||||
import org.freedesktop.dbus.DBusInterface;
|
||||
import org.whispersystems.textsecure.api.push.exceptions.EncapsulatedExceptions;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
public interface TextSecure extends DBusInterface {
|
||||
void sendMessage(String message, List<String> attachments, String recipient) throws EncapsulatedExceptions, AttachmentInvalidException, IOException;
|
||||
|
||||
void sendGroupMessage(String message, List<String> attachments, byte[] groupId) throws EncapsulatedExceptions, GroupNotFoundException, AttachmentInvalidException, IOException;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue