aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/EelinkProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/EelinkProtocol.java')
-rw-r--r--src/org/traccar/protocol/EelinkProtocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/EelinkProtocol.java b/src/org/traccar/protocol/EelinkProtocol.java
index 0ad23fc14..dec996279 100644
--- a/src/org/traccar/protocol/EelinkProtocol.java
+++ b/src/org/traccar/protocol/EelinkProtocol.java
@@ -40,16 +40,16 @@ public class EelinkProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 3, 2));
- pipeline.addLast("objectEncoder", new EelinkProtocolEncoder(false));
- pipeline.addLast("objectDecoder", new EelinkProtocolDecoder(EelinkProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 3, 2));
+ pipeline.addLast(new EelinkProtocolEncoder(false));
+ pipeline.addLast(new EelinkProtocolDecoder(EelinkProtocol.this));
}
});
serverList.add(new TrackerServer(true, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("objectEncoder", new EelinkProtocolEncoder(true));
- pipeline.addLast("objectDecoder", new EelinkProtocolDecoder(EelinkProtocol.this));
+ pipeline.addLast(new EelinkProtocolEncoder(true));
+ pipeline.addLast(new EelinkProtocolDecoder(EelinkProtocol.this));
}
});
}