@Deprecated public class ThriftCodec extends Object implements Codec2
Codec2.DecodeResult| Modifier and Type | Field and Description |
|---|---|
static short |
MAGIC
Deprecated.
|
static int |
MESSAGE_HEADER_LENGTH_INDEX
Deprecated.
|
static int |
MESSAGE_LENGTH_INDEX
Deprecated.
|
static int |
MESSAGE_SHORTEST_LENGTH
Deprecated.
|
static String |
NAME
Deprecated.
|
static String |
PARAMETER_CLASS_NAME_GENERATOR
Deprecated.
|
static byte |
VERSION
Deprecated.
|
| Constructor and Description |
|---|
ThriftCodec()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Channel channel,
ChannelBuffer buffer)
Deprecated.
|
void |
encode(Channel channel,
ChannelBuffer buffer,
Object message)
Deprecated.
|
public static final int MESSAGE_LENGTH_INDEX
public static final int MESSAGE_HEADER_LENGTH_INDEX
public static final int MESSAGE_SHORTEST_LENGTH
public static final String NAME
public static final String PARAMETER_CLASS_NAME_GENERATOR
public static final byte VERSION
public static final short MAGIC
public void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException
encode in interface Codec2IOExceptionpublic Object decode(Channel channel, ChannelBuffer buffer) throws IOException
decode in interface Codec2IOExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.