aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 13:29:32 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 13:29:32 +1200
commit8bb68423f9a1e3c30f900e89f2016bfcc26a324b (patch)
treea5b7dbcb0500938a6eaa18427c606a1729852895 /src/org/traccar/protocol/Gl200Protocol.java
parent7c3351939eca27d349417f053ef98a7e4e2668fd (diff)
downloadtrackermap-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.java6
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));
}
});
}