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