moteaccess
Class ConfigRequestTOSMessage

java.lang.Object
  extended bynet.tinyos.message.Message
      extended bymoteaccess.ConfigRequestTOSMessage

public class ConfigRequestTOSMessage
extends net.tinyos.message.Message

See Also:
Serialized Form

Field Summary
static int AM_TYPE
          The Active Message type associated with this message.
static int DEFAULT_MESSAGE_SIZE
          The default size of this message type in bytes.
 
Constructor Summary
ConfigRequestTOSMessage()
          Create a new ConfigRequestTOSMessage of size 11.
ConfigRequestTOSMessage(byte[] data)
          Create a new ConfigRequestTOSMessage using the given byte array as backing store.
ConfigRequestTOSMessage(byte[] data, int base_offset)
          Create a new ConfigRequestTOSMessage using the given byte array as backing store, with the given base offset.
ConfigRequestTOSMessage(byte[] data, int base_offset, int data_length)
          Create a new ConfigRequestTOSMessage using the given byte array as backing store, with the given base offset and data length.
ConfigRequestTOSMessage(int data_length)
          Create a new ConfigRequestTOSMessage of the given data_length.
ConfigRequestTOSMessage(int data_length, int base_offset)
          Create a new ConfigRequestTOSMessage with the given data_length and base offset.
 
Method Summary
 int get_hbn()
          Return the value (as a int) of the field 'hbn'
 short get_param_id()
          Return the value (as a short) of the field 'param_id'
 int get_param_val()
          Return the value (as a int) of the field 'param_val'
 long get_sn()
          Return the value (as a long) of the field 'sn'
 int get_src()
          Return the value (as a int) of the field 'src'
static boolean isArray_hbn()
          Return whether the field 'hbn' is an array (false).
static boolean isArray_param_id()
          Return whether the field 'param_id' is an array (false).
static boolean isArray_param_val()
          Return whether the field 'param_val' is an array (false).
static boolean isArray_sn()
          Return whether the field 'sn' is an array (false).
static boolean isArray_src()
          Return whether the field 'src' is an array (false).
static boolean isSigned_hbn()
          Return whether the field 'hbn' is signed (false).
static boolean isSigned_param_id()
          Return whether the field 'param_id' is signed (false).
static boolean isSigned_param_val()
          Return whether the field 'param_val' is signed (false).
static boolean isSigned_sn()
          Return whether the field 'sn' is signed (false).
static boolean isSigned_src()
          Return whether the field 'src' is signed (false).
static int offset_hbn()
          Return the offset (in bytes) of the field 'hbn'
static int offset_param_id()
          Return the offset (in bytes) of the field 'param_id'
static int offset_param_val()
          Return the offset (in bytes) of the field 'param_val'
static int offset_sn()
          Return the offset (in bytes) of the field 'sn'
static int offset_src()
          Return the offset (in bytes) of the field 'src'
static int offsetBits_hbn()
          Return the offset (in bits) of the field 'hbn'
static int offsetBits_param_id()
          Return the offset (in bits) of the field 'param_id'
static int offsetBits_param_val()
          Return the offset (in bits) of the field 'param_val'
static int offsetBits_sn()
          Return the offset (in bits) of the field 'sn'
static int offsetBits_src()
          Return the offset (in bits) of the field 'src'
 void set_hbn(int value)
          Set the value of the field 'hbn'
 void set_param_id(short value)
          Set the value of the field 'param_id'
 void set_param_val(int value)
          Set the value of the field 'param_val'
 void set_sn(long value)
          Set the value of the field 'sn'
 void set_src(int value)
          Set the value of the field 'src'
static int size_hbn()
          Return the size, in bytes, of the field 'hbn'
static int size_param_id()
          Return the size, in bytes, of the field 'param_id'
static int size_param_val()
          Return the size, in bytes, of the field 'param_val'
static int size_sn()
          Return the size, in bytes, of the field 'sn'
static int size_src()
          Return the size, in bytes, of the field 'src'
static int sizeBits_hbn()
          Return the size, in bits, of the field 'hbn'
static int sizeBits_param_id()
          Return the size, in bits, of the field 'param_id'
static int sizeBits_param_val()
          Return the size, in bits, of the field 'param_val'
static int sizeBits_sn()
          Return the size, in bits, of the field 'sn'
static int sizeBits_src()
          Return the size, in bits, of the field 'src'
 java.lang.String toString()
          /* Return a String representation of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MESSAGE_SIZE

public static final int DEFAULT_MESSAGE_SIZE
The default size of this message type in bytes.

See Also:
Constant Field Values

AM_TYPE

public static final int AM_TYPE
The Active Message type associated with this message.

See Also:
Constant Field Values
Constructor Detail

ConfigRequestTOSMessage

public ConfigRequestTOSMessage()
Create a new ConfigRequestTOSMessage of size 11.


ConfigRequestTOSMessage

public ConfigRequestTOSMessage(int data_length)
Create a new ConfigRequestTOSMessage of the given data_length.


ConfigRequestTOSMessage

public ConfigRequestTOSMessage(int data_length,
                               int base_offset)
Create a new ConfigRequestTOSMessage with the given data_length and base offset.


ConfigRequestTOSMessage

public ConfigRequestTOSMessage(byte[] data)
Create a new ConfigRequestTOSMessage using the given byte array as backing store.


ConfigRequestTOSMessage

public ConfigRequestTOSMessage(byte[] data,
                               int base_offset)
Create a new ConfigRequestTOSMessage using the given byte array as backing store, with the given base offset.


ConfigRequestTOSMessage

public ConfigRequestTOSMessage(byte[] data,
                               int base_offset,
                               int data_length)
Create a new ConfigRequestTOSMessage using the given byte array as backing store, with the given base offset and data length.

Method Detail

toString

public java.lang.String toString()
/* Return a String representation of this message. Includes the message type name and the non-indexed field values.


isSigned_src

public static boolean isSigned_src()
Return whether the field 'src' is signed (false).


isArray_src

public static boolean isArray_src()
Return whether the field 'src' is an array (false).


offset_src

public static int offset_src()
Return the offset (in bytes) of the field 'src'


offsetBits_src

public static int offsetBits_src()
Return the offset (in bits) of the field 'src'


get_src

public int get_src()
Return the value (as a int) of the field 'src'


set_src

public void set_src(int value)
Set the value of the field 'src'


size_src

public static int size_src()
Return the size, in bytes, of the field 'src'


sizeBits_src

public static int sizeBits_src()
Return the size, in bits, of the field 'src'


isSigned_sn

public static boolean isSigned_sn()
Return whether the field 'sn' is signed (false).


isArray_sn

public static boolean isArray_sn()
Return whether the field 'sn' is an array (false).


offset_sn

public static int offset_sn()
Return the offset (in bytes) of the field 'sn'


offsetBits_sn

public static int offsetBits_sn()
Return the offset (in bits) of the field 'sn'


get_sn

public long get_sn()
Return the value (as a long) of the field 'sn'


set_sn

public void set_sn(long value)
Set the value of the field 'sn'


size_sn

public static int size_sn()
Return the size, in bytes, of the field 'sn'


sizeBits_sn

public static int sizeBits_sn()
Return the size, in bits, of the field 'sn'


isSigned_param_id

public static boolean isSigned_param_id()
Return whether the field 'param_id' is signed (false).


isArray_param_id

public static boolean isArray_param_id()
Return whether the field 'param_id' is an array (false).


offset_param_id

public static int offset_param_id()
Return the offset (in bytes) of the field 'param_id'


offsetBits_param_id

public static int offsetBits_param_id()
Return the offset (in bits) of the field 'param_id'


get_param_id

public short get_param_id()
Return the value (as a short) of the field 'param_id'


set_param_id

public void set_param_id(short value)
Set the value of the field 'param_id'


size_param_id

public static int size_param_id()
Return the size, in bytes, of the field 'param_id'


sizeBits_param_id

public static int sizeBits_param_id()
Return the size, in bits, of the field 'param_id'


isSigned_param_val

public static boolean isSigned_param_val()
Return whether the field 'param_val' is signed (false).


isArray_param_val

public static boolean isArray_param_val()
Return whether the field 'param_val' is an array (false).


offset_param_val

public static int offset_param_val()
Return the offset (in bytes) of the field 'param_val'


offsetBits_param_val

public static int offsetBits_param_val()
Return the offset (in bits) of the field 'param_val'


get_param_val

public int get_param_val()
Return the value (as a int) of the field 'param_val'


set_param_val

public void set_param_val(int value)
Set the value of the field 'param_val'


size_param_val

public static int size_param_val()
Return the size, in bytes, of the field 'param_val'


sizeBits_param_val

public static int sizeBits_param_val()
Return the size, in bits, of the field 'param_val'


isSigned_hbn

public static boolean isSigned_hbn()
Return whether the field 'hbn' is signed (false).


isArray_hbn

public static boolean isArray_hbn()
Return whether the field 'hbn' is an array (false).


offset_hbn

public static int offset_hbn()
Return the offset (in bytes) of the field 'hbn'


offsetBits_hbn

public static int offsetBits_hbn()
Return the offset (in bits) of the field 'hbn'


get_hbn

public int get_hbn()
Return the value (as a int) of the field 'hbn'


set_hbn

public void set_hbn(int value)
Set the value of the field 'hbn'


size_hbn

public static int size_hbn()
Return the size, in bytes, of the field 'hbn'


sizeBits_hbn

public static int sizeBits_hbn()
Return the size, in bits, of the field 'hbn'