|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfrog.plugin.spot.Message
public class Message
Helper class for sending messages to a Sun SPOT
| Field Summary | |
|---|---|
(package private) byte |
index
For adding filters, the index of the filter in the array |
(package private) short |
order
The order for a resend message |
(package private) byte |
type
The message to send |
(package private) String |
utf
For adding filters, the parameter for the new filter |
| Constructor Summary | |
|---|---|
Message(byte type)
Creates a message with just a single byte. |
|
Message(byte type,
byte index,
String utf)
Creates a message with a byte message and extra data. |
|
Message(byte type,
short order)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final byte type
final short order
final byte index
final String utf
| Constructor Detail |
|---|
public Message(byte type)
type - the message to send
public Message(byte type,
short order)
public Message(byte type,
byte index,
String utf)
type - the message to sendindex - for adding filters, the index of the filter in the arrayutf - for adding filters, the parameter for the new filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||