endbatchcommand.java

来自「tinyos最新版」· Java 代码 · 共 95 行

JAVA
95
字号
/** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'EndBatchCommand' * message type. */package net.tinyos.sim.msg;public class EndBatchCommand extends net.tinyos.message.Message {    /** The default size of this message type in bytes. */    public static final int DEFAULT_MESSAGE_SIZE = 0;    /** The Active Message type associated with this message. */    public static final int AM_TYPE = 4113;    /** Create a new EndBatchCommand of size 0. */    public EndBatchCommand() {        super(DEFAULT_MESSAGE_SIZE);        amTypeSet(AM_TYPE);    }    /** Create a new EndBatchCommand of the given data_length. */    public EndBatchCommand(int data_length) {        super(data_length);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand with the given data_length     * and base offset.     */    public EndBatchCommand(int data_length, int base_offset) {        super(data_length, base_offset);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand using the given byte array     * as backing store.     */    public EndBatchCommand(byte[] data) {        super(data);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand using the given byte array     * as backing store, with the given base offset.     */    public EndBatchCommand(byte[] data, int base_offset) {        super(data, base_offset);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand using the given byte array     * as backing store, with the given base offset and data length.     */    public EndBatchCommand(byte[] data, int base_offset, int data_length) {        super(data, base_offset, data_length);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand embedded in the given message     * at the given base offset.     */    public EndBatchCommand(net.tinyos.message.Message msg, int base_offset) {        super(msg, base_offset, DEFAULT_MESSAGE_SIZE);        amTypeSet(AM_TYPE);    }    /**     * Create a new EndBatchCommand embedded in the given message     * at the given base offset and length.     */    public EndBatchCommand(net.tinyos.message.Message msg, int base_offset, int data_length) {        super(msg, base_offset, data_length);        amTypeSet(AM_TYPE);    }    /**    /* Return a String representation of this message. Includes the     * message type name and the non-indexed field values.     */    public String toString() {      String s = "Message <EndBatchCommand> \n";      return s;    }    // Message-type-specific access methods appear below.}

⌨️ 快捷键说明

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