aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorRafael E. Ajuria <reajuria@users.noreply.github.com>2023-06-07 02:28:53 +0000
committerRafael E. Ajuria <reajuria@users.noreply.github.com>2023-06-07 02:28:53 +0000
commitcfd91d45b6731e6632ebb8a4913f807bab510707 (patch)
tree7e1ff676c5c38c0cd03854c0c1d6013c96a39acd /src/main/java/org/traccar/config
parent3c8acbd681409a068f3428ce2cbd8cf002d0b974 (diff)
downloadtrackermap-server-cfd91d45b6731e6632ebb8a4913f807bab510707.tar.gz
trackermap-server-cfd91d45b6731e6632ebb8a4913f807bab510707.tar.bz2
trackermap-server-cfd91d45b6731e6632ebb8a4913f807bab510707.zip
redis broadcast implementation
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index d4780ba46..6f42e8937 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1756,6 +1756,14 @@ public final class Keys {
"time,position,speed,course,accuracy,result");
/**
+ * Broadcast method. Available options are "multicast" and "redis". Default is "multicast".
+ */
+ public static final ConfigKey<String> BROADCAST_TYPE = new StringConfigKey(
+ "broadcast.type",
+ List.of(KeyType.CONFIG),
+ "multicast");
+
+ /**
* Multicast interface. It can be either an IP address or an interface name.
*/
public static final ConfigKey<String> BROADCAST_INTERFACE = new StringConfigKey(