aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SviasProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/SviasProtocol.java')
-rw-r--r--src/org/traccar/protocol/SviasProtocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/SviasProtocol.java b/src/org/traccar/protocol/SviasProtocol.java
index a811ddc9a..fcd5b5f2b 100644
--- a/src/org/traccar/protocol/SviasProtocol.java
+++ b/src/org/traccar/protocol/SviasProtocol.java
@@ -45,11 +45,11 @@ public class SviasProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, "]"));
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectEncoder", new SviasProtocolEncoder());
- pipeline.addLast("objectDecoder", new SviasProtocolDecoder(SviasProtocol.this));
+ pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "]"));
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new SviasProtocolEncoder());
+ pipeline.addLast(new SviasProtocolDecoder(SviasProtocol.this));
}
});
}