SunSPOT API V3.0


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

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

public class ProxyRadiogramProtocolManager
extends ProxyRadioProtocolManager
implements IRadiogramProtocolManager


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.IRadiogramProtocolManager
BROADCAST, DATA_OFFSET, SERVER
 
Fields inherited from interface com.sun.spot.peripheral.radio.IRadioProtocolManager
FIRST_USER_PORT, INPUT, OUTPUT, PORT_OFFSET
 
Constructor Summary
ProxyRadiogramProtocolManager(byte protocolNum, String name)
           
 
Method Summary
 ConnectionID addBroadcastConnection(byte portNo)
          Register a broadcast connection
 ConnectionID addServerConnection(byte portNo)
          Register a server connection
 
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

ProxyRadiogramProtocolManager

public ProxyRadiogramProtocolManager(byte protocolNum,
                                     String name)
Method Detail

addServerConnection

public ConnectionID addServerConnection(byte portNo)
Description copied from interface: IRadiogramProtocolManager
Register a server connection

Specified by:
addServerConnection in interface IRadiogramProtocolManager
Parameters:
portNo - - port number to communicate over
Returns:
resultant ConnectionID

addBroadcastConnection

public ConnectionID addBroadcastConnection(byte portNo)
Description copied from interface: IRadiogramProtocolManager
Register a broadcast connection

Specified by:
addBroadcastConnection in interface IRadiogramProtocolManager
Parameters:
portNo - - port number to communicate over
Returns:
resultant ConnectionID

SunSPOT API V3.0


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