|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAntResponsePair
public class AntResponsePair
Used by the Responder in order to reply to Ants' requests about the network's structure.
Field Summary | |
---|---|
boolean |
killAnt
|
java.util.Vector |
listOfLocations
|
Constructor Summary | |
---|---|
AntResponsePair(boolean killAnt,
java.util.Vector NeighborsOfCurrentNode)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean killAnt
public java.util.Vector listOfLocations
Constructor Detail |
---|
public AntResponsePair(boolean killAnt, java.util.Vector NeighborsOfCurrentNode)
killAnt
- Set to true in order to kill the Ant.NeighborsOfCurrentNode
- Set empty if
the Ant was not allowed to ask this query. Otherwise
there should be at least one Location and not more than four.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |