SunSPOT API V3.0


com.sun.spot.peripheral
Interface IRadioControl

All Known Subinterfaces:
RadioConnection, RadiogramConnection, RadiostreamConnection
All Known Implementing Classes:
Protocol, RadiogramConnImpl, RadioInputStream, RadioInputStream, RadioOutputStream, 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 V3.0


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