Message Class Reference
Helper class for sending messages to a Sun SPOT. More...
Public Member Functions | |
Message (byte type) | |
Creates a message with just a single byte. | |
Message (byte type, short order) | |
Message (byte type, byte index, String utf) | |
Creates a message with a byte message and extra data. | |
Package Attributes | |
final byte | type |
The message to send. | |
final short | order |
The order for a resend message. | |
final byte | index |
For adding filters, the index of the filter in the array. | |
final String | utf |
For adding filters, the parameter for the new filter. |
Detailed Description
Helper class for sending messages to a Sun SPOT.
Constructor & Destructor Documentation
Message | ( | byte | type | ) |
Creates a message with just a single byte.
No extra payload data.
- Parameters:
-
type the message to send
Message | ( | byte | type, | |
short | order | |||
) |
Message | ( | byte | type, | |
byte | index, | |||
String | utf | |||
) |
Creates a message with a byte message and extra data.
This constructor would typically be used with a MSG_ADD_FILTER byte.
- Parameters:
-
type the message to send index for adding filters, the index of the filter in the array utf for adding filters, the parameter for the new filter
Member Data Documentation
final byte index [package] |
For adding filters, the index of the filter in the array.
final short order [package] |
The order for a resend message.
final byte type [package] |
The message to send.
final String utf [package] |
For adding filters, the parameter for the new filter.
The documentation for this class was generated from the following file:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/plugin/spot/Message.java