Class LineOrientedRequestEncoder
- java.lang.Object
-
- org.jboss.netty.handler.codec.oneone.OneToOneEncoder
-
- org.opennms.netmgt.provision.detector.simple.support.LineOrientedRequestEncoder
-
- All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler,org.jboss.netty.channel.ChannelHandler
public class LineOrientedRequestEncoder extends org.jboss.netty.handler.codec.oneone.OneToOneEncoderLineOrientedRequestEncoder class.
- Author:
- Seth
-
-
Constructor Summary
Constructors Constructor Description LineOrientedRequestEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectencode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg)This method encodesLineOrientedRequestobjects intoStringinstances that contain the byte representation of the request.
-
-
-
Method Detail
-
encode
public java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, java.lang.Object msg) throws java.lang.ExceptionThis method encodesLineOrientedRequestobjects intoStringinstances that contain the byte representation of the request.- Specified by:
encodein classorg.jboss.netty.handler.codec.oneone.OneToOneEncoder- Throws:
java.lang.Exception
-
-