diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-09 13:57:12 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-09 13:57:12 +1200 |
commit | 67a63c5ecf2b636db16c96efef078a0f210d7620 (patch) | |
tree | f2823bc355b067b180d7d045cbf2f892d857ac2b /src/org/traccar/protocol | |
parent | 1052f99a2f4d051f08e507fc9aa3e40846421cd8 (diff) | |
download | trackermap-server-67a63c5ecf2b636db16c96efef078a0f210d7620.tar.gz trackermap-server-67a63c5ecf2b636db16c96efef078a0f210d7620.tar.bz2 trackermap-server-67a63c5ecf2b636db16c96efef078a0f210d7620.zip |
Change protocol name to correct one
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/IdplProtocol.java (renamed from src/org/traccar/protocol/LdplProtocol.java) | 7 | ||||
-rw-r--r-- | src/org/traccar/protocol/IdplProtocolDecoder.java (renamed from src/org/traccar/protocol/LdplProtocolDecoder.java) | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/LdplProtocol.java b/src/org/traccar/protocol/IdplProtocol.java index 01780a645..c35ae039d 100644 --- a/src/org/traccar/protocol/LdplProtocol.java +++ b/src/org/traccar/protocol/IdplProtocol.java @@ -17,7 +17,6 @@ package org.traccar.protocol; import java.util.List; -import org.jboss.netty.bootstrap.ConnectionlessBootstrap; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.handler.codec.frame.LineBasedFrameDecoder; @@ -26,9 +25,9 @@ import org.jboss.netty.handler.codec.string.StringEncoder; import org.traccar.BaseProtocol; import org.traccar.TrackerServer; -public class LdplProtocol extends BaseProtocol { +public class IdplProtocol extends BaseProtocol { - public LdplProtocol() { + public IdplProtocol() { super("ldpl"); } @@ -40,7 +39,7 @@ public class LdplProtocol extends BaseProtocol { pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); pipeline.addLast("stringEncoder", new StringEncoder()); pipeline.addLast("stringDecoder", new StringDecoder()); - pipeline.addLast("objectDecoder", new LdplProtocolDecoder(LdplProtocol.this)); + pipeline.addLast("objectDecoder", new IdplProtocolDecoder(IdplProtocol.this)); } }); } diff --git a/src/org/traccar/protocol/LdplProtocolDecoder.java b/src/org/traccar/protocol/IdplProtocolDecoder.java index 5b14fc118..1824111b4 100644 --- a/src/org/traccar/protocol/LdplProtocolDecoder.java +++ b/src/org/traccar/protocol/IdplProtocolDecoder.java @@ -27,9 +27,9 @@ import org.traccar.helper.Parser.CoordinateFormat; import org.traccar.helper.PatternBuilder; import org.traccar.model.Position; -public class LdplProtocolDecoder extends BaseProtocolDecoder { +public class IdplProtocolDecoder extends BaseProtocolDecoder { - public LdplProtocolDecoder(Protocol protocol) { + public IdplProtocolDecoder(Protocol protocol) { super(protocol); } |