From f38ced7862c7eb635db25e52d61ef7956da58ce9 Mon Sep 17 00:00:00 2001 From: Edward Valley Date: Tue, 16 Jul 2019 23:05:26 -0400 Subject: Pass a Protocol object to encoders --- src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java') diff --git a/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java b/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java index e8f0081a0..c6b1806d5 100644 --- a/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java +++ b/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java @@ -17,9 +17,14 @@ package org.traccar.protocol; import org.traccar.StringProtocolEncoder; import org.traccar.model.Command; +import org.traccar.Protocol; public class CarcellProtocolEncoder extends StringProtocolEncoder { + public CarcellProtocolEncoder(Protocol protocol) { + super(protocol); + } + @Override protected Object encodeCommand(Command command) { -- cgit v1.2.3