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