|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--bees.core.Neighborhood
|
+--bees.core.RedundantNeighborhood
A RedundantNeighborhood is a Neighborhood that attempts to send a single Capsule through one of its neighbors.
| Fields inherited from class bees.core.Neighborhood |
ce, neighbors, node |
| Constructor Summary | |
RedundantNeighborhood()
Construct an empty RedundantNeighborhood. |
|
| Method Summary | |
void |
send(Capsule cap)
Attempt to send a capsule to one of the member neighbors. |
java.lang.String |
toString()
|
| Methods inherited from class bees.core.Neighborhood |
addNeighbor, elements, handleRevokedNeighbor, handleSendException, handleSendException, removeNeighbor, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RedundantNeighborhood()
| Method Detail |
public void send(Capsule cap)
throws EncodingException,
java.io.IOException
send in class Neighborhoodcap - The Capsule to send.EncodingException - if there is a problem encoding the given
Capsule.java.io.IOException - if there are no reachable neighbors.public java.lang.String toString()
toString in class NeighborhoodObject.toString()
|
Bees v0.5.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||