diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-11-14 16:28:57 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-11-14 16:28:57 -0800 |
commit | 88e5b090d7a71255a29fe6ad2ae1525c1c0a03be (patch) | |
tree | 60e4386c4284ff52643874ae6b77e21324dcc97a /src/main/java/org | |
parent | 7ce7c73a2461ac3b2dde98398a4458e86cfa89bf (diff) | |
download | trackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.tar.gz trackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.tar.bz2 trackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.zip |
Rename protocol to Techto Cruz
Diffstat (limited to 'src/main/java/org')
-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); } |