|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the RadioAir
. An implementation of this interface should provide the policies
through which radio transmission is handled. Radios should transmit via the transmit method. The air should
deliver packets to the radio through the receive() method in the Radio
interface.
Method Summary | |
void |
addRadio(Radio r)
Add a radio to the environment. |
void |
removeRadio(Radio r)
Remove a radio from the environment. |
int |
sampleRSSI(Radio r)
|
void |
transmit(Radio r,
Radio.RadioPacket f)
Transmits frame f into the radio environment. |
Method Detail |
public void addRadio(Radio r)
public void removeRadio(Radio r)
public void transmit(Radio r, Radio.RadioPacket f)
f
into the radio environment.
public int sampleRSSI(Radio r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |