aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/RecodaProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/RecodaProtocol.java')
-rw-r--r--src/org/traccar/protocol/RecodaProtocol.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/RecodaProtocol.java b/src/org/traccar/protocol/RecodaProtocol.java
index ac8f772b6..e497d713e 100644
--- a/src/org/traccar/protocol/RecodaProtocol.java
+++ b/src/org/traccar/protocol/RecodaProtocol.java
@@ -34,9 +34,8 @@ public class RecodaProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder",
- new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 4, 4, -8, 0, true));
- pipeline.addLast("objectDecoder", new RecodaProtocolDecoder(RecodaProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 4, 4, -8, 0, true));
+ pipeline.addLast(new RecodaProtocolDecoder(RecodaProtocol.this));
}
});
}