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