aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TzoneProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/TzoneProtocol.java')
-rw-r--r--src/org/traccar/protocol/TzoneProtocol.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/TzoneProtocol.java b/src/org/traccar/protocol/TzoneProtocol.java
index 0dfb6c2f5..6e855d138 100644
--- a/src/org/traccar/protocol/TzoneProtocol.java
+++ b/src/org/traccar/protocol/TzoneProtocol.java
@@ -21,16 +21,10 @@ import org.traccar.TrackerServer;
import io.netty.handler.codec.LengthFieldBasedFrameDecoder;
-import java.util.List;
-
public class TzoneProtocol extends BaseProtocol {
public TzoneProtocol() {
- }
-
- @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(256, 2, 2, 2, 0));