aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/TrackerServer.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-07 10:55:35 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-07 10:55:35 +1200
commitff23b231b678536e2d395680c5f9fb0f73e2ddd8 (patch)
tree29088b73c04f70d9a12ce65e59528737cee1b518 /src/org/traccar/TrackerServer.java
parent1f7e9473e1bc0faff0feab20c5b5f801df285ba3 (diff)
downloadtrackermap-server-ff23b231b678536e2d395680c5f9fb0f73e2ddd8.tar.gz
trackermap-server-ff23b231b678536e2d395680c5f9fb0f73e2ddd8.tar.bz2
trackermap-server-ff23b231b678536e2d395680c5f9fb0f73e2ddd8.zip
Do not use idle timeout for UDP
Diffstat (limited to 'src/org/traccar/TrackerServer.java')
-rw-r--r--src/org/traccar/TrackerServer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/TrackerServer.java b/src/org/traccar/TrackerServer.java
index ba1703e86..7bbab071d 100644
--- a/src/org/traccar/TrackerServer.java
+++ b/src/org/traccar/TrackerServer.java
@@ -37,6 +37,10 @@ public abstract class TrackerServer {
private final Bootstrap bootstrap;
private final String protocol;
+ public boolean isConnectionless() {
+ return bootstrap instanceof ConnectionlessBootstrap;
+ }
+
public String getProtocol() {
return protocol;
}