aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:23:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:23:50 +1300
commit804c75dd39f1141ae9ffc176c0e8e5fdf32aa2f9 (patch)
tree5efa82e361e56d478b185a1ec07fea172c69ad45 /src/org/traccar/protocol/Gl200ProtocolDecoder.java
parent566e3dcce47604d661909674308262cc7ddd30e1 (diff)
downloadtrackermap-server-804c75dd39f1141ae9ffc176c0e8e5fdf32aa2f9.tar.gz
trackermap-server-804c75dd39f1141ae9ffc176c0e8e5fdf32aa2f9.tar.bz2
trackermap-server-804c75dd39f1141ae9ffc176c0e8e5fdf32aa2f9.zip
Decoders to accept generic protocol
Diffstat (limited to 'src/org/traccar/protocol/Gl200ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 8abaa1e37..ca1df7a13 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -19,6 +19,7 @@ import org.traccar.BaseProtocolDecoder;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
+import org.traccar.Protocol;
import java.net.SocketAddress;
@@ -27,7 +28,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
private final Gl200TextProtocolDecoder textProtocolDecoder;
private final Gl200BinaryProtocolDecoder binaryProtocolDecoder;
- public Gl200ProtocolDecoder(Gl200Protocol protocol) {
+ public Gl200ProtocolDecoder(Protocol protocol) {
super(protocol);
textProtocolDecoder = new Gl200TextProtocolDecoder(protocol);
binaryProtocolDecoder = new Gl200BinaryProtocolDecoder(protocol);