aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-29 21:52:53 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-29 21:52:53 -0700
commit707389659d7d1e08f774bf82557f0bcff4b13e37 (patch)
treeb7f85bb0deb5b6b9b45d2e5dd2bc86289f950526 /src/main/java/org/traccar/protocol
parent3eac8e5dcfbdb607d8f20121768d12c3176f205c (diff)
downloadtrackermap-server-707389659d7d1e08f774bf82557f0bcff4b13e37.tar.gz
trackermap-server-707389659d7d1e08f774bf82557f0bcff4b13e37.tar.bz2
trackermap-server-707389659d7d1e08f774bf82557f0bcff4b13e37.zip
Update protocol name
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2Protocol.java (renamed from src/main/java/org/traccar/protocol/PebbellProtocol.java)6
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java (renamed from src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java)4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/protocol/PebbellProtocol.java b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
index 762c30585..957b8f4d0 100644
--- a/src/main/java/org/traccar/protocol/PebbellProtocol.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
@@ -22,14 +22,14 @@ import org.traccar.TrackerServer;
import java.nio.ByteOrder;
-public class PebbellProtocol extends BaseProtocol {
+public class Minifinder2Protocol extends BaseProtocol {
- public PebbellProtocol() {
+ public Minifinder2Protocol() {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, 4, 0, true));
- pipeline.addLast(new PebbellProtocolDecoder(PebbellProtocol.this));
+ pipeline.addLast(new Minifinder2ProtocolDecoder(Minifinder2Protocol.this));
}
});
}
diff --git a/src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
index 7271c60d8..256848990 100644
--- a/src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -31,9 +31,9 @@ import org.traccar.model.WifiAccessPoint;
import java.net.SocketAddress;
import java.nio.charset.StandardCharsets;
-public class PebbellProtocolDecoder extends BaseProtocolDecoder {
+public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
- public PebbellProtocolDecoder(Protocol protocol) {
+ public Minifinder2ProtocolDecoder(Protocol protocol) {
super(protocol);
}