aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AnytrekProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/AnytrekProtocol.java')
-rw-r--r--src/org/traccar/protocol/AnytrekProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/AnytrekProtocol.java b/src/org/traccar/protocol/AnytrekProtocol.java
index 8616e9194..6e69a37e9 100644
--- a/src/org/traccar/protocol/AnytrekProtocol.java
+++ b/src/org/traccar/protocol/AnytrekProtocol.java
@@ -33,8 +33,8 @@ public class AnytrekProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, 2, 0));
- pipeline.addLast("objectDecoder", new AnytrekProtocolDecoder(AnytrekProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 2, 2, 2, 0));
+ pipeline.addLast(new AnytrekProtocolDecoder(AnytrekProtocol.this));
}
});
}