avrora.sim.radio
Interface Radio.RadioProbe
- All Known Implementing Classes:
- Radio.RadioProbe.Empty
- Enclosing interface:
- Radio
- public static interface Radio.RadioProbe
The RadioProbe
interface encapsulates the idea of a probe inserted on a radio
that is notified when changes in the state of the radio occur and when packets are sent and received
from this radio.
fireAtPowerChange
public void fireAtPowerChange(Radio r,
int newPower)
fireAtFrequencyChange
public void fireAtFrequencyChange(Radio r,
double freq)
fireAtBitRateChange
public void fireAtBitRateChange(Radio r,
int newbitrate)
fireAtTransmit
public void fireAtTransmit(Radio r,
Radio.Transmission p)
fireAtReceive
public void fireAtReceive(Radio r,
Radio.Transmission p)