diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-29 13:20:39 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-29 13:20:39 +1200 |
commit | b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2 (patch) | |
tree | aa32e4c8b7cba58329d8cd077ef13c310f32f249 /src/org/traccar/protocol/XexunProtocol.java | |
parent | 9d0819b538ab123bcf125f32d02920865090d14d (diff) | |
download | trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.gz trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.bz2 trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.zip |
Combine MTA6 protocols
Diffstat (limited to 'src/org/traccar/protocol/XexunProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/XexunProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/XexunProtocol.java b/src/org/traccar/protocol/XexunProtocol.java index 6ce55b30e..0d4502a3a 100644 --- a/src/org/traccar/protocol/XexunProtocol.java +++ b/src/org/traccar/protocol/XexunProtocol.java @@ -39,7 +39,7 @@ public class XexunProtocol extends BaseProtocol { serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - if (Boolean.valueOf(Context.getProps().getProperty(XexunProtocol.this.getName() + ".extended"))) { + if (Boolean.valueOf(Context.getProps().getProperty(getName() + ".extended"))) { pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); // tracker bug \n\r pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectDecoder", new Xexun2ProtocolDecoder(XexunProtocol.this)); |