diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-10-10 22:45:41 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-10-10 22:45:41 +1300 |
commit | 3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355 (patch) | |
tree | fc842dd0fceff8266a2deb57a8bde70fc568758d /src/org/traccar/ServerManager.java | |
parent | a4c475c833c07713d58669fea4d069563ee4bc26 (diff) | |
download | trackermap-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.java | 2 |
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)); } }); |