aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/HomtecsProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/HomtecsProtocol.java')
-rw-r--r--src/org/traccar/protocol/HomtecsProtocol.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/HomtecsProtocol.java b/src/org/traccar/protocol/HomtecsProtocol.java
index e57cb96be..bd5c18603 100644
--- a/src/org/traccar/protocol/HomtecsProtocol.java
+++ b/src/org/traccar/protocol/HomtecsProtocol.java
@@ -34,9 +34,9 @@ public class HomtecsProtocol extends BaseProtocol {
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectDecoder", new HomtecsProtocolDecoder(HomtecsProtocol.this));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new HomtecsProtocolDecoder(HomtecsProtocol.this));
}
});
}