aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/EnforaProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/EnforaProtocol.java')
-rw-r--r--src/org/traccar/protocol/EnforaProtocol.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/EnforaProtocol.java b/src/org/traccar/protocol/EnforaProtocol.java
index ebdb4a31b..186e4c980 100644
--- a/src/org/traccar/protocol/EnforaProtocol.java
+++ b/src/org/traccar/protocol/EnforaProtocol.java
@@ -38,9 +38,9 @@ public class EnforaProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 0, 2, -2, 2));
- pipeline.addLast("objectEncoder", new EnforaProtocolEncoder());
- pipeline.addLast("objectDecoder", new EnforaProtocolDecoder(EnforaProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 0, 2, -2, 2));
+ pipeline.addLast(new EnforaProtocolEncoder());
+ pipeline.addLast(new EnforaProtocolDecoder(EnforaProtocol.this));
}
});
}