aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GatorProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/GatorProtocol.java')
-rw-r--r--src/org/traccar/protocol/GatorProtocol.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/GatorProtocol.java b/src/org/traccar/protocol/GatorProtocol.java
index 531f1238c..f1a44dc71 100644
--- a/src/org/traccar/protocol/GatorProtocol.java
+++ b/src/org/traccar/protocol/GatorProtocol.java
@@ -33,14 +33,14 @@ public class GatorProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 3, 2));
- pipeline.addLast("objectDecoder", new GatorProtocolDecoder(GatorProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 3, 2));
+ pipeline.addLast(new GatorProtocolDecoder(GatorProtocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("objectDecoder", new GatorProtocolDecoder(GatorProtocol.this));
+ pipeline.addLast(new GatorProtocolDecoder(GatorProtocol.this));
}
});
}