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