|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRadiogramProtocolManager
A general purpose IProtocolManager
designed to separate incoming radio packets into
separate queues based on a unique identifying port number in the range 0-255, and manage
them as unreliable datagrams.
Currently underpins com.sun.spot.io.j2me.radiogram.RadiogramConnection
Field Summary | |
---|---|
static int |
BROADCAST
|
static int |
DATA_OFFSET
The offset into data buffers at which data starts |
static int |
SERVER
|
Fields inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager |
---|
FIRST_USER_PORT, INPUT, OUTPUT, PORT_OFFSET |
Method Summary | |
---|---|
ConnectionID |
addBroadcastConnection(byte portNo)
Register a broadcast connection |
ConnectionID |
addServerConnection(byte portNo)
Register a server connection |
Methods inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager |
---|
addInputConnection, addOutputConnection, closeConnection, packetsAvailable, receivePacket, receivePacket, send |
Field Detail |
---|
static final int DATA_OFFSET
static final int SERVER
static final int BROADCAST
Method Detail |
---|
ConnectionID addServerConnection(byte portNo)
portNo
- - port number to communicate over
ConnectionID addBroadcastConnection(byte portNo)
portNo
- - port number to communicate over
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |