aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/broadcast/NullBroadcastService.java
diff options
context:
space:
mode:
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) {
}