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