|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MacInterface
Defines the interface of all Link layer entity implementations.
Nested Class Summary | |
---|---|
static interface |
MacInterface.Mac802_11
Extends the default Mac interface with 802_11 functions. |
Method Summary | |
---|---|
void |
peek(Message msg)
Radio has locked onto a packet signal; mac may have a peek. |
void |
receive(Message msg)
Radio has received a packet for mac to process. |
void |
send(Message msg,
MacAddress nextHop)
Network layer would like to send the following packet. |
void |
setRadioMode(byte mode)
Update mac regarding new mode of its radio. |
Method Detail |
---|
void setRadioMode(byte mode)
mode
- new radio modevoid peek(Message msg)
msg
- packet currently in flightvoid receive(Message msg)
msg
- packet receivedvoid send(Message msg, MacAddress nextHop)
msg
- packet to sendnextHop
- destination mac
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |