diff options
Diffstat (limited to 'src/org/traccar/protocol/Gt06Protocol.java')
-rw-r--r-- | src/org/traccar/protocol/Gt06Protocol.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/Gt06Protocol.java b/src/org/traccar/protocol/Gt06Protocol.java index dac8ffc7e..6e5435cd4 100644 --- a/src/org/traccar/protocol/Gt06Protocol.java +++ b/src/org/traccar/protocol/Gt06Protocol.java @@ -20,8 +20,6 @@ import org.traccar.PipelineBuilder; import org.traccar.TrackerServer; import org.traccar.model.Command; -import java.util.List; - public class Gt06Protocol extends BaseProtocol { public Gt06Protocol() { @@ -29,11 +27,7 @@ public class Gt06Protocol extends BaseProtocol { Command.TYPE_ENGINE_STOP, Command.TYPE_ENGINE_RESUME, Command.TYPE_CUSTOM); - } - - @Override - public void initTrackerServers(List<TrackerServer> serverList) { - serverList.add(new TrackerServer(false, getName()) { + addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { pipeline.addLast(new Gt06FrameDecoder()); |