|
||||||||||
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.BezierRouting
NWU routing entity interface. |
static interface |
RouteInterface.Dsr
DSR routing entity interface. |
static interface |
RouteInterface.ECGRIDRouting
NWU routing entity interface. |
static interface |
RouteInterface.GenericRouting
NWU routing entity interface. |
static interface |
RouteInterface.HeartbeatProtocol
NWU routing entity interface. |
static interface |
RouteInterface.MultiTreeRouting
NWU routing entity interface. |
static interface |
RouteInterface.RandomPathRouting
NWU routing entity interface. |
static interface |
RouteInterface.ShortestPathRouting
NWU 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 |
---|
dropNotify, receive |
Method Detail |
---|
void peek(NetMessage msg, MacAddress lastHop)
msg
- incoming packetlastHop
- last link-level hop of incoming packetvoid send(NetMessage msg)
send
in interface NetInterface.NetHandler
msg
- outgoing packet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |