diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:23:49 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:23:50 +1300 |
commit | 804c75dd39f1141ae9ffc176c0e8e5fdf32aa2f9 (patch) | |
tree | 5efa82e361e56d478b185a1ec07fea172c69ad45 /src/org/traccar/protocol/SkypatrolProtocolDecoder.java | |
parent | 566e3dcce47604d661909674308262cc7ddd30e1 (diff) | |
download | trackermap-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/SkypatrolProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/SkypatrolProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java b/src/org/traccar/protocol/SkypatrolProtocolDecoder.java index 826311052..3c7ca6dc5 100644 --- a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java +++ b/src/org/traccar/protocol/SkypatrolProtocolDecoder.java @@ -22,6 +22,7 @@ import org.slf4j.LoggerFactory; import org.traccar.BaseProtocolDecoder; import org.traccar.Context; import org.traccar.DeviceSession; +import org.traccar.Protocol; import org.traccar.helper.BitUtil; import org.traccar.helper.DateBuilder; import org.traccar.model.Position; @@ -35,7 +36,7 @@ public class SkypatrolProtocolDecoder extends BaseProtocolDecoder { private final long defaultMask; - public SkypatrolProtocolDecoder(SkypatrolProtocol protocol) { + public SkypatrolProtocolDecoder(Protocol protocol) { super(protocol); defaultMask = Context.getConfig().getInteger(getProtocolName() + ".mask"); } |