@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      super.toData(out, context);
      out.writeBoolean(result);
      out.writeInt(numBucketsIndexesRemoved);
      out.writeInt(numTotalBuckets);
    }
Constructor for index creation reply message.

@param processorId processor id of the waiting processor
@param ex any exceptions
@param result ture if indexes removed properly else false
@param numBucketsIndexesRemoved number of buckets indexed.
@param numTotalBuckets number of total buckets.
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RemoveIndexesMessage.java