示例#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
                     * C Sharp, but the bytes expected on the wire.
                     *
                     * @return
                     */
                    public int getSize()
                    {
                        int size = 0;

                        size += JausUtils.getNumBytes("byte");

                        return(size);
                    }
示例#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
                     * C Sharp, but the bytes expected on the wire.
                     *
                     * @return
                     */
                    public int getSize()
                    {
                        int size = 0;

                        size += JausUtils.getNumBytes("uint");
                        size += (int)m_Length;

                        return(size);
                    }
示例#3
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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("byte");
                    size += m_ReportMessage.getSize();

                    return(size);
                }
                /**
                 * 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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("uint");
                    size += m_CommandMessage.getSize();

                    return(size);
                }
示例#5
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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("ushort");
                    size += m_QueryMessage.getSize();

                    return(size);
                }
示例#6
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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("ushort");
                    size += JausUtils.getNumBytes("byte");
                    size += m_Identification.Length;

                    return(size);
                }
                /**
                 * 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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += JausUtils.getNumBytes("byte");
                    if (checkPresenceVector(0))
                    {
                        size += JausUtils.getNumBytes("byte");
                    }
                    if (checkPresenceVector(1))
                    {
                        size += (int)80;
                    }

                    return(size);
                }
示例#8
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
                 * C Sharp, but the bytes expected on the wire.
                 *
                 * @return
                 */
                public int getSize()
                {
                    int size = 0;

                    size += JausUtils.getNumBytes("byte");
                    size += m_DestinationID.getSize();
                    if (checkPresenceVector(0))
                    {
                        size += m_SourceID.getSize();
                    }
                    if (checkPresenceVector(1))
                    {
                        size += JausUtils.getNumBytes("byte");
                    }
                    size += m_MessagePayload.getSize();

                    return(size);
                }