aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/FifotrackProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-24 23:31:44 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-24 23:31:44 -0700
commitff62eefa74f7d8cb36388adce981e1f6c306180a (patch)
treebe52493eeea93f70a64ad386cc83978eb4649802 /src/main/java/org/traccar/protocol/FifotrackProtocol.java
parentbec490817a2251dc37f727f3a755a20411761993 (diff)
downloadtrackermap-server-ff62eefa74f7d8cb36388adce981e1f6c306180a.tar.gz
trackermap-server-ff62eefa74f7d8cb36388adce981e1f6c306180a.tar.bz2
trackermap-server-ff62eefa74f7d8cb36388adce981e1f6c306180a.zip
Support binary Fifotrack messages
Diffstat (limited to 'src/main/java/org/traccar/protocol/FifotrackProtocol.java')
-rw-r--r--src/main/java/org/traccar/protocol/FifotrackProtocol.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/FifotrackProtocol.java b/src/main/java/org/traccar/protocol/FifotrackProtocol.java
index 371e01e55..2c2e6e1d3 100644
--- a/src/main/java/org/traccar/protocol/FifotrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/FifotrackProtocol.java
@@ -16,7 +16,6 @@
package org.traccar.protocol;
import io.netty.handler.codec.LineBasedFrameDecoder;
-import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.PipelineBuilder;
@@ -30,7 +29,6 @@ public class FifotrackProtocol extends BaseProtocol {
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new LineBasedFrameDecoder(1024));
pipeline.addLast(new StringEncoder());
- pipeline.addLast(new StringDecoder());
pipeline.addLast(new FifotrackProtocolDecoder(FifotrackProtocol.this));
}
});