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