List of usage examples for io.netty.handler.codec ByteToMessageDecoder subclass-usage
From source file com.zanclus.ssh.transport.SSHFrameDecoder.java
/**
* An extension to the {@link ByteToMessageDecoder} which will decode the {@link ByteBuf}
* into an SSH Packet
* @author <a href="https://github.com/InfoSec812">Deven Phillips</a>
* @see <a href="https://tools.ietf.org/html/rfc4253">RFC 4253</a>
*/
From source file com.zaradai.distributor.messaging.netty.handler.AbstractHandshakeHandler.java
public abstract class AbstractHandshakeHandler extends ByteToMessageDecoder { private static final Logger LOGGER = LoggerFactory.getLogger(AbstractHandshakeHandler.class); private static final int BUFFER_SIZE = 64; private final boolean client; private final long handshakeTimeout;
From source file com.zextras.modules.chat.server.xmpp.netty.XmlSubTagTokenizer.java
public class XmlSubTagTokenizer extends ByteToMessageDecoder { static final byte sTokenEnd = '>'; private final Charset mCharset; public XmlSubTagTokenizer() { mCharset = Charset.forName("UTF-8");
From source file com.zhihao.miao.test.day09.BigIntegerDecoder.java
/**
* Decodes the binary representation of a {@link BigInteger} prepended
* with a magic number ('F' or 0x46) and a 32-bit integer length prefix into a
* {@link BigInteger} instance. For example, { 'F', 0, 0, 0, 1, 42 } will be
* decoded into new BigInteger("42").
*/
From source file com.zhihao.miao.test.day09.PortUnificationServerHandler.java
/** * Manipulates the current pipeline dynamically to switch protocols or enable * SSL or GZIP. */ public class PortUnificationServerHandler extends ByteToMessageDecoder {
From source file com.zxcc.socket.protobuf.ProtobufVarint32FrameDecoder.java
/**
* A decoder that splits the received {@link ByteBuf}s dynamically by the value
* of the Google Protocol Buffers <a href=
* "http://code.google.com/apis/protocolbuffers/docs/encoding.html#varints">Base
* 128 Varints</a> integer length field in the message. For example:
*
From source file dbseer.middleware.packet.MiddlewarePacketDecoder.java
/** * Created by Dong Young Yoon on 12/2/15. */ public class MiddlewarePacketDecoder extends ByteToMessageDecoder { @Override protected void decode(ChannelHandlerContext ctx, ByteBuf buf, List<Object> out) throws Exception {
From source file de.felix_klauke.pegasus.protocol.decoder.PacketDecoder.java
/** * Created by Felix Klauke for project Pegasus on 14.02.2016. */ public class PacketDecoder extends ByteToMessageDecoder { /* ----------------------------------- [ Method ] ----------------------------------- */
From source file dorkbox.network.pipeline.tcp.KryoDecoder.java
public class KryoDecoder extends ByteToMessageDecoder { private final NetworkSerializationManager serializationManager; public KryoDecoder(final NetworkSerializationManager serializationManager) { super(); this.serializationManager = serializationManager;
From source file dpfmanager.shell.modules.server.core.HttpServerHandler.java
/** * Created by Adri Llorens on 25/05/2016. */ public class HttpServerHandler extends ByteToMessageDecoder { private DpfContext context;