aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/NvsProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/NvsProtocol.java')
-rw-r--r--src/org/traccar/protocol/NvsProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/NvsProtocol.java b/src/org/traccar/protocol/NvsProtocol.java
index aaf447120..537ecdd92 100644
--- a/src/org/traccar/protocol/NvsProtocol.java
+++ b/src/org/traccar/protocol/NvsProtocol.java
@@ -32,8 +32,8 @@ public class NvsProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new NvsFrameDecoder());
- pipeline.addLast("objectDecoder", new NvsProtocolDecoder(NvsProtocol.this));
+ pipeline.addLast(new NvsFrameDecoder());
+ pipeline.addLast(new NvsProtocolDecoder(NvsProtocol.this));
}
});
}