@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      super.toData(out, context);
      DataSerializer.writeNonPrimitiveClassName(className, out);
      out.writeInt(id);
      DataSerializer.writeObject(eventId, out);
    }
Creates a new {@code RegistrationMessage} that broadcasts that the given {@code
DataSerializer} was registered.
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java