aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/V680Protocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/V680Protocol.java')
-rw-r--r--src/org/traccar/protocol/V680Protocol.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/V680Protocol.java b/src/org/traccar/protocol/V680Protocol.java
index eb9111578..5382af59b 100644
--- a/src/org/traccar/protocol/V680Protocol.java
+++ b/src/org/traccar/protocol/V680Protocol.java
@@ -35,18 +35,18 @@ public class V680Protocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, "##"));
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectDecoder", new V680ProtocolDecoder(V680Protocol.this));
+ pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "##"));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new V680ProtocolDecoder(V680Protocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectDecoder", new V680ProtocolDecoder(V680Protocol.this));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new V680ProtocolDecoder(V680Protocol.this));
}
});
}