@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    DataSerializer.writeString(regionPath, out);
    context.getSerializer().writeObject(callbackArgument, out);
    out.writeByte(op.ordinal);
    out.writeBoolean(originRemote);
    InternalDataSerializer.invokeToData(distributedMember, out);
  }
Writes the contents of this message to the given output.
geode-core/src/main/java/org/apache/geode/internal/cache/RegionEventImpl.java