|
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.MulticastNeighborhood
A MulticastNeighborhood is a Neighborhood that sends a single capsule to all of its neighbors.
Fields inherited from class bees.core.Neighborhood |
ce, neighbors, node |
Constructor Summary | |
MulticastNeighborhood()
Construct an empty MulticastNeighborhood. |
Method Summary | |
void |
send(Capsule cap)
Send a capsule to all members of this Neighborhood. |
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 MulticastNeighborhood()
Method Detail |
public void send(Capsule cap) throws EncodingException
send
in class Neighborhood
cap
- The Capsule to send.EncodingException
- if there is a problem encoding the given
Capsule.public java.lang.String toString()
toString
in class Neighborhood
Object.toString()
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |