aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-09 14:47:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-09 14:47:28 +1200
commit4e44bf1fa20bf6ce41cc7e0eed9b79d079454f82 (patch)
treee145e20169c61e12bb57f9145bc0c626add5596d /src/org/traccar/Protocol.java
parent7ed27b733d442cb442a8049263fab282b39e5872 (diff)
parent301f2d314f446410da78615ac76ce0c07571d445 (diff)
downloadtrackermap-server-4e44bf1fa20bf6ce41cc7e0eed9b79d079454f82.tar.gz
trackermap-server-4e44bf1fa20bf6ce41cc7e0eed9b79d079454f82.tar.bz2
trackermap-server-4e44bf1fa20bf6ce41cc7e0eed9b79d079454f82.zip
Merge pull request #1920 from gaborgsomogyi/command_framework
Get supported commands from server
Diffstat (limited to 'src/org/traccar/Protocol.java')
-rw-r--r--src/org/traccar/Protocol.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/Protocol.java b/src/org/traccar/Protocol.java
index edf9bfb36..c99fd8ecb 100644
--- a/src/org/traccar/Protocol.java
+++ b/src/org/traccar/Protocol.java
@@ -3,12 +3,15 @@ package org.traccar;
import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;
+import java.util.Collection;
import java.util.List;
public interface Protocol {
String getName();
+ Collection<String> getSupportedCommands();
+
void sendCommand(ActiveDevice activeDevice, Command command);
void initTrackerServers(List<TrackerServer> serverList);