diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-16 12:15:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-16 12:15:44 +1300 |
commit | 421c13cf3aefeb0de6e057bf9d92ee4347d68f2f (patch) | |
tree | 0d1b2965ca51705d52784dcc55882e12bff24317 /src/org/traccar/protocol/CastelProtocol.java | |
parent | e151bd07a685d8b77ff6c24455ad0520e68843d4 (diff) | |
download | trackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.tar.gz trackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.tar.bz2 trackermap-server-421c13cf3aefeb0de6e057bf9d92ee4347d68f2f.zip |
Remove remaining handler names
Diffstat (limited to 'src/org/traccar/protocol/CastelProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/CastelProtocol.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/CastelProtocol.java b/src/org/traccar/protocol/CastelProtocol.java index fcf461fde..e82682dea 100644 --- a/src/org/traccar/protocol/CastelProtocol.java +++ b/src/org/traccar/protocol/CastelProtocol.java @@ -38,17 +38,16 @@ public class CastelProtocol extends BaseProtocol { serverList.add(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast("frameDecoder", - new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, -4, 0, true)); - pipeline.addLast("objectEncoder", new CastelProtocolEncoder()); - pipeline.addLast("objectDecoder", new CastelProtocolDecoder(CastelProtocol.this)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, -4, 0, true)); + pipeline.addLast(new CastelProtocolEncoder()); + pipeline.addLast(new CastelProtocolDecoder(CastelProtocol.this)); } }); serverList.add(new TrackerServer(true, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast("objectEncoder", new CastelProtocolEncoder()); - pipeline.addLast("objectDecoder", new CastelProtocolDecoder(CastelProtocol.this)); + pipeline.addLast(new CastelProtocolEncoder()); + pipeline.addLast(new CastelProtocolDecoder(CastelProtocol.this)); } }); } |