aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/ServerManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index f50e66fc5..75a569393 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -890,6 +890,13 @@ public class ServerManager {
pipeline.addLast("objectDecoder", new AtrackProtocolDecoder(dataManager, protocol, properties));
}
});
+ serverList.add(new TrackerServer(this, new ConnectionlessBootstrap(), protocol) {
+ @Override
+ protected void addSpecificHandlers(ChannelPipeline pipeline) {
+ pipeline.addLast("objectDecoder", new AtrackProtocolDecoder(dataManager, protocol, properties));
+ }
+ });
+
}
}