Example #1
0
        /**
         * Returns the number of bytes the used data members of the class occupies
         * in the buffer. This is not the number of bytes the data type occupies in
         * Java, but the bytes expected on the wire.
         *
         * @return
         */
        public override int getSize()
        {
            int size = 0;

            size += m_MsgHeader.getSize();

            return(size);
        }
Example #2
0
        /**
         * Returns the number of bytes the used data members of the class occupies
         * in the buffer. This is not the number of bytes the data type occupies in
         * Java, but the bytes expected on the wire.
         *
         * @return
         */
        public override int getSize()
        {
            int size = 0;

            size += m_MsgHeader.getSize();
            size += m_RegisterServicesBody.getSize();

            return(size);
        }