public static DataSerializer register(Class<? extends DataSerializer> c, boolean distribute,
      EventID eventId,
      ClientProxyMembershipID context) {
    DataSerializer s = newInstance(c);
    // This method is only called when server connection and CacheClientUpdaterThread
    s.setEventId(eventId);
    s.setContext(context);
    return _register(s, distribute);
  }
Instantiates an instance of {@code DataSerializer}

@throws IllegalArgumentException If the class can't be instantiated
@see DataSerializer#register(Class)
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java