aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-07 16:42:14 +1300
committerGitHub <noreply@github.com>2017-03-07 16:42:14 +1300
commit54867872a7e227742418037ce01da675587cd92b (patch)
treed85a3b1360d76223b64488575394517f7111ab13 /src/org/traccar/Protocol.java
parentdc79a5ce6d9776db30d357dfb16dff624db770dd (diff)
parent679f838e8bd0caaea94b1d4d1cd9b740ea3b9606 (diff)
downloadtrackermap-server-54867872a7e227742418037ce01da675587cd92b.tar.gz
trackermap-server-54867872a7e227742418037ce01da675587cd92b.tar.bz2
trackermap-server-54867872a7e227742418037ce01da675587cd92b.zip
Merge pull request #2982 from Abyss777/rename_data_and_text
Introduce terms "data" and "text" commands
Diffstat (limited to 'src/org/traccar/Protocol.java')
-rw-r--r--src/org/traccar/Protocol.java8
1 files changed, 4 insertions, 4 deletions
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<String> getSupportedCommands();
+ Collection<String> getSupportedDataCommands();
- void sendCommand(ActiveDevice activeDevice, Command command);
+ void sendDataCommand(ActiveDevice activeDevice, Command command);
void initTrackerServers(List<TrackerServer> serverList);
- Collection<String> getSupportedSmsCommands();
+ Collection<String> getSupportedTextCommands();
- void sendSmsCommand(String phone, Command command) throws Exception;
+ void sendTextCommand(String destAddress, Command command) throws Exception;
}