diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-09 23:27:54 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-14 21:01:16 -0800 |
commit | 93745ce5de3f5004cb98d951794c692db284a2e2 (patch) | |
tree | a2468992254f45a43390260aee06f555ecf66678 /src/main/java/org/traccar/config/Keys.java | |
parent | c1121777969fc5f183e325ad672b581cbe881895 (diff) | |
download | trackermap-server-93745ce5de3f5004cb98d951794c692db284a2e2.tar.gz trackermap-server-93745ce5de3f5004cb98d951794c692db284a2e2.tar.bz2 trackermap-server-93745ce5de3f5004cb98d951794c692db284a2e2.zip |
Start client implementation
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index e8e0ff207..8f93b21c1 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 - 2021 Anton Tananaev (anton@traccar.org) + * Copyright 2019 - 2022 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,13 @@ public final class Keys { Collections.singletonList(KeyType.GLOBAL)); /** + * List of devices for polling protocols. List should contain unique ids separated by commas. + */ + public static final ConfigSuffix<String> PROTOCOL_DEVICES = new ConfigSuffix<>( + ".devices", + Collections.singletonList(KeyType.GLOBAL)); + + /** * Connection timeout value in seconds. Because sometimes there is no way to detect lost TCP connection old * connections stay in open state. On most systems there is a limit on number of open connection, so this leads to * problems with establishing new connections when number of devices is high or devices data connections are |