List of usage examples for io.netty.handler.codec MessageToMessageDecoder subclass-usage
From source file alluxio.network.protocol.RPCMessageDecoder.java
/**
* Simple Netty decoder which converts the input ByteBuf into an RPCMessage.
* The frame decoder should have already run earlier in the Netty pipeline, and split up the stream
* into individual encoded messages.
*/
@ChannelHandler.Sharable
From source file at.yawk.dbus.protocol.codec.BodyDecoder.java
/** * @author yawkat */ @Slf4j class BodyDecoder extends MessageToMessageDecoder<AlignableByteBuf> { @Override
From source file at.yawk.votifier.VoteDecoder.java
/** * @author yawkat */ class VoteDecoder extends MessageToMessageDecoder<String> { private final Queue<String> lines = new ArrayDeque<>(5);
From source file books.netty.protocol.http.xml.codec.AbstractHttpXmlDecoder.java
/** * @author Lilinfeng * @version 1.0 * @date 201431 */ public abstract class AbstractHttpXmlDecoder<T> extends MessageToMessageDecoder<T> {
From source file c5db.codec.ProtostuffDecoder.java
/** * Decode a protobuf object using the "protostuff" library. * The replication library uses this class to decode replication messages over the wire. */ public class ProtostuffDecoder<T extends Message<T>> extends MessageToMessageDecoder<ByteBuf> { final Schema<T> schema;
From source file c5db.codec.UdpProtostuffDecoder.java
/**
* A specialized Protostuff decoder used to de-serialize Protostuff DatagramPackets and map them to an arbitrary
* protostuff Message
*
* @param <T> The type of message to decode.
*/
From source file c5db.control.ClientHttpProtostuffDecoder.java
/** * Client - Decodes FullHttpResponse into Protostuff objects. */ public class ClientHttpProtostuffDecoder extends MessageToMessageDecoder<FullHttpResponse> { @Override
From source file c5db.control.ServerDecodeCommandRequest.java
/** * TODO document me here */ public class ServerDecodeCommandRequest extends MessageToMessageDecoder<ControlWireMessage> { @Override protected void decode(ChannelHandlerContext ctx, ControlWireMessage msg, List<Object> out) throws Exception {
From source file c5db.control.ServerHttpProtostuffDecoder.java
/** * Server Side FullHttpRequest decoder. */ public class ServerHttpProtostuffDecoder extends MessageToMessageDecoder<FullHttpRequest> { @Override protected void decode(ChannelHandlerContext ctx, FullHttpRequest request, List<Object> out) throws Exception {
From source file cloudfoundry.norouter.f5.dropsonde.LineEventDecoder.java
/** * @author Mike Heath */ public class LineEventDecoder extends MessageToMessageDecoder<ByteBuf> { @Override