aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/KenjiProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/KenjiProtocol.java')
-rw-r--r--src/org/traccar/protocol/KenjiProtocol.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/KenjiProtocol.java b/src/org/traccar/protocol/KenjiProtocol.java
index 15eb3d77a..830e93fe3 100644
--- a/src/org/traccar/protocol/KenjiProtocol.java
+++ b/src/org/traccar/protocol/KenjiProtocol.java
@@ -36,10 +36,10 @@ public class KenjiProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024));
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectDecoder", new KenjiProtocolDecoder(KenjiProtocol.this));
+ pipeline.addLast(new LineBasedFrameDecoder(1024));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new KenjiProtocolDecoder(KenjiProtocol.this));
}
});
}