aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Pt502Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-12 14:04:13 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-12 14:04:31 +1200
commitf91863b34ab32a70faf5bd5948a7fa0bad16ceeb (patch)
tree51bd7598aec41d00f4037691623cfb4e8b3b390f /src/org/traccar/protocol/Pt502Protocol.java
parent5847136ad3ab150038439cf0ab5b13f0ee74a2fe (diff)
downloadtrackermap-server-f91863b34ab32a70faf5bd5948a7fa0bad16ceeb.tar.gz
trackermap-server-f91863b34ab32a70faf5bd5948a7fa0bad16ceeb.tar.bz2
trackermap-server-f91863b34ab32a70faf5bd5948a7fa0bad16ceeb.zip
Convert PT502 to binary protocol
Diffstat (limited to 'src/org/traccar/protocol/Pt502Protocol.java')
-rw-r--r--src/org/traccar/protocol/Pt502Protocol.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Pt502Protocol.java b/src/org/traccar/protocol/Pt502Protocol.java
index 0116422c2..ba820a6a1 100644
--- a/src/org/traccar/protocol/Pt502Protocol.java
+++ b/src/org/traccar/protocol/Pt502Protocol.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@ public class Pt502Protocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new Pt502FrameDecoder());
pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectEncoder", new Pt502ProtocolEncoder());
pipeline.addLast("objectDecoder", new Pt502ProtocolDecoder(Pt502Protocol.this));
}