Class UnsupportedMessageCodec<T extends Message>
- java.lang.Object
-
- org.apache.cassandra.transport.messages.UnsupportedMessageCodec<T>
-
- All Implemented Interfaces:
CBCodec<T>
,Message.Codec<T>
public class UnsupportedMessageCodec<T extends Message> extends java.lang.Object implements Message.Codec<T>
Catch-all codec for any unsupported legacy messages.
-
-
Field Summary
Fields Modifier and Type Field Description static UnsupportedMessageCodec
instance
-
Constructor Summary
Constructors Constructor Description UnsupportedMessageCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
instance
public static final UnsupportedMessageCodec instance
-
-
Method Detail
-
decode
public T decode(io.netty.buffer.ByteBuf body, ProtocolVersion version)
-
encode
public void encode(T t, io.netty.buffer.ByteBuf dest, ProtocolVersion version)
-
encodedSize
public int encodedSize(T t, ProtocolVersion version)
- Specified by:
encodedSize
in interfaceCBCodec<T extends Message>
-
-