diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-07 09:30:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-01-07 09:30:38 +1300 |
commit | 4bd9a1afc970159323a7535d3ed004b499e0fbc3 (patch) | |
tree | fabb920703c88e78e61ce11dcc5b9dc66903fe46 /src | |
parent | f1282f639721c46a7b2abb653366f909f6703c63 (diff) | |
download | trackermap-server-4bd9a1afc970159323a7535d3ed004b499e0fbc3.tar.gz trackermap-server-4bd9a1afc970159323a7535d3ed004b499e0fbc3.tar.bz2 trackermap-server-4bd9a1afc970159323a7535d3ed004b499e0fbc3.zip |
Rename protocol from auru to auro
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/AuroProtocol.java (renamed from src/org/traccar/protocol/AuruProtocol.java) | 8 | ||||
-rw-r--r-- | src/org/traccar/protocol/AuroProtocolDecoder.java (renamed from src/org/traccar/protocol/AuruProtocolDecoder.java) | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/AuruProtocol.java b/src/org/traccar/protocol/AuroProtocol.java index be312383d..cada65f72 100644 --- a/src/org/traccar/protocol/AuruProtocol.java +++ b/src/org/traccar/protocol/AuroProtocol.java @@ -24,10 +24,10 @@ import org.traccar.TrackerServer; import java.util.List; -public class AuruProtocol extends BaseProtocol { +public class AuroProtocol extends BaseProtocol { - public AuruProtocol() { - super("auru"); + public AuroProtocol() { + super("auro"); } @Override @@ -37,7 +37,7 @@ public class AuruProtocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); pipeline.addLast("stringDecoder", new StringDecoder()); - pipeline.addLast("objectDecoder", new AuruProtocolDecoder(AuruProtocol.this)); + pipeline.addLast("objectDecoder", new AuroProtocolDecoder(AuroProtocol.this)); } }); } diff --git a/src/org/traccar/protocol/AuruProtocolDecoder.java b/src/org/traccar/protocol/AuroProtocolDecoder.java index 89aa91d0b..fd7690733 100644 --- a/src/org/traccar/protocol/AuruProtocolDecoder.java +++ b/src/org/traccar/protocol/AuroProtocolDecoder.java @@ -27,9 +27,9 @@ import org.traccar.model.Position; import java.net.SocketAddress; import java.util.regex.Pattern; -public class AuruProtocolDecoder extends BaseProtocolDecoder { +public class AuroProtocolDecoder extends BaseProtocolDecoder { - public AuruProtocolDecoder(AuruProtocol protocol) { + public AuroProtocolDecoder(AuroProtocol protocol) { super(protocol); } |