class MySQLOKPacket implements MySQLPacket {

    @Override
    public void write(final MySQLPacketPayload payload) {
        payload.writeInt1(HEADER);
        payload.writeIntLenenc(affectedRows);
        payload.writeIntLenenc(lastInsertId);
        payload.writeInt2(statusFlag);
        payload.writeInt2(warnings);
        payload.writeStringEOF(info);
    }

    public  MySQLOKPacket(final int sequenceId);
    public  MySQLOKPacket(final int sequenceId, final long affectedRows, final long lastInsertId);
    public  MySQLOKPacket(final MySQLPacketPayload payload);

}