From 997cd43457c01440ec32ec19e0fa3f3b7be3bdb9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 14 Nov 2018 20:28:24 +1300 Subject: Add encoder to pipeline --- src/org/traccar/protocol/Xrb28Protocol.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org/traccar') 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)); } }); -- cgit v1.2.3