Class Mapper<S>


  • public class Mapper<S>
    extends Object
    • Constructor Detail

      • Mapper

        public Mapper​(Class<S> structInterface,
                      boolean debugEnabled)
    • Method Detail

      • getSizeInBytes

        public int getSizeInBytes()
        Returns:
        the size that each message takes up in bytes
      • newFlyweight

        public <I> I newFlyweight​(Class<I> implementationParent,
                                  String templateFileName,
                                  Object... args)
      • newFlyweight

        public <I> I newFlyweight​(Class<I> implementationParent,
                                  String templateFileName,
                                  Template template,
                                  Object... args)