aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AtrackProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/AtrackProtocol.java')
-rw-r--r--src/org/traccar/protocol/AtrackProtocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocol.java b/src/org/traccar/protocol/AtrackProtocol.java
index 74840a1f5..66b7123b9 100644
--- a/src/org/traccar/protocol/AtrackProtocol.java
+++ b/src/org/traccar/protocol/AtrackProtocol.java
@@ -35,16 +35,16 @@ public class AtrackProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new AtrackFrameDecoder());
- pipeline.addLast("objectEncoder", new AtrackProtocolEncoder());
- pipeline.addLast("objectDecoder", new AtrackProtocolDecoder(AtrackProtocol.this));
+ pipeline.addLast(new AtrackFrameDecoder());
+ pipeline.addLast(new AtrackProtocolEncoder());
+ pipeline.addLast(new AtrackProtocolDecoder(AtrackProtocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("objectEncoder", new AtrackProtocolEncoder());
- pipeline.addLast("objectDecoder", new AtrackProtocolDecoder(AtrackProtocol.this));
+ pipeline.addLast(new AtrackProtocolEncoder());
+ pipeline.addLast(new AtrackProtocolDecoder(AtrackProtocol.this));
}
});
}