aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/SuntechProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-10-26 17:05:46 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-10-26 17:05:46 -0700
commit3e36fcdb303f4c7af2df8e859f8fc6b1c7ba3fd0 (patch)
treee43ba14f871b0ad4249d7f3ad079f09b8c989686 /src/main/java/org/traccar/protocol/SuntechProtocol.java
parent73c676e4faa3a8d71c9e8880417bd387eed20c7e (diff)
downloadtrackermap-server-3e36fcdb303f4c7af2df8e859f8fc6b1c7ba3fd0.tar.gz
trackermap-server-3e36fcdb303f4c7af2df8e859f8fc6b1c7ba3fd0.tar.bz2
trackermap-server-3e36fcdb303f4c7af2df8e859f8fc6b1c7ba3fd0.zip
Support binary Suntech protocol
Diffstat (limited to 'src/main/java/org/traccar/protocol/SuntechProtocol.java')
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocol.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/SuntechProtocol.java b/src/main/java/org/traccar/protocol/SuntechProtocol.java
index 7e2c20e6f..199885537 100644
--- a/src/main/java/org/traccar/protocol/SuntechProtocol.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocol.java
@@ -15,7 +15,6 @@
*/
package org.traccar.protocol;
-import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.PipelineBuilder;
@@ -38,7 +37,6 @@ public class SuntechProtocol extends BaseProtocol {
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new SuntechFrameDecoder());
pipeline.addLast(new StringEncoder());
- pipeline.addLast(new StringDecoder());
pipeline.addLast(new SuntechProtocolEncoder(SuntechProtocol.this));
pipeline.addLast(new SuntechProtocolDecoder(SuntechProtocol.this));
}