aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-06 10:07:43 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-06 10:25:28 +0500
commit679f838e8bd0caaea94b1d4d1cd9b740ea3b9606 (patch)
tree5615803d51c2c321514f70dd36ae92143e233ac7 /src/org/traccar/Protocol.java
parentcbb28de69d4da85b3baff9967549d35952164a31 (diff)
downloadtrackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.tar.gz
trackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.tar.bz2
trackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.zip
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;
}