SunSPOT API V5.0


com.sun.spot.peripheral.radio
Interface IRadiostreamProtocolManager

All Superinterfaces:
IRadioProtocolManager
All Known Implementing Classes:
ProxyRadiostreamProtocolManager, RadiostreamProtocolManager

public interface IRadiostreamProtocolManager
extends IRadioProtocolManager

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 reliable streams.

Currently underpins com.sun.spot.io.j2me.radiostream.RadiostreamConnection


Field Summary
static int CTRL_OFFSET
           
static int DATA_OFFSET
          The offset into data buffers at which data starts
static int SEQ_OFFSET
           
 
Fields inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager
FIRST_USER_PORT, INPUT, OUTPUT, PORT_OFFSET
 
Method Summary
 void waitForAllAcks(ConnectionID outConnectionId)
           
 
Methods inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager
addInputConnection, addOutputConnection, closeConnection, packetsAvailable, receivePacket, receivePacket, send
 

Field Detail

SEQ_OFFSET

static final int SEQ_OFFSET
See Also:
Constant Field Values

CTRL_OFFSET

static final int CTRL_OFFSET
See Also:
Constant Field Values

DATA_OFFSET

static final int DATA_OFFSET
The offset into data buffers at which data starts

See Also:
Constant Field Values
Method Detail

waitForAllAcks

void waitForAllAcks(ConnectionID outConnectionId)
                    throws NoAckException,
                           ChannelBusyException,
                           NoMeshLayerAckException,
                           NoRouteException
Throws:
NoAckException
ChannelBusyException
NoMeshLayerAckException
NoRouteException

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.