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