diff options
Diffstat (limited to 'src/org/traccar/protocol/NeosProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/NeosProtocol.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/NeosProtocol.java b/src/org/traccar/protocol/NeosProtocol.java index 61bdc6048..e545a9969 100644 --- a/src/org/traccar/protocol/NeosProtocol.java +++ b/src/org/traccar/protocol/NeosProtocol.java @@ -18,17 +18,15 @@ package org.traccar.protocol; import io.netty.handler.codec.string.StringDecoder; import io.netty.handler.codec.string.StringEncoder; import org.traccar.BaseProtocol; -import org.traccar.CharacterDelimiterFrameDecoder; import org.traccar.PipelineBuilder; import org.traccar.TrackerServer; public class NeosProtocol extends BaseProtocol { public NeosProtocol() { - addServer(new TrackerServer(false, getName()) { + addServer(new TrackerServer(true, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, '!')); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); pipeline.addLast(new NeosProtocolDecoder(NeosProtocol.this)); |