aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-21 11:04:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-21 11:04:48 +1300
commit63d3e629fd0b4d02b1885160e4289596cfd958c0 (patch)
tree61e0a0733a77a827f45d75dab57f9f07cc9e5979 /src
parent7eaf8d55da9b71d697c9307cbf79220df7a1535d (diff)
downloadtraccar-server-63d3e629fd0b4d02b1885160e4289596cfd958c0.tar.gz
traccar-server-63d3e629fd0b4d02b1885160e4289596cfd958c0.tar.bz2
traccar-server-63d3e629fd0b4d02b1885160e4289596cfd958c0.zip
Rename telik protocol to telic
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/TelicProtocol.java (renamed from src/org/traccar/protocol/TelikProtocol.java)8
-rw-r--r--src/org/traccar/protocol/TelicProtocolDecoder.java (renamed from src/org/traccar/protocol/TelikProtocolDecoder.java)4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/TelikProtocol.java b/src/org/traccar/protocol/TelicProtocol.java
index b6b5ba14d..c2a7287dd 100644
--- a/src/org/traccar/protocol/TelikProtocol.java
+++ b/src/org/traccar/protocol/TelicProtocol.java
@@ -24,10 +24,10 @@ import org.traccar.TrackerServer;
import java.util.List;
-public class TelikProtocol extends BaseProtocol {
+public class TelicProtocol extends BaseProtocol {
- public TelikProtocol() {
- super("telik");
+ public TelicProtocol() {
+ super("telic");
}
@Override
@@ -37,7 +37,7 @@ public class TelikProtocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, '\0'));
pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new TelikProtocolDecoder(TelikProtocol.this));
+ pipeline.addLast("objectDecoder", new TelicProtocolDecoder(TelicProtocol.this));
}
});
}
diff --git a/src/org/traccar/protocol/TelikProtocolDecoder.java b/src/org/traccar/protocol/TelicProtocolDecoder.java
index 4171750d6..466b40aa4 100644
--- a/src/org/traccar/protocol/TelikProtocolDecoder.java
+++ b/src/org/traccar/protocol/TelicProtocolDecoder.java
@@ -25,9 +25,9 @@ import org.traccar.helper.PatternBuilder;
import org.traccar.model.Event;
import org.traccar.model.Position;
-public class TelikProtocolDecoder extends BaseProtocolDecoder {
+public class TelicProtocolDecoder extends BaseProtocolDecoder {
- public TelikProtocolDecoder(TelikProtocol protocol) {
+ public TelicProtocolDecoder(TelicProtocol protocol) {
super(protocol);
}