Class LineOrientedResponseDecoder
- java.lang.Object
-
- org.jboss.netty.handler.codec.oneone.OneToOneDecoder
-
- org.opennms.netmgt.provision.detector.simple.support.LineOrientedResponseDecoder
-
- All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler
,org.jboss.netty.channel.ChannelUpstreamHandler
public class LineOrientedResponseDecoder extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder
LineOrientedResponseDecoder class.
- Author:
- Seth
-
-
Constructor Summary
Constructors Constructor Description LineOrientedResponseDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg)
This method decodesString
objects intoLineOrientedResponse
instances that contain the byte representation of the response.
-
-
-
Method Detail
-
decode
public java.lang.Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg) throws java.lang.Exception
This method decodesString
objects intoLineOrientedResponse
instances that contain the byte representation of the response.- Specified by:
decode
in classorg.jboss.netty.handler.codec.oneone.OneToOneDecoder
- Throws:
java.lang.Exception
-
-