public final class AuthResponse extends Object implements LoginClientMessage
| Constructor and Description |
|---|
AuthResponse(int envelopeId,
byte[] authentication) |
| Modifier and Type | Method and Description |
|---|---|
Mono<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
boolean |
equals(Object o) |
int |
getEnvelopeId()
Get the current envelope ID used to serialize subsequent request messages.
|
int |
hashCode() |
protected int |
size() |
String |
toString() |
protected void |
writeTo(io.netty.buffer.ByteBuf buf) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitencodepublic int getEnvelopeId()
LoginClientMessagegetEnvelopeId in interface LoginClientMessageprotected int size()
protected void writeTo(io.netty.buffer.ByteBuf buf)
public Mono<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, ConnectionContext context)
ClientMessageByteBufs.encode in interface ClientMessageallocator - the ByteBufAllocator that use to get ByteBuf to write into.context - current MySQL connection context.Flux that's produces the encoded ByteBufs.Copyright © 2018–2023 asyncer.io. All rights reserved.