Bees v0.5.0 API

apps.discovery
Class BroadcastNeighbor

java.lang.Object
  |
  +--bees.core.Neighbor
        |
        +--apps.discovery.BroadcastNeighbor

public class BroadcastNeighbor
extends Neighbor

A Neighbor subclass that tracks the advertised material received from this neighbor and the set of advertisement capsule to send through this neighbor.


Constructor Summary
BroadcastNeighbor(NeighborImpl ni)
          Construct a BroadcastNeighbor with the given values.
 
Method Summary
 CapsuleGroup getAdvertisements()
           
 java.lang.String toString()
           
 
Methods inherited from class bees.core.Neighbor
attachReceivers, dequeueKey, detachReceivers, enqueueKey, enqueueKey, getNeighborImpl, send, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BroadcastNeighbor

public BroadcastNeighbor(NeighborImpl ni)
Construct a BroadcastNeighbor with the given values.
Parameters:
ni - The neighbor implementation.
Method Detail

getAdvertisements

public CapsuleGroup getAdvertisements()
Returns:
A CapsuleGroup containing all of the local advertisements.

toString

public java.lang.String toString()
Overrides:
toString in class Neighbor
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/