@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      super.toData(out, context);
      out.writeInt(processorId);
      boolean isSerialized = this.isSerialized;
      if (result instanceof byte[]) {
        DataSerializer.writeByteArray((byte[]) result, out);
      } else {
        DataSerializer.writeObjectAsByteArray(result, out);
        isSerialized = true;
      }
      DataSerializer.writeObject(aCallbackArgument, out);
      DataSerializer.writeObject(e, out);
      out.writeBoolean(isSerialized);
      out.writeBoolean(requestorTimedOut);

    }
Invoked on the receiver - which, in this case, was the initiator of the
NetLoadRequestMessage. This concludes the net request, by communicating an object value.
geode-core/src/main/java/org/apache/geode/internal/cache/SearchLoadAndWriteProcessor.java