diff options
Diffstat (limited to 'src/org/traccar/Protocol.java')
-rw-r--r-- | src/org/traccar/Protocol.java | 8 |
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; } |