public class AddPartitionsToTxnCodec extends Object implements KafkaPayloadCodec<AddPartitionsToTxnResponse>, org.joyqueue.network.transport.command.Type
| 构造器和说明 |
|---|
AddPartitionsToTxnCodec() |
| 限定符和类型 | 方法和说明 |
|---|---|
AddPartitionsToTxnRequest |
decode(KafkaHeader header,
io.netty.buffer.ByteBuf buffer) |
void |
encode(AddPartitionsToTxnResponse payload,
io.netty.buffer.ByteBuf buffer) |
int |
type() |
public AddPartitionsToTxnRequest decode(KafkaHeader header, io.netty.buffer.ByteBuf buffer) throws Exception
decode 在接口中 org.joyqueue.network.transport.codec.PayloadDecoder<KafkaHeader>Exceptionpublic void encode(AddPartitionsToTxnResponse payload, io.netty.buffer.ByteBuf buffer) throws Exception
encode 在接口中 org.joyqueue.network.transport.codec.PayloadEncoder<AddPartitionsToTxnResponse>Exceptionpublic int type()
type 在接口中 org.joyqueue.network.transport.command.TypeCopyright © 2020 Joyqueue Community. All rights reserved.