|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.swans.route.RouteZrpIerp.MessageQueue
public static class RouteZrpIerp.MessageQueue
Queue of message waiting for route replies.
| Field Summary | |
|---|---|
private java.util.List |
list
internal list of messages. |
| Constructor Summary | |
|---|---|
RouteZrpIerp.MessageQueue()
Create new, empty message queue. |
|
| Method Summary | |
|---|---|
void |
add(NetMessage.Ip msg)
Add message to queue. |
void |
flush()
Flush all expired packets. |
void |
sendAll(NetAddress dst,
RouteZrp zrp,
NetAddress[] route)
Send off all messages destined for a certain address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.List list
| Constructor Detail |
|---|
public RouteZrpIerp.MessageQueue()
| Method Detail |
|---|
public void add(NetMessage.Ip msg)
msg - outgoing message
public void sendAll(NetAddress dst,
RouteZrp zrp,
NetAddress[] route)
dst - destination addresszrp - zrp referenceroute - route to destinationpublic void flush()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||