List of usage examples for io.netty.handler.codec ByteToMessageDecoder subclass-usage
From source file at.yawk.votifier.LineSplitter.java
/** * @author yawkat */ class LineSplitter extends ByteToMessageDecoder { @Override protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {
From source file at.yawk.votifier.VoteDecrypter.java
/** * @author yawkat */ class VoteDecrypter extends ByteToMessageDecoder { public static final int MESSAGE_SIZE = 256; private final PrivateKey key;
From source file bftsmart.communication.client.netty.NettyTOMMessageDecoder.java
/** * * @author Paulo Sousa */ public class NettyTOMMessageDecoder extends ByteToMessageDecoder {
From source file ch.ethz.globis.distindex.middleware.net.MiddlewareMessageDecoder.java
/** * Buffers the byte chunks received from the client until a full message was received. * * When this happens, the ByteBuf containing that message is send to the channel handler. */ public class MiddlewareMessageDecoder extends ByteToMessageDecoder {
From source file cloudeventbus.codec.Decoder.java
/** * @author Mike Heath <elcapo@gmail.com> */ public class Decoder extends ByteToMessageDecoder { private static final Logger LOGGER = LoggerFactory.getLogger(Decoder.class);
From source file cn.ifengkou.hestia.serialize.MessageDecoder.java
/**
* MessageDecoder ? ?
*
* @author shenlongguang<https://github.com/ifengkou>
* @date 2017/2/22 14:20
*/
From source file code.google.nfs.rpc.netty4.serialize.Netty4ProtocolDecoder.java
/**
* decode byte[]
* change to pipeline receive requests or responses,let's IO thread do less thing
*
* @author <a href="mailto:coderplay@gmail.com">Min Zhou</a>
*/
From source file com.alibaba.dubbo.qos.server.handler.QosProcessHandler.java
public class QosProcessHandler extends ByteToMessageDecoder { private ScheduledFuture<?> welcomeFuture; private String welcome; // true means to accept foreign IP
From source file com.antsdb.saltedfish.server.mysql.PacketDecoder.java
class PacketDecoder extends ByteToMessageDecoder { static final int MAX_PACKET_SIZE = 0xffffff; static final int COMMAND_HANDSKAE = -1; // mysql doesn't have this code boolean isHandshaken = false; MysqlServerHandler handler;
From source file com.antsdb.saltedfish.server.mysql.ReplicationPacketDecoder.java
class ReplicationPacketDecoder extends ByteToMessageDecoder { MysqlClientHandler handler; static Logger _log = UberUtil.getThisLogger(); private int state = StateIndicator.INITIAL_STATE;