| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjist.swans.route.RouteZrpIerp
public class RouteZrpIerp
Zone Routing Protocol: IntErzone Routing (sub)Protocol: Default implementation.
| Nested Class Summary | |
|---|---|
| static class | RouteZrpIerp.MessageQueueQueue of message waiting for route replies. | 
| Field Summary | |
|---|---|
| static org.apache.log4j.Logger | logIERPlogger for IERP events. | 
| static long | QUEUE_LIFETIMEpacket queue expiration. | 
| static long | QUEUE_REFRESHpacket queue refresh timer (check for expiration). | 
| Constructor Summary | |
|---|---|
| RouteZrpIerp(RouteZrp zrp)Create new "default" IERP (ZRP sub-protocol) handler. | |
| RouteZrpIerp(RouteZrp zrp,
             java.lang.String config)Create new "default" IERP (ZRP sub-protocol) handler. | |
| Method Summary | |
|---|---|
|  void | receive(RouteInterface.Zrp.MessageIerp msg)Process incoming IERP packet. | 
|  void | send(NetMessage.Ip ip)Route and send given network message. | 
|  void | start()Start running protocol. | 
|  void | timeout()Timer expiration processing. | 
|  void | zoneChanged()Process IARP signal to IERP that zone information has changed. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final org.apache.log4j.Logger logIERP
public static final long QUEUE_LIFETIME
public static final long QUEUE_REFRESH
| Constructor Detail | 
|---|
public RouteZrpIerp(RouteZrp zrp)
zrp - object reference to zrp routing framework
public RouteZrpIerp(RouteZrp zrp,
                    java.lang.String config)
zrp - object reference to zrp routing frameworkconfig - configuration string| Method Detail | 
|---|
public void start()
start in interface Protocolpublic void zoneChanged()
zoneChanged in interface RouteInterface.Zrp.Ierppublic void receive(RouteInterface.Zrp.MessageIerp msg)
receive in interface RouteInterface.Zrp.Ierpmsg - ierp packetpublic void send(NetMessage.Ip ip)
send in interface RouteInterface.Zrp.Ierpip - network message to route and sendpublic void timeout()
timeout in interface Timer| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||