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