Example usage for io.netty.handler.codec MessageToMessageEncoder subclass-usage

List of usage examples for io.netty.handler.codec MessageToMessageEncoder subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.codec MessageToMessageEncoder subclass-usage.

Usage

From source file alluxio.network.protocol.RPCMessageEncoder.java

/**
 * Simple Netty encoder for RPCMessages.
 */
@ChannelHandler.Sharable
@ThreadSafe
public final class RPCMessageEncoder extends MessageToMessageEncoder<RPCMessage> {

From source file at.yawk.dbus.protocol.codec.BodyEncoder.java

/**
 * @author yawkat
 */
@Slf4j
class BodyEncoder extends MessageToMessageEncoder<DbusMessage> {
    @Override

From source file books.netty.protocol.http.xml.codec.AbstractHttpXmlEncoder.java

/**
 * @author Administrator
 * @version 1.0
 * @date 201431
 */
public abstract class AbstractHttpXmlEncoder<T> extends MessageToMessageEncoder<T> {

From source file c5db.client.codec.WebsocketProtostuffEncoder.java

public class WebsocketProtostuffEncoder extends MessageToMessageEncoder<Call> {
    private static final long MAX_SIZE = C5Constants.MAX_CONTENT_LENGTH_HTTP_AGG;
    private final WebSocketClientHandshaker handShaker;

    public WebsocketProtostuffEncoder(WebSocketClientHandshaker handShaker) {
        this.handShaker = handShaker;

From source file c5db.codec.ProtostuffEncoder.java

/**
 * Serialized a protostuff object - using 'protobuf' format.
 * The replication library uses this class to decode replication messages over the wire.
 */
public class ProtostuffEncoder<T extends Message<T>> extends MessageToMessageEncoder<Message<T>> {
    @Override

From source file c5db.codec.UdpProtostuffEncoder.java

/**
 * A specialized Protostuff decoder used to serialize Protostuff into a  DatagramPackets and map them to an arbitrary
 * protostuff Message
 *
 * @param <T> The type of message to encode.
 */

From source file c5db.codec.WebsocketProtostuffEncoder.java

/**
 * A specialized Protostuff encoder used to serialize Protostuff into a WebSocketStream and map them to a Response
 * object. Special care must be paid to handle chunking websocket files transparently for the user.
 */
public class WebsocketProtostuffEncoder extends MessageToMessageEncoder<Response> {

From source file c5db.control.ClientEncodeCommandRequest.java

/**
 * TODO document me here
 */
public class ClientEncodeCommandRequest extends MessageToMessageEncoder<CommandRpcRequest<? extends Message>> {

    @Override

From source file c5db.control.ClientHttpProtostuffEncoder.java

/**
 * Client - Encodes Protostuff-based objects into FullHttpRequest messages.
 */
public class ClientHttpProtostuffEncoder extends MessageToMessageEncoder<Message> {
    @Override
    protected void encode(ChannelHandlerContext ctx, Message msg, List<Object> out) throws Exception {

From source file c5db.control.ServerHttpProtostuffEncoder.java

/**
 * Server side, http encoder.
 */
public class ServerHttpProtostuffEncoder extends MessageToMessageEncoder<Message> {
    @Override
    protected void encode(ChannelHandlerContext ctx, Message msg, List<Object> out) throws Exception {