diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-31 21:42:53 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-31 21:42:53 +1200 |
commit | 883d296cc80e11279c5fca2d3d7a737eff762479 (patch) | |
tree | 262622c5dd69034ca0aa3fa9201a3ebdd6831cc7 /src/org/traccar/protocol/WatchProtocol.java | |
parent | ea8730325866dbe61e873adcfc8d5875bf7b9be1 (diff) | |
download | trackermap-server-883d296cc80e11279c5fca2d3d7a737eff762479.tar.gz trackermap-server-883d296cc80e11279c5fca2d3d7a737eff762479.tar.bz2 trackermap-server-883d296cc80e11279c5fca2d3d7a737eff762479.zip |
Convert Watch to binary protocol
Diffstat (limited to 'src/org/traccar/protocol/WatchProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/WatchProtocol.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/WatchProtocol.java b/src/org/traccar/protocol/WatchProtocol.java index 72a260423..42a640b85 100644 --- a/src/org/traccar/protocol/WatchProtocol.java +++ b/src/org/traccar/protocol/WatchProtocol.java @@ -17,10 +17,8 @@ package org.traccar.protocol; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.ChannelPipeline; -import org.jboss.netty.handler.codec.string.StringDecoder; import org.jboss.netty.handler.codec.string.StringEncoder; import org.traccar.BaseProtocol; -import org.traccar.CharacterDelimiterFrameDecoder; import org.traccar.TrackerServer; import org.traccar.model.Command; @@ -53,7 +51,6 @@ public class WatchProtocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new WatchFrameDecoder()); pipeline.addLast("stringEncoder", new StringEncoder()); - pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectEncoder", new WatchProtocolEncoder()); pipeline.addLast("objectDecoder", new WatchProtocolDecoder(WatchProtocol.this)); } |