aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ApelProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/ApelProtocol.java')
-rw-r--r--src/org/traccar/protocol/ApelProtocol.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/ApelProtocol.java b/src/org/traccar/protocol/ApelProtocol.java
index e9a7d43e5..382aa16af 100644
--- a/src/org/traccar/protocol/ApelProtocol.java
+++ b/src/org/traccar/protocol/ApelProtocol.java
@@ -21,16 +21,10 @@ import org.traccar.PipelineBuilder;
import org.traccar.TrackerServer;
import java.nio.ByteOrder;
-import java.util.List;
-
public class ApelProtocol extends BaseProtocol {
public ApelProtocol() {
- }
-
- @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 LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, 4, 0, true));