⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s4logmessage.java

📁 state strech routing protocl
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.UART_comm_stats.stat_send_original_total=0x"+Long.toHexString(get_log_msg_UART_comm_stats_stat_send_original_total())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.type=0x"+Long.toHexString(get_log_msg_lrx_pkt_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.sender=0x"+Long.toHexString(get_log_msg_lrx_pkt_sender())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.sender_session_id=0x"+Long.toHexString(get_log_msg_lrx_pkt_sender_session_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.sender_msg_id=0x"+Long.toHexString(get_log_msg_lrx_pkt_sender_msg_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.receiver=0x"+Long.toHexString(get_log_msg_lrx_pkt_receiver())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.receiver_session_id=0x"+Long.toHexString(get_log_msg_lrx_pkt_receiver_session_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.receiver_msg_id=0x"+Long.toHexString(get_log_msg_lrx_pkt_receiver_msg_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.ctrl=0x"+Long.toHexString(get_log_msg_lrx_pkt_ctrl())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.blockNum=0x"+Long.toHexString(get_log_msg_lrx_pkt_blockNum())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.subCtrl=0x"+Long.toHexString(get_log_msg_lrx_pkt_subCtrl())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_pkt.state=0x"+Long.toHexString(get_log_msg_lrx_pkt_state())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.type=0x"+Long.toHexString(get_log_msg_lrx_xfer_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.sender=0x"+Long.toHexString(get_log_msg_lrx_xfer_sender())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.receiver=0x"+Long.toHexString(get_log_msg_lrx_xfer_receiver())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.session_id=0x"+Long.toHexString(get_log_msg_lrx_xfer_session_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.msg_id=0x"+Long.toHexString(get_log_msg_lrx_xfer_msg_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.numofBlock=0x"+Long.toHexString(get_log_msg_lrx_xfer_numofBlock())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.success=0x"+Long.toHexString(get_log_msg_lrx_xfer_success())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.lrx_xfer.state=0x"+Long.toHexString(get_log_msg_lrx_xfer_state())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.debug.type=0x"+Long.toHexString(get_log_msg_debug_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.debug.arg1=0x"+Long.toHexString(get_log_msg_debug_arg1())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.debug.arg2=0x"+Long.toHexString(get_log_msg_debug_arg2())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.debug.arg3=0x"+Long.toHexString(get_log_msg_debug_arg3())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.type=0x"+Long.toHexString(get_log_msg_retransmit_report_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.id=0x"+Long.toHexString(get_log_msg_retransmit_report_id())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.origin_addr=0x"+Long.toHexString(get_log_msg_retransmit_report_origin_addr())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.dest_addr=0x"+Long.toHexString(get_log_msg_retransmit_report_dest_addr())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.hopcount=0x"+Long.toHexString(get_log_msg_retransmit_report_hopcount())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.next_hop=0x"+Long.toHexString(get_log_msg_retransmit_report_next_hop())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.retransmit_report.retransmit_count=0x"+Long.toHexString(get_log_msg_retransmit_report_retransmit_count())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_dv.type=0x"+Long.toHexString(get_log_msg_sent_dv_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_dv.total=0x"+Long.toHexString(get_log_msg_sent_dv_total())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_bv.type=0x"+Long.toHexString(get_log_msg_sent_bv_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_bv.total=0x"+Long.toHexString(get_log_msg_sent_bv_total())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_data.type=0x"+Long.toHexString(get_log_msg_sent_data_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.sent_data.total=0x"+Long.toHexString(get_log_msg_sent_data_total())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.rt_state.type=0x"+Long.toHexString(get_log_msg_rt_state_type())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      try {        s += "  [log_msg.rt_state.total=0x"+Long.toHexString(get_log_msg_rt_state_total())+"]\n";      } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }      return s;    }    // Message-type-specific access methods appear below.    /////////////////////////////////////////////////////////    // Accessor methods for field: header.last_hop    //   Field type: int    //   Offset (bits): 0    //   Size (bits): 16    /////////////////////////////////////////////////////////    /**     * Return whether the field 'header.last_hop' is signed (false).     */    public static boolean isSigned_header_last_hop() {        return false;    }    /**     * Return whether the field 'header.last_hop' is an array (false).     */    public static boolean isArray_header_last_hop() {        return false;    }    /**     * Return the offset (in bytes) of the field 'header.last_hop'     */    public static int offset_header_last_hop() {        return (0 / 8);    }    /**     * Return the offset (in bits) of the field 'header.last_hop'     */    public static int offsetBits_header_last_hop() {        return 0;    }    /**     * Return the value (as a int) of the field 'header.last_hop'     */    public int get_header_last_hop() {        return (int)getUIntElement(offsetBits_header_last_hop(), 16);    }    /**     * Set the value of the field 'header.last_hop'     */    public void set_header_last_hop(int value) {        setUIntElement(offsetBits_header_last_hop(), 16, value);    }    /**     * Return the size, in bytes, of the field 'header.last_hop'     */    public static int size_header_last_hop() {        return (16 / 8);    }    /**     * Return the size, in bits, of the field 'header.last_hop'     */    public static int sizeBits_header_last_hop() {        return 16;    }    /////////////////////////////////////////////////////////    // Accessor methods for field: header.seqno    //   Field type: int    //   Offset (bits): 16    //   Size (bits): 16    /////////////////////////////////////////////////////////    /**     * Return whether the field 'header.seqno' is signed (false).     */    public static boolean isSigned_header_seqno() {        return false;    }    /**     * Return whether the field 'header.seqno' is an array (false).     */    public static boolean isArray_header_seqno() {        return false;    }    /**     * Return the offset (in bytes) of the field 'header.seqno'     */    public static int offset_header_seqno() {        return (16 / 8);    }    /**     * Return the offset (in bits) of the field 'header.seqno'     */    public static int offsetBits_header_seqno() {        return 16;    }    /**     * Return the value (as a int) of the field 'header.seqno'     */    public int get_header_seqno() {        return (int)getUIntElement(offsetBits_header_seqno(), 16);    }    /**     * Set the value of the field 'header.seqno'     */    public void set_header_seqno(int value) {        setUIntElement(offsetBits_header_seqno(), 16, value);    }    /**     * Return the size, in bytes, of the field 'header.seqno'     */    public static int size_header_seqno() {        return (16 / 8);    }    /**     * Return the size, in bits, of the field 'header.seqno'     */    public static int sizeBits_header_seqno() {        return 16;    }    /////////////////////////////////////////////////////////    // Accessor methods for field: log_msg.type    //   Field type: short    //   Offset (bits): 32    //   Size (bits): 8    /////////////////////////////////////////////////////////    /**     * Return whether the field 'log_msg.type' is signed (false).     */    public static boolean isSigned_log_msg_type() {        return false;    }    /**     * Return whether the field 'log_msg.type' is an array (false).     */    public static boolean isArray_log_msg_type() {        return false;    }    /**     * Return the offset (in bytes) of the field 'log_msg.type'     */    public static int offset_log_msg_type() {        return (32 / 8);    }    /**     * Return the offset (in bits) of the field 'log_msg.type'     */    public static int offsetBits_log_msg_type() {        return 32;    }    /**     * Return the value (as a short) of the field 'log_msg.type'     */    public short get_log_msg_type() {        return (short)getUIntElement(offsetBits_log_msg_type(), 8);    }    /**     * Set the value of the field 'log_msg.type'     */    public void set_log_msg_type(short value) {        setUIntElement(offsetBits_log_msg_type(), 8, value);    }    /**     * Return the size, in bytes, of the field 'log_msg.type'     */    public static int size_log_msg_type() {        return (8 / 8);    }    /**     * Return the size, in bits, of the field 'log_msg.type'     */    public static int sizeBits_log_msg_type() {        return 8;    }    /////////////////////////////////////////////////////////    // Accessor methods for field: log_msg.receive_beacon.type    //   Field type: short    //   Offset (bits): 32    //   Size (bits): 8    /////////////////////////////////////////////////////////    /**     * Return whether the field 'log_msg.receive_beacon.type' is signed (false).     */    public static boolean isSigned_log_msg_receive_beacon_type() {        return false;    }    /**     * Return whether the field 'log_msg.receive_beacon.type' is an array (false).     */    public static boolean isArray_log_msg_receive_beacon_type() {        return false;    }    /**     * Return the offset (in bytes) of the field 'log_msg.receive_beacon.type'     */    public static int offset_log_msg_receive_beacon_type() {        return (32 / 8);    }    /**     * Return the offset (in bits) of the field 'log_msg.receive_beacon.type'     */    public static int offsetBits_log_msg_receive_beacon_type() {        return 32;    }    /**     * Return the value (as a short) of the field 'log_msg.receive_beacon.type'     */    public short get_log_msg_receive_beacon_type() {        return (short)getUIntElement(offsetBits_log_msg_receive_beacon_type(), 8);    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -