|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.route.RouteZrpBrp.QueryCoverageEntry
public static class RouteZrpBrp.QueryCoverageEntry
BRP query entry.
Field Summary | |
---|---|
private java.util.Vector |
from
list of sender broadcasters. |
private boolean |
processed
whether node has already processed query. |
private boolean |
target
whether node is target for this query. |
long |
time
entry insertion time. |
Constructor Summary | |
---|---|
RouteZrpBrp.QueryCoverageEntry(boolean target)
Create new, empty query coverage entry. |
Method Summary | |
---|---|
void |
addFrom(NetAddress from)
Add source to query coverage. |
void |
forwarded()
Set the local query processing bit. |
java.util.Vector |
getFrom()
Return query sources. |
boolean |
isForwarded()
Whether query was already processed locally. |
boolean |
isProcessed()
Return whether node has already processed query. |
boolean |
isTarget()
Return whether node was targetted by query. |
void |
processed()
Set processed flag of query coverage entry. |
void |
setTarget()
Set target flag of query coverage entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Vector from
public final long time
private boolean target
private boolean processed
Constructor Detail |
---|
public RouteZrpBrp.QueryCoverageEntry(boolean target)
target
- whether node was target of query broadcastMethod Detail |
---|
public void addFrom(NetAddress from)
from
- source of bordercastpublic java.util.Vector getFrom()
public boolean isForwarded()
public void forwarded()
public boolean isProcessed()
public void processed()
public boolean isTarget()
public void setTarget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |