- receive() - Method in class rf.RF
-
This method blocks until an RF packet arrives, then returns its contents as a byte
array.
- recv(Transmission) - Method in interface wifi.Dot11Interface
-
This function blocks until data arrives, at which point it writes the incoming data and
address information into the Transmission instance passed as argument (respecting the size
of the byte array in the Transmission) and returns the number of bytes received.
- recv(Transmission) - Method in class wifi.LinkLayer
-
Recv method blocks until data arrives, then writes it an address info into
the Transmission object.
- rf - package rf
-
- RF - Class in rf
-
The RF class models a broadcast-based wireless system, but does so on a
traditional network by exchanging UDP packets.
- RF(PrintWriter, String) - Constructor for class rf.RF
-
The constructor initializes the simulated RF transceiver and prepares it for
use.
- run() - Method in class rf.RF
-
Starts executing the RF thread, which watches for incoming RF packets and queues
them for delivery.
- run() - Method in class wifi.WiFiClient
-
The run method should be executed by the event-dispatching thread.