code: public <TMessage> void register(final Class<TMessage> msgMetaClass) {
      final String classId = getClassId(msgMetaClass);
      LOG.log(Level.INFO, "Registering message: {0}", classId);
      this.nameToSerializerMap.put(classId, SerializationFactory.createSerializer(msgMetaClass));
      this.nameToDeserializerMap.put(classId, SerializationFactory.createDeserializer(msgMetaClass));
    }
docs: Instantiates and adds a message serializer/deserializer for the message.
  @param msgMetaClass The reflection class for the message.
  @param <TMessage> The Java type of the message being registered.