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