diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-15 13:29:32 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-15 13:29:32 +1200 |
commit | 8bb68423f9a1e3c30f900e89f2016bfcc26a324b (patch) | |
tree | a5b7dbcb0500938a6eaa18427c606a1729852895 /src/org/traccar/protocol/Gl200Protocol.java | |
parent | 7c3351939eca27d349417f053ef98a7e4e2668fd (diff) | |
download | trackermap-server-8bb68423f9a1e3c30f900e89f2016bfcc26a324b.tar.gz trackermap-server-8bb68423f9a1e3c30f900e89f2016bfcc26a324b.tar.bz2 trackermap-server-8bb68423f9a1e3c30f900e89f2016bfcc26a324b.zip |
Rename GL200 text protocol decoder
Diffstat (limited to 'src/org/traccar/protocol/Gl200Protocol.java')
-rw-r--r-- | src/org/traccar/protocol/Gl200Protocol.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/Gl200Protocol.java b/src/org/traccar/protocol/Gl200Protocol.java index 3ea371085..dbcbf61c0 100644 --- a/src/org/traccar/protocol/Gl200Protocol.java +++ b/src/org/traccar/protocol/Gl200Protocol.java @@ -45,18 +45,16 @@ public class Gl200Protocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new Gl200FrameDecoder()); pipeline.addLast("stringEncoder", new StringEncoder()); - pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectEncoder", new Gl200ProtocolEncoder()); - pipeline.addLast("objectDecoder", new Gl200ProtocolDecoder(Gl200Protocol.this)); + pipeline.addLast("objectDecoder", new Gl200TextProtocolDecoder(Gl200Protocol.this)); } }); serverList.add(new TrackerServer(new ConnectionlessBootstrap(), getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("stringEncoder", new StringEncoder()); - pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectEncoder", new Gl200ProtocolEncoder()); - pipeline.addLast("objectDecoder", new Gl200ProtocolDecoder(Gl200Protocol.this)); + pipeline.addLast("objectDecoder", new Gl200TextProtocolDecoder(Gl200Protocol.this)); } }); } |