aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/flespi/ChannelPullTask.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/flespi/ChannelPullTask.java')
-rw-r--r--src/org/traccar/flespi/ChannelPullTask.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/org/traccar/flespi/ChannelPullTask.java b/src/org/traccar/flespi/ChannelPullTask.java
new file mode 100644
index 000000000..5e5525ec9
--- /dev/null
+++ b/src/org/traccar/flespi/ChannelPullTask.java
@@ -0,0 +1,15 @@
+package org.traccar.flespi;
+
+public class ChannelPullTask implements Runnable {
+
+ private final FlespiClient flespiClient;
+
+ protected ChannelPullTask(FlespiClient flespiClient) {
+ this.flespiClient = flespiClient;
+ }
+
+ @Override
+ public void run() {
+ flespiClient.channelPull();
+ }
+}