SunSPOT API V5.0


com.sun.spot.peripheral
Interface IRadioControl

All Known Subinterfaces:
RadioConnection, RadiogramConnection, RadiostreamConnection
All Known Implementing Classes:
Protocol, RadiogramConnImpl, RadioInputStream, RadioOutputStream

public interface IRadioControl


Method Summary
 byte getLocalPort()
          Answer the port number for this connection
 void setRadioPolicy(RadioPolicy selection)
          Set the radio policy for this connection
 

Method Detail

setRadioPolicy

void setRadioPolicy(RadioPolicy selection)
Set the radio policy for this connection

Parameters:
selection - the policy required

getLocalPort

byte getLocalPort()
Answer the port number for this connection

Returns:
the port number

SunSPOT API V5.0


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