aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/TechtoCruzProtocol.java (renamed from src/main/java/org/traccar/protocol/CruzTechoProtocol.java)6
-rw-r--r--src/main/java/org/traccar/protocol/TechtoCruzProtocolDecoder.java (renamed from src/main/java/org/traccar/protocol/CruzTechoProtocolDecoder.java)4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/protocol/CruzTechoProtocol.java b/src/main/java/org/traccar/protocol/TechtoCruzProtocol.java
index da54e118a..890a8abb1 100644
--- a/src/main/java/org/traccar/protocol/CruzTechoProtocol.java
+++ b/src/main/java/org/traccar/protocol/TechtoCruzProtocol.java
@@ -22,16 +22,16 @@ import org.traccar.BaseProtocol;
import org.traccar.PipelineBuilder;
import org.traccar.TrackerServer;
-public class CruzTechoProtocol extends BaseProtocol {
+public class TechtoCruzProtocol extends BaseProtocol {
- public CruzTechoProtocol() {
+ public TechtoCruzProtocol() {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new LineBasedFrameDecoder(1024));
pipeline.addLast(new StringEncoder());
pipeline.addLast(new StringDecoder());
- pipeline.addLast(new CruzTechoProtocolDecoder(CruzTechoProtocol.this));
+ pipeline.addLast(new TechtoCruzProtocolDecoder(TechtoCruzProtocol.this));
}
});
}
diff --git a/src/main/java/org/traccar/protocol/CruzTechoProtocolDecoder.java b/src/main/java/org/traccar/protocol/TechtoCruzProtocolDecoder.java
index 9809fa5a8..6b9f0edb6 100644
--- a/src/main/java/org/traccar/protocol/CruzTechoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TechtoCruzProtocolDecoder.java
@@ -27,9 +27,9 @@ import org.traccar.model.Position;
import java.net.SocketAddress;
import java.util.regex.Pattern;
-public class CruzTechoProtocolDecoder extends BaseProtocolDecoder {
+public class TechtoCruzProtocolDecoder extends BaseProtocolDecoder {
- public CruzTechoProtocolDecoder(Protocol protocol) {
+ public TechtoCruzProtocolDecoder(Protocol protocol) {
super(protocol);
}