From 679f838e8bd0caaea94b1d4d1cd9b740ea3b9606 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 6 Mar 2017 10:07:43 +0500 Subject: Introduce terms "data" and "text" commands --- src/org/traccar/Protocol.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/org/traccar/Protocol.java') diff --git a/src/org/traccar/Protocol.java b/src/org/traccar/Protocol.java index f6a4fbebb..87ac05298 100644 --- a/src/org/traccar/Protocol.java +++ b/src/org/traccar/Protocol.java @@ -10,14 +10,14 @@ public interface Protocol { String getName(); - Collection getSupportedCommands(); + Collection getSupportedDataCommands(); - void sendCommand(ActiveDevice activeDevice, Command command); + void sendDataCommand(ActiveDevice activeDevice, Command command); void initTrackerServers(List serverList); - Collection getSupportedSmsCommands(); + Collection getSupportedTextCommands(); - void sendSmsCommand(String phone, Command command) throws Exception; + void sendTextCommand(String destAddress, Command command) throws Exception; } -- cgit v1.2.3