aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/command/CommandTemplate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/command/CommandTemplate.java')
-rw-r--r--src/org/traccar/command/CommandTemplate.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/traccar/command/CommandTemplate.java b/src/org/traccar/command/CommandTemplate.java
new file mode 100644
index 000000000..cdc9be7ab
--- /dev/null
+++ b/src/org/traccar/command/CommandTemplate.java
@@ -0,0 +1,8 @@
+package org.traccar.command;
+
+import org.traccar.database.ActiveDevice;
+import org.traccar.command.GpsCommand;
+
+public interface CommandTemplate<T extends GpsCommand> {
+ Object applyTo(ActiveDevice activeDevice, T command);
+}