aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/VtfmsProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/VtfmsProtocol.java')
-rw-r--r--src/org/traccar/protocol/VtfmsProtocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/VtfmsProtocol.java b/src/org/traccar/protocol/VtfmsProtocol.java
index dee72aaa8..d3ac79fe6 100644
--- a/src/org/traccar/protocol/VtfmsProtocol.java
+++ b/src/org/traccar/protocol/VtfmsProtocol.java
@@ -34,16 +34,16 @@ public class VtfmsProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new VtfmsFrameDecoder());
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new VtfmsProtocolDecoder(VtfmsProtocol.this));
+ pipeline.addLast(new VtfmsFrameDecoder());
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new VtfmsProtocolDecoder(VtfmsProtocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new VtfmsProtocolDecoder(VtfmsProtocol.this));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new VtfmsProtocolDecoder(VtfmsProtocol.this));
}
});
}