SunSPOT API V3.0


com.sun.spot.peripheral.radio.proxy
Class ProxyRadiostreamProtocolManager

java.lang.Object
  extended by com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
      extended by com.sun.spot.peripheral.radio.proxy.ProxyRadiostreamProtocolManager
All Implemented Interfaces:
IRadioProtocolManager, IRadiostreamProtocolManager

public class ProxyRadiostreamProtocolManager
extends ProxyRadioProtocolManager
implements IRadiostreamProtocolManager


Field Summary
static String CHANNEL_IDENTIFIER
           
 
Fields inherited from class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
requestSender
 
Fields inherited from interface com.sun.spot.peripheral.radio.IRadiostreamProtocolManager
CTRL_OFFSET, DATA_OFFSET, SEQ_OFFSET
 
Fields inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager
FIRST_USER_PORT, INPUT, OUTPUT, PORT_OFFSET
 
Constructor Summary
ProxyRadiostreamProtocolManager(byte protocolNum, String name)
           
 
Method Summary
 ConnectionID addBroadcastConnection(byte portNo)
           
 ConnectionID addServerConnection(byte portNo)
           
 void waitForAllAcks(ConnectionID outConnectionId)
           
 
Methods inherited from class com.sun.spot.peripheral.radio.proxy.ProxyRadioProtocolManager
addInputConnection, addOutputConnection, closeConnection, packetsAvailable, receivePacket, receivePacket, send
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager
addInputConnection, addOutputConnection, closeConnection, packetsAvailable, receivePacket, receivePacket, send
 

Field Detail

CHANNEL_IDENTIFIER

public static final String CHANNEL_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

ProxyRadiostreamProtocolManager

public ProxyRadiostreamProtocolManager(byte protocolNum,
                                       String name)
Method Detail

waitForAllAcks

public void waitForAllAcks(ConnectionID outConnectionId)
                    throws NoAckException,
                           ChannelBusyException,
                           NoMeshLayerAckException,
                           NoRouteException
Specified by:
waitForAllAcks in interface IRadiostreamProtocolManager
Throws:
NoAckException
ChannelBusyException
NoMeshLayerAckException
NoRouteException

addServerConnection

public ConnectionID addServerConnection(byte portNo)

addBroadcastConnection

public ConnectionID addBroadcastConnection(byte portNo)

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.