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