moteaccess
Class ReactionReplyTOSMessage

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

public class ReactionReplyTOSMessage
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
ReactionReplyTOSMessage()
          Create a new ReactionReplyTOSMessage of size 14.
ReactionReplyTOSMessage(byte[] data)
          Create a new ReactionReplyTOSMessage using the given byte array as backing store.
ReactionReplyTOSMessage(byte[] data, int base_offset)
          Create a new ReactionReplyTOSMessage using the given byte array as backing store, with the given base offset.
ReactionReplyTOSMessage(byte[] data, int base_offset, int data_length)
          Create a new ReactionReplyTOSMessage using the given byte array as backing store, with the given base offset and data length.
ReactionReplyTOSMessage(int data_length)
          Create a new ReactionReplyTOSMessage of the given data_length.
ReactionReplyTOSMessage(int data_length, int base_offset)
          Create a new ReactionReplyTOSMessage 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'
 int get_reading()
          Return the value (as a int) of the field 'reading'
 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_reading()
          Return whether the field 'reading' 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_reading()
          Return whether the field 'reading' 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_reading()
          Return the offset (in bytes) of the field 'reading'
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_reading()
          Return the offset (in bits) of the field 'reading'
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_reading(int value)
          Set the value of the field 'reading'
 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_reading()
          Return the size, in bytes, of the field 'reading'
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_reading()
          Return the size, in bits, of the field 'reading'
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

ReactionReplyTOSMessage

public ReactionReplyTOSMessage()
Create a new ReactionReplyTOSMessage of size 14.


ReactionReplyTOSMessage

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


ReactionReplyTOSMessage

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


ReactionReplyTOSMessage

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


ReactionReplyTOSMessage

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


ReactionReplyTOSMessage

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

public static boolean isSigned_reading()
Return whether the field 'reading' is signed (false).


isArray_reading

public static boolean isArray_reading()
Return whether the field 'reading' is an array (false).


offset_reading

public static int offset_reading()
Return the offset (in bytes) of the field 'reading'


offsetBits_reading

public static int offsetBits_reading()
Return the offset (in bits) of the field 'reading'


get_reading

public int get_reading()
Return the value (as a int) of the field 'reading'


set_reading

public void set_reading(int value)
Set the value of the field 'reading'


size_reading

public static int size_reading()
Return the size, in bytes, of the field 'reading'


sizeBits_reading

public static int sizeBits_reading()
Return the size, in bits, of the field 'reading'


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'