|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RouteInterface
Defines the interface of all Routing implementations and the Route entity.
| Nested Class Summary | |
|---|---|
static interface |
RouteInterface.Aodv
AODV routing entity interface. |
static interface |
RouteInterface.Dsr
DSR routing entity interface. |
static interface |
RouteInterface.Zrp
ZRP routing entity interface. |
| Method Summary | |
|---|---|
void |
peek(NetMessage msg,
MacAddress lastHop)
Called by the network layer for every incoming packet. |
void |
send(NetMessage msg)
Called by the network layer to request transmission of a packet that requires routing. |
| Methods inherited from interface jist.swans.net.NetInterface.NetHandler |
|---|
receive |
| Method Detail |
|---|
void peek(NetMessage msg,
MacAddress lastHop)
msg - incoming packetlastHop - last link-level hop of incoming packetvoid send(NetMessage msg)
msg - outgoing packet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||