public final class PingMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static PingMessage |
INSTANCE
The instance of the singleton class.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
protected int |
size() |
String |
toString() |
protected void |
writeTo(io.netty.buffer.ByteBuf buf) |
public static final PingMessage INSTANCE
protected 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.