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