aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 14:01:52 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 14:01:52 +1200
commit08cc944644cee5ce745a9faae0866b206c575407 (patch)
tree2fcf0e16f92236df3ba1f9fd8f537a5659b570cd /src/org/traccar/protocol/Gl200Protocol.java
parent8bb68423f9a1e3c30f900e89f2016bfcc26a324b (diff)
downloadtrackermap-server-08cc944644cee5ce745a9faae0866b206c575407.tar.gz
trackermap-server-08cc944644cee5ce745a9faae0866b206c575407.tar.bz2
trackermap-server-08cc944644cee5ce745a9faae0866b206c575407.zip
Implement binary GL200 protocol
Diffstat (limited to 'src/org/traccar/protocol/Gl200Protocol.java')
-rw-r--r--src/org/traccar/protocol/Gl200Protocol.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/Gl200Protocol.java b/src/org/traccar/protocol/Gl200Protocol.java
index dbcbf61c0..799d7fe36 100644
--- a/src/org/traccar/protocol/Gl200Protocol.java
+++ b/src/org/traccar/protocol/Gl200Protocol.java
@@ -18,7 +18,6 @@ package org.traccar.protocol;
import org.jboss.netty.bootstrap.ConnectionlessBootstrap;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
-import org.jboss.netty.handler.codec.string.StringDecoder;
import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.TrackerServer;
@@ -46,7 +45,7 @@ public class Gl200Protocol extends BaseProtocol {
pipeline.addLast("frameDecoder", new Gl200FrameDecoder());
pipeline.addLast("stringEncoder", new StringEncoder());
pipeline.addLast("objectEncoder", new Gl200ProtocolEncoder());
- pipeline.addLast("objectDecoder", new Gl200TextProtocolDecoder(Gl200Protocol.this));
+ pipeline.addLast("objectDecoder", new Gl200ProtocolDecoder(Gl200Protocol.this));
}
});
serverList.add(new TrackerServer(new ConnectionlessBootstrap(), getName()) {
@@ -54,7 +53,7 @@ public class Gl200Protocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("stringEncoder", new StringEncoder());
pipeline.addLast("objectEncoder", new Gl200ProtocolEncoder());
- pipeline.addLast("objectDecoder", new Gl200TextProtocolDecoder(Gl200Protocol.this));
+ pipeline.addLast("objectDecoder", new Gl200ProtocolDecoder(Gl200Protocol.this));
}
});
}