|
Sun SPOT Telemetry Demo -- SPOT-side v1.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PacketHandler
Interface used by a class wanting to be called back when packets are received with a packet type that the class has registered an interest in receiving. The contents of the first byte of the packet determines its type.
PacketReceiver| Method Summary | |
|---|---|
void |
handlePacket(byte type,
com.sun.spot.io.j2me.radiogram.Radiogram pkt)
Application specific callback routine to receive packets that the class has registered with the PacketReceiver. |
| Method Detail |
|---|
void handlePacket(byte type,
com.sun.spot.io.j2me.radiogram.Radiogram pkt)
type - the packet type = the first byte in the packetpkt - the radiogram packet received
|
Sun SPOT Telemetry Demo -- SPOT-side v1.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||