Class GCMsgBase<HdrType extends IGCSerializableHeader>

    • Constructor Detail

      • GCMsgBase

        public GCMsgBase​(java.lang.Class<HdrType> clazz)
        Initializes a new instance of the GCMsgBase class.
        Parameters:
        clazz - the type of the header
      • GCMsgBase

        public GCMsgBase​(java.lang.Class<HdrType> clazz,
                         int payloadReserve)
        Initializes a new instance of the GCMsgBase class.
        Parameters:
        clazz - the type of the header
        payloadReserve - The number of bytes to initialize the payload capacity to.
    • Method Detail

      • getHeader

        public HdrType getHeader()
        Returns:
        the header for this message type.