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