| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface RouteInterface.Zrp.Iarp
IntrAzone Routing (sub)Protocol interface.
| Method Summary | |
|---|---|
|  java.util.Set | computeCoverage(NetAddress src,
                int depth)Find the set of nodes within a given distance of source. | 
|  java.util.Enumeration | getLinks(NetAddress src)Return iterator of links from given source address. | 
|  int | getNumLinks()Return number of intra-zone links. | 
|  int | getNumRoutes()Return number of intra-zone routes. | 
|  java.util.Collection | getPeripheral()Return all peripheral nodes. | 
|  NetAddress[] | getRoute(NetAddress dst)Return intra-zone route. | 
|  boolean | hasRoute(NetAddress dst)Return whether node is within zone (if IARP has route to it). | 
|  void | linkinfo(Link link,
         boolean drop)Notify IARP of link state change. | 
|  void | receive(RouteInterface.Zrp.MessageIarp msg,
        NetAddress from)Process incoming IARP packet. | 
|  void | showLinks()Display all intra-zone links known at node. | 
|  void | showRoutes()Display all intra-zone routes known at node. | 
| Methods inherited from interface jist.swans.misc.Protocol | 
|---|
| start | 
| Method Detail | 
|---|
void receive(RouteInterface.Zrp.MessageIarp msg,
             NetAddress from)
msg - iarp packetfrom - source of iarp packet
void linkinfo(Link link,
              boolean drop)
link - link that has changeddrop - whether link has failed (or been created)int getNumLinks()
java.util.Enumeration getLinks(NetAddress src)
src - link source address
boolean hasRoute(NetAddress dst)
dst - destination node
NetAddress[] getRoute(NetAddress dst)
dst - destination node
int getNumRoutes()
java.util.Collection getPeripheral()
java.util.Set computeCoverage(NetAddress src,
                              int depth)
src - source nodedepth - radius
void showLinks()
void showRoutes()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||