diff options
Diffstat (limited to 'src')
-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); } |