use of com.actiontech.dble.backend.mysql.nio.handler.ResetConnHandler in project dble by actiontech.
the class SetTestJob method okResponse.
@Override
public void okResponse(byte[] ok, BackendConnection conn) {
doFinished(false);
sc.write(ok);
ResetConnHandler handler = new ResetConnHandler();
conn.setResponseHandler(handler);
((MySQLConnection) conn).setComplexQuery(true);
MySQLConnection connection = (MySQLConnection) conn;
connection.write(connection.writeToBuffer(ResetConnectionPacket.RESET, connection.allocate()));
}
Aggregations