All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.server.netty.RedisReplyEncoder Maven / Gradle / Ivy

There is a newer version: 0.7
Show newest version
package redis.server.netty;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;
import redis.netty4.Reply;

/**
 * Write a reply.
 */
public class RedisReplyEncoder extends MessageToByteEncoder {
  @Override
  public void encode(ChannelHandlerContext ctx, Reply msg, ByteBuf out) throws Exception {
    msg.write(out);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy