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