diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-14 20:28:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-14 20:28:24 +1300 |
commit | 997cd43457c01440ec32ec19e0fa3f3b7be3bdb9 (patch) | |
tree | 583e34e3d0d5bd58fc8807ba901238ecacddb668 | |
parent | 735e087d084afd443fe7941364201964722e44db (diff) | |
download | trackermap-server-997cd43457c01440ec32ec19e0fa3f3b7be3bdb9.tar.gz trackermap-server-997cd43457c01440ec32ec19e0fa3f3b7be3bdb9.tar.bz2 trackermap-server-997cd43457c01440ec32ec19e0fa3f3b7be3bdb9.zip |
Add encoder to pipeline
-rw-r--r-- | src/org/traccar/protocol/Xrb28Protocol.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Xrb28Protocol.java b/src/org/traccar/protocol/Xrb28Protocol.java index e9b75dd1e..d0a0b1390 100644 --- a/src/org/traccar/protocol/Xrb28Protocol.java +++ b/src/org/traccar/protocol/Xrb28Protocol.java @@ -38,6 +38,7 @@ public class Xrb28Protocol extends BaseProtocol { pipeline.addLast(new LineBasedFrameDecoder(1024)); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); + pipeline.addLast(new Xrb28ProtocolEncoder()); pipeline.addLast(new Xrb28ProtocolDecoder(Xrb28Protocol.this)); } }); |