aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GranitProtocol.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-06 22:47:03 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-06 22:47:03 +0500
commit10af44fdf94ad407bc521d11f547a93855620cc2 (patch)
tree136b9d949deb03d6f2b92e73b2e9e45bdc30cbc9 /src/org/traccar/protocol/GranitProtocol.java
parentf8f21ce131556ca5c1ea44ede496ace9d810c844 (diff)
downloadtrackermap-server-10af44fdf94ad407bc521d11f547a93855620cc2.tar.gz
trackermap-server-10af44fdf94ad407bc521d11f547a93855620cc2.tar.bz2
trackermap-server-10af44fdf94ad407bc521d11f547a93855620cc2.zip
Revert GranitFrameDecoder
Diffstat (limited to 'src/org/traccar/protocol/GranitProtocol.java')
-rw-r--r--src/org/traccar/protocol/GranitProtocol.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GranitProtocol.java b/src/org/traccar/protocol/GranitProtocol.java
index a33c43d20..fb9d10809 100644
--- a/src/org/traccar/protocol/GranitProtocol.java
+++ b/src/org/traccar/protocol/GranitProtocol.java
@@ -17,7 +17,6 @@ package org.traccar.protocol;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
-import org.jboss.netty.handler.codec.frame.LineBasedFrameDecoder;
import org.traccar.BaseProtocol;
import org.traccar.TrackerServer;
import org.traccar.model.Command;
@@ -40,7 +39,7 @@ public class GranitProtocol extends BaseProtocol {
TrackerServer server = new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024));
+ pipeline.addLast("frameDecoder", new GranitFrameDecoder());
pipeline.addLast("objectEncoder", new GranitProtocolEncoder());
pipeline.addLast("objectDecoder", new GranitProtocolDecoder(GranitProtocol.this));
}