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