aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-09-14 22:38:40 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-09-14 22:38:40 +1200
commit57fba5c08cb03fffb360a8a4a3ae530ad94e7679 (patch)
tree0b43d77878f94b9256c9607f88ae87781848a09c /src/org/traccar/ServerManager.java
parent605f735436e1b8a9822adbf3d0dc4639c1de316c (diff)
downloadtrackermap-server-57fba5c08cb03fffb360a8a4a3ae530ad94e7679.tar.gz
trackermap-server-57fba5c08cb03fffb360a8a4a3ae530ad94e7679.tar.bz2
trackermap-server-57fba5c08cb03fffb360a8a4a3ae530ad94e7679.zip
Add third totem format
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 a997cb06f..25ef3177a 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -945,7 +945,7 @@ public class ServerManager {
serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024));
+ pipeline.addLast("frameDecoder", new TotemFrameDecoder());
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new TotemProtocolDecoder(ServerManager.this));
}