aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index ccfe4bee7..dc6bcbec9 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1309,4 +1309,18 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL),
"time,position,speed,course,accuracy,result");
+ /**
+ * Multicast address for broadcasting synchronization events.
+ */
+ public static final ConfigKey<String> BROADCAST_ADDRESS = new ConfigKey<>(
+ "broadcast.address",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
+ * Multicast port for broadcasting synchronization events.
+ */
+ public static final ConfigKey<Integer> BROADCAST_PORT = new ConfigKey<>(
+ "broadcast.port",
+ Collections.singletonList(KeyType.GLOBAL));
+
}