|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.tinyos.message.Message
moteaccess.ImmediateRequestTOSMessage
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 | |
ImmediateRequestTOSMessage()
Create a new ImmediateRequestTOSMessage of size 9. |
|
ImmediateRequestTOSMessage(byte[] data)
Create a new ImmediateRequestTOSMessage using the given byte array as backing store. |
|
ImmediateRequestTOSMessage(byte[] data,
int base_offset)
Create a new ImmediateRequestTOSMessage using the given byte array as backing store, with the given base offset. |
|
ImmediateRequestTOSMessage(byte[] data,
int base_offset,
int data_length)
Create a new ImmediateRequestTOSMessage using the given byte array as backing store, with the given base offset and data length. |
|
ImmediateRequestTOSMessage(int data_length)
Create a new ImmediateRequestTOSMessage of the given data_length. |
|
ImmediateRequestTOSMessage(int data_length,
int base_offset)
Create a new ImmediateRequestTOSMessage 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_sensor_id()
Return the value (as a short) of the field 'sensor_id' |
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_sensor_id()
Return whether the field 'sensor_id' 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_sensor_id()
Return whether the field 'sensor_id' 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_sensor_id()
Return the offset (in bytes) of the field 'sensor_id' |
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_sensor_id()
Return the offset (in bits) of the field 'sensor_id' |
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_sensor_id(short value)
Set the value of the field 'sensor_id' |
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_sensor_id()
Return the size, in bytes, of the field 'sensor_id' |
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_sensor_id()
Return the size, in bits, of the field 'sensor_id' |
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 |
public static final int DEFAULT_MESSAGE_SIZE
public static final int AM_TYPE
Constructor Detail |
public ImmediateRequestTOSMessage()
public ImmediateRequestTOSMessage(int data_length)
public ImmediateRequestTOSMessage(int data_length, int base_offset)
public ImmediateRequestTOSMessage(byte[] data)
public ImmediateRequestTOSMessage(byte[] data, int base_offset)
public ImmediateRequestTOSMessage(byte[] data, int base_offset, int data_length)
Method Detail |
public java.lang.String toString()
public static boolean isSigned_src()
public static boolean isArray_src()
public static int offset_src()
public static int offsetBits_src()
public int get_src()
public void set_src(int value)
public static int size_src()
public static int sizeBits_src()
public static boolean isSigned_sn()
public static boolean isArray_sn()
public static int offset_sn()
public static int offsetBits_sn()
public long get_sn()
public void set_sn(long value)
public static int size_sn()
public static int sizeBits_sn()
public static boolean isSigned_sensor_id()
public static boolean isArray_sensor_id()
public static int offset_sensor_id()
public static int offsetBits_sensor_id()
public short get_sensor_id()
public void set_sensor_id(short value)
public static int size_sensor_id()
public static int sizeBits_sensor_id()
public static boolean isSigned_hbn()
public static boolean isArray_hbn()
public static int offset_hbn()
public static int offsetBits_hbn()
public int get_hbn()
public void set_hbn(int value)
public static int size_hbn()
public static int sizeBits_hbn()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |