List of usage examples for io.netty.handler.codec ByteToMessageDecoder subclass-usage
From source file eu.jangos.realm.network.decoder.RealmPacketDecoder.java
/**
* AuthPacketDecoder is an extension of the ByteMessageDecoder of Netty. It is
* in charge of translation incoming byte network packets into WoW
* understandable packet manageable by the authentication server.
*
* The decoder currently supports the following WoW packets: -
From source file evanq.game.net.netty.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 factorial.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 gameserver.network.mu.MuCyperDecoder.java
/** * @author Vlad * */ public final class MuCyperDecoder extends ByteToMessageDecoder {
From source file gedi.remote.codec.DefaultDecoder.java
/** * Decodes {@link BinarySerializable}, Numbers and Ascii Strings * @author erhard * */ public class DefaultDecoder extends ByteToMessageDecoder {
From source file gwlpr.protocol.handshake.HandshakeHandler.java
/**
* Handshake is basically the same for LS and GS,
* just the first packets that are sent differ (client version and verify client)
*
* This is full of magic numbers, but the actual classes cant be stuffed with the
* shit, as they need to be serializable!
From source file handling.netty.MaplePacketDecoder.java
public class MaplePacketDecoder extends ByteToMessageDecoder { public static final AttributeKey<DecoderState> DECODER_STATE_KEY = AttributeKey .valueOf(MaplePacketDecoder.class.getName() + ".STATE"); public static class DecoderState {
From source file io.airlift.drift.transport.netty.codec.ThriftFramedDecoder.java
class ThriftFramedDecoder extends ByteToMessageDecoder { private final FrameInfoDecoder frameInfoDecoder; private final int maxFrameSizeInBytes; private Optional<FrameInfo> tooLongFrameInfo = Optional.empty(); private long tooLongFrameSizeInBytes;
From source file io.airlift.drift.transport.netty.codec.ThriftUnframedDecoder.java
class ThriftUnframedDecoder extends ByteToMessageDecoder { private final Protocol protocol; private final int maxFrameSize; private final boolean assumeClientsSupportOutOfOrderResponses; public ThriftUnframedDecoder(Protocol protocol, DataSize maxFrameSize,
From source file io.airlift.drift.transport.netty.server.OptionalSslHandler.java
public class OptionalSslHandler extends ByteToMessageDecoder { // see https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-5 private static final int SSL_CONTENT_TYPE_CHANGE_CIPHER_SPEC = 20; private static final int SSL_CONTENT_TYPE_ALERT = 21; private static final int SSL_CONTENT_TYPE_HANDSHAKE = 22; private static final int SSL_CONTENT_TYPE_APPLICATION_DATA = 23;