aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WondexProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocol.java')
-rw-r--r--src/org/traccar/protocol/WondexProtocol.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/WondexProtocol.java b/src/org/traccar/protocol/WondexProtocol.java
index a43c8b06a..f68b12eb0 100644
--- a/src/org/traccar/protocol/WondexProtocol.java
+++ b/src/org/traccar/protocol/WondexProtocol.java
@@ -43,18 +43,18 @@ public class WondexProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new WondexFrameDecoder());
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectEncoder", new WondexProtocolEncoder());
- pipeline.addLast("objectDecoder", new WondexProtocolDecoder(WondexProtocol.this));
+ pipeline.addLast(new WondexFrameDecoder());
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new WondexProtocolEncoder());
+ pipeline.addLast(new WondexProtocolDecoder(WondexProtocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("stringEncoder", new StringEncoder());
- pipeline.addLast("objectEncoder", new WondexProtocolEncoder());
- pipeline.addLast("objectDecoder", new WondexProtocolDecoder(WondexProtocol.this));
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new WondexProtocolEncoder());
+ pipeline.addLast(new WondexProtocolDecoder(WondexProtocol.this));
}
});
}