aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/broadcast/NullBroadcastService.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-18 20:47:11 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-18 20:47:11 -0700
commitc4509720c5dab9d7ba17dd6e89f0d846052b0c39 (patch)
tree73a14316d484ac6ed5137f44f1532350cee5382f /src/main/java/org/traccar/broadcast/NullBroadcastService.java
parenta61e08cb47b8294bf639ebdc0916ead031e92827 (diff)
downloadtrackermap-server-c4509720c5dab9d7ba17dd6e89f0d846052b0c39.tar.gz
trackermap-server-c4509720c5dab9d7ba17dd6e89f0d846052b0c39.tar.bz2
trackermap-server-c4509720c5dab9d7ba17dd6e89f0d846052b0c39.zip
Reset start on restart
Diffstat (limited to 'src/main/java/org/traccar/broadcast/NullBroadcastService.java')
-rw-r--r--src/main/java/org/traccar/broadcast/NullBroadcastService.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/broadcast/NullBroadcastService.java b/src/main/java/org/traccar/broadcast/NullBroadcastService.java
index 3f41299db..f95037990 100644
--- a/src/main/java/org/traccar/broadcast/NullBroadcastService.java
+++ b/src/main/java/org/traccar/broadcast/NullBroadcastService.java
@@ -18,6 +18,11 @@ package org.traccar.broadcast;
public class NullBroadcastService implements BroadcastService {
@Override
+ public boolean singleInstance() {
+ return true;
+ }
+
+ @Override
public void registerListener(BroadcastInterface listener) {
}