public final class PingPacket extends Object implements com.singlestore.jdbc.message.ClientMessage
| Modifier and Type | Field and Description |
|---|---|
static PingPacket |
INSTANCE |
| Constructor and Description |
|---|
PingPacket() |
| Modifier and Type | Method and Description |
|---|---|
int |
encode(Writer writer,
com.singlestore.jdbc.client.Context context)
COM_PING packet
|
public static final PingPacket INSTANCE
public int encode(Writer writer, com.singlestore.jdbc.client.Context context) throws IOException
int[1] 0x0e : COM_PING Header
encode in interface com.singlestore.jdbc.message.ClientMessagewriter - socket writercontext - connection contextIOException - if socket error occurCopyright © 2025 SingleStore. All rights reserved.