diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-08 09:05:39 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-08 09:05:39 +1200 |
commit | 4c64b523b09588510a7559d1531b2918d1769928 (patch) | |
tree | dc054ba423201b2afc35ae41410761f1f4595422 /src/org/traccar/protocol/TaipProtocol.java | |
parent | 3b7148075815aa7f6cd650013949934a50a573f7 (diff) | |
download | trackermap-server-4c64b523b09588510a7559d1531b2918d1769928.tar.gz trackermap-server-4c64b523b09588510a7559d1531b2918d1769928.tar.bz2 trackermap-server-4c64b523b09588510a7559d1531b2918d1769928.zip |
Enable ACK for UDP TAIP protocol
Diffstat (limited to 'src/org/traccar/protocol/TaipProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/TaipProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TaipProtocol.java b/src/org/traccar/protocol/TaipProtocol.java index c3d934c04..cbfc44122 100644 --- a/src/org/traccar/protocol/TaipProtocol.java +++ b/src/org/traccar/protocol/TaipProtocol.java @@ -40,7 +40,7 @@ public class TaipProtocol extends BaseProtocol { pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, '<')); pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("stringEncoder", new StringEncoder()); - pipeline.addLast("objectDecoder", new TaipProtocolDecoder(TaipProtocol.this, true)); + pipeline.addLast("objectDecoder", new TaipProtocolDecoder(TaipProtocol.this)); } }); serverList.add(new TrackerServer(new ConnectionlessBootstrap(), getName()) { @@ -48,7 +48,7 @@ public class TaipProtocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("stringEncoder", new StringEncoder()); - pipeline.addLast("objectDecoder", new TaipProtocolDecoder(TaipProtocol.this, false)); + pipeline.addLast("objectDecoder", new TaipProtocolDecoder(TaipProtocol.this)); } }); } |