moteaccess
Class ConfigReplyTOSMessage

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

public class ConfigReplyTOSMessage
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
ConfigReplyTOSMessage()
          Create a new ConfigReplyTOSMessage of size 13.
ConfigReplyTOSMessage(byte[] data)
          Create a new ConfigReplyTOSMessage using the given byte array as backing store.
ConfigReplyTOSMessage(byte[] data, int base_offset)
          Create a new ConfigReplyTOSMessage using the given byte array as backing store, with the given base offset.
ConfigReplyTOSMessage(byte[] data, int base_offset, int data_length)
          Create a new ConfigReplyTOSMessage using the given byte array as backing store, with the given base offset and data length.
ConfigReplyTOSMessage(int data_length)
          Create a new ConfigReplyTOSMessage of the given data_length.
ConfigReplyTOSMessage(int data_length, int base_offset)
          Create a new ConfigReplyTOSMessage with the given data_length and base offset.
 
Method Summary
 int get_epoch()
          Return the value (as a int) of the field 'epoch'
 int get_hbn()
          Return the value (as a int) of the field 'hbn'
 short get_outcome()
          Return the value (as a short) of the field 'outcome'
 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'
 int get_strength()
          Return the value (as a int) of the field 'strength'
static boolean isArray_epoch()
          Return whether the field 'epoch' is an array (false).
static boolean isArray_hbn()
          Return whether the field 'hbn' is an array (false).
static boolean isArray_outcome()
          Return whether the field 'outcome' 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 isArray_strength()
          Return whether the field 'strength' is an array (false).
static boolean isSigned_epoch()
          Return whether the field 'epoch' is signed (false).
static boolean isSigned_hbn()
          Return whether the field 'hbn' is signed (false).
static boolean isSigned_outcome()
          Return whether the field 'outcome' 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 boolean isSigned_strength()
          Return whether the field 'strength' is signed (false).
static int offset_epoch()
          Return the offset (in bytes) of the field 'epoch'
static int offset_hbn()
          Return the offset (in bytes) of the field 'hbn'
static int offset_outcome()
          Return the offset (in bytes) of the field 'outcome'
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 offset_strength()
          Return the offset (in bytes) of the field 'strength'
static int offsetBits_epoch()
          Return the offset (in bits) of the field 'epoch'
static int offsetBits_hbn()
          Return the offset (in bits) of the field 'hbn'
static int offsetBits_outcome()
          Return the offset (in bits) of the field 'outcome'
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'
static int offsetBits_strength()
          Return the offset (in bits) of the field 'strength'
 void set_epoch(int value)
          Set the value of the field 'epoch'
 void set_hbn(int value)
          Set the value of the field 'hbn'
 void set_outcome(short value)
          Set the value of the field 'outcome'
 void set_sn(long value)
          Set the value of the field 'sn'
 void set_src(int value)
          Set the value of the field 'src'
 void set_strength(int value)
          Set the value of the field 'strength'
static int size_epoch()
          Return the size, in bytes, of the field 'epoch'
static int size_hbn()
          Return the size, in bytes, of the field 'hbn'
static int size_outcome()
          Return the size, in bytes, of the field 'outcome'
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 size_strength()
          Return the size, in bytes, of the field 'strength'
static int sizeBits_epoch()
          Return the size, in bits, of the field 'epoch'
static int sizeBits_hbn()
          Return the size, in bits, of the field 'hbn'
static int sizeBits_outcome()
          Return the size, in bits, of the field 'outcome'
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'
static int sizeBits_strength()
          Return the size, in bits, of the field 'strength'
 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

ConfigReplyTOSMessage

public ConfigReplyTOSMessage()
Create a new ConfigReplyTOSMessage of size 13.


ConfigReplyTOSMessage

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


ConfigReplyTOSMessage

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


ConfigReplyTOSMessage

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


ConfigReplyTOSMessage

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


ConfigReplyTOSMessage

public ConfigReplyTOSMessage(byte[] data,
                             int base_offset,
                             int data_length)
Create a new ConfigReplyTOSMessage 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_outcome

public static boolean isSigned_outcome()
Return whether the field 'outcome' is signed (false).


isArray_outcome

public static boolean isArray_outcome()
Return whether the field 'outcome' is an array (false).


offset_outcome

public static int offset_outcome()
Return the offset (in bytes) of the field 'outcome'


offsetBits_outcome

public static int offsetBits_outcome()
Return the offset (in bits) of the field 'outcome'


get_outcome

public short get_outcome()
Return the value (as a short) of the field 'outcome'


set_outcome

public void set_outcome(short value)
Set the value of the field 'outcome'


size_outcome

public static int size_outcome()
Return the size, in bytes, of the field 'outcome'


sizeBits_outcome

public static int sizeBits_outcome()
Return the size, in bits, of the field 'outcome'


isSigned_epoch

public static boolean isSigned_epoch()
Return whether the field 'epoch' is signed (false).


isArray_epoch

public static boolean isArray_epoch()
Return whether the field 'epoch' is an array (false).


offset_epoch

public static int offset_epoch()
Return the offset (in bytes) of the field 'epoch'


offsetBits_epoch

public static int offsetBits_epoch()
Return the offset (in bits) of the field 'epoch'


get_epoch

public int get_epoch()
Return the value (as a int) of the field 'epoch'


set_epoch

public void set_epoch(int value)
Set the value of the field 'epoch'


size_epoch

public static int size_epoch()
Return the size, in bytes, of the field 'epoch'


sizeBits_epoch

public static int sizeBits_epoch()
Return the size, in bits, of the field 'epoch'


isSigned_strength

public static boolean isSigned_strength()
Return whether the field 'strength' is signed (false).


isArray_strength

public static boolean isArray_strength()
Return whether the field 'strength' is an array (false).


offset_strength

public static int offset_strength()
Return the offset (in bytes) of the field 'strength'


offsetBits_strength

public static int offsetBits_strength()
Return the offset (in bits) of the field 'strength'


get_strength

public int get_strength()
Return the value (as a int) of the field 'strength'


set_strength

public void set_strength(int value)
Set the value of the field 'strength'


size_strength

public static int size_strength()
Return the size, in bytes, of the field 'strength'


sizeBits_strength

public static int sizeBits_strength()
Return the size, in bits, of the field 'strength'


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'