aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-29 22:57:37 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-29 22:57:37 -0800
commit31c4daf083e9f4b799d73d4a1ccb9158505aea70 (patch)
treed0d3acadd7ca6869d8023c741f2af0dad7579dee /src/main/java/org/traccar/config
parent449941043a8303e1cca7c63b28e84b6b53c6871c (diff)
downloadtraccar-server-31c4daf083e9f4b799d73d4a1ccb9158505aea70.tar.gz
traccar-server-31c4daf083e9f4b799d73d4a1ccb9158505aea70.tar.bz2
traccar-server-31c4daf083e9f4b799d73d4a1ccb9158505aea70.zip
Migrate more keys
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index d443509e5..598cac66f 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -138,6 +138,27 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
+ * Some devices require server address confirmation. Use this parameter to configure correct public address.
+ */
+ public static final ConfigSuffix<String> PROTOCOL_SERVER = new ConfigSuffix<>(
+ ".server",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
+ * Skip device connection session cache. Per protocol configuration.
+ */
+ public static final ConfigSuffix<Boolean> PROTOCOL_IGNORE_SESSIONS_CACHE = new ConfigSuffix<>(
+ ".ignoreSessionCache",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
+ * Skip device connection session cache. Global configuration.
+ */
+ public static final ConfigKey<Boolean> DECODER_IGNORE_SESSIONS_CACHE = new ConfigKey<>(
+ "decoder.ignoreSessionCache",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* Server wide connection timeout value in seconds. See protocol timeout for more information.
*/
public static final ConfigKey<Integer> SERVER_TIMEOUT = new ConfigKey<>(