diff options
Diffstat (limited to 'src/org/traccar/Protocol.java')
-rw-r--r-- | src/org/traccar/Protocol.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/org/traccar/Protocol.java b/src/org/traccar/Protocol.java index c99fd8ecb..87ac05298 100644 --- a/src/org/traccar/Protocol.java +++ b/src/org/traccar/Protocol.java @@ -10,10 +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> getSupportedTextCommands(); + + void sendTextCommand(String destAddress, Command command) throws Exception; + } |