aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-10-10 22:45:41 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-10-10 22:45:41 +1300
commit3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355 (patch)
treefc842dd0fceff8266a2deb57a8bde70fc568758d /src/org/traccar/ServerManager.java
parenta4c475c833c07713d58669fea4d069563ee4bc26 (diff)
downloadtrackermap-server-3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355.tar.gz
trackermap-server-3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355.tar.bz2
trackermap-server-3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355.zip
Support atrack keep alive
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index 25ef3177a..897642551 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -849,7 +849,7 @@ public class ServerManager {
serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 4, 2, 6, 0));
+ pipeline.addLast("frameDecoder", new AtrackFrameDecoder());
pipeline.addLast("objectDecoder", new AtrackProtocolDecoder(ServerManager.this));
}
});