aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/DmtProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 12:15:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 12:15:44 +1300
commit421c13cf3aefeb0de6e057bf9d92ee4347d68f2f (patch)
tree0d1b2965ca51705d52784dcc55882e12bff24317 /src/org/traccar/protocol/DmtProtocol.java
parente151bd07a685d8b77ff6c24455ad0520e68843d4 (diff)
downloadtrackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.tar.gz
trackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.tar.bz2
trackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.zip
Remove remaining handler names
Diffstat (limited to 'src/org/traccar/protocol/DmtProtocol.java')
-rw-r--r--src/org/traccar/protocol/DmtProtocol.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/DmtProtocol.java b/src/org/traccar/protocol/DmtProtocol.java
index 3df261443..bce731254 100644
--- a/src/org/traccar/protocol/DmtProtocol.java
+++ b/src/org/traccar/protocol/DmtProtocol.java
@@ -34,9 +34,8 @@ public class DmtProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder",
- new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 3, 2, 0, 0, true));
- pipeline.addLast("objectDecoder", new DmtProtocolDecoder(DmtProtocol.this));
+ pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 3, 2, 0, 0, true));
+ pipeline.addLast(new DmtProtocolDecoder(DmtProtocol.this));
}
});
}