aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Ivt401Protocol.java (renamed from src/org/traccar/protocol/Avt401Protocol.java)8
-rw-r--r--src/org/traccar/protocol/Ivt401ProtocolDecoder.java (renamed from src/org/traccar/protocol/Avt401ProtocolDecoder.java)4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/Avt401Protocol.java b/src/org/traccar/protocol/Ivt401Protocol.java
index e4a7e3df6..b58601ba1 100644
--- a/src/org/traccar/protocol/Avt401Protocol.java
+++ b/src/org/traccar/protocol/Ivt401Protocol.java
@@ -24,10 +24,10 @@ import org.traccar.TrackerServer;
import java.util.List;
-public class Avt401Protocol extends BaseProtocol {
+public class Ivt401Protocol extends BaseProtocol {
- public Avt401Protocol() {
- super("avt401");
+ public Ivt401Protocol() {
+ super("ivt401");
}
@Override
@@ -37,7 +37,7 @@ public class Avt401Protocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, ';'));
pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new Avt401ProtocolDecoder(Avt401Protocol.this));
+ pipeline.addLast("objectDecoder", new Ivt401ProtocolDecoder(Ivt401Protocol.this));
}
});
}
diff --git a/src/org/traccar/protocol/Avt401ProtocolDecoder.java b/src/org/traccar/protocol/Ivt401ProtocolDecoder.java
index 5918b54a1..c42f9fcc0 100644
--- a/src/org/traccar/protocol/Avt401ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Ivt401ProtocolDecoder.java
@@ -26,9 +26,9 @@ import org.traccar.model.Position;
import java.net.SocketAddress;
import java.util.regex.Pattern;
-public class Avt401ProtocolDecoder extends BaseProtocolDecoder {
+public class Ivt401ProtocolDecoder extends BaseProtocolDecoder {
- public Avt401ProtocolDecoder(Avt401Protocol protocol) {
+ public Ivt401ProtocolDecoder(Ivt401Protocol protocol) {
super(protocol);
}