public class UnsupportedMessageCodec<T extends Message> extends java.lang.Object implements Message.Codec<T>
Modifier and Type | Field and Description |
---|---|
static UnsupportedMessageCodec |
instance |
Constructor and Description |
---|
UnsupportedMessageCodec() |
Modifier and Type | Method and Description |
---|---|
T |
decode(io.netty.buffer.ByteBuf body,
ProtocolVersion version) |
void |
encode(T t,
io.netty.buffer.ByteBuf dest,
ProtocolVersion version) |
int |
encodedSize(T t,
ProtocolVersion version) |
public static final UnsupportedMessageCodec instance
public T decode(io.netty.buffer.ByteBuf body, ProtocolVersion version)
public void encode(T t, io.netty.buffer.ByteBuf dest, ProtocolVersion version)
public int encodedSize(T t, ProtocolVersion version)
encodedSize
in interface CBCodec<T extends Message>
Copyright © 2009- The Apache Software Foundation