Package org.mariadb.jdbc.message.client
Class PingPacket
java.lang.Object
org.mariadb.jdbc.message.client.PingPacket
- All Implemented Interfaces:
ClientMessage
Ping packet see COM_PING (https://mariadb.com/kb/en/com_ping/)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mariadb.jdbc.message.ClientMessage
batchUpdateLength, binaryProtocol, canSkipMeta, description, getLocalInfileInputStream, mightBeBulkResult, readPacket, validateLocalFileName
-
Field Details
-
INSTANCE
default instance
-
-
Constructor Details
-
PingPacket
public PingPacket()
-
-
Method Details
-
encode
Description copied from interface:ClientMessage
Encode client message to socket.- Specified by:
encode
in interfaceClientMessage
- Parameters:
writer
- socket writercontext
- connection context- Returns:
- number of client message written
- Throws:
IOException
- if socket error occur
-