|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Neighbor | |
| core.events | |
| network | |
| Uses of Neighbor in core.events |
| Methods in core.events that return Neighbor | |
Neighbor |
ChannelListEvent.getChannel()
|
| Constructors in core.events with parameters of type Neighbor | |
ChannelListEvent(java.lang.Object source,
java.lang.String virtualAddress,
Neighbor channel)
|
|
| Uses of Neighbor in network |
| Methods in network that return Neighbor | |
Neighbor |
ChannelList.getChannel(Neighbor fromNeighbor)
Returns a random neighbor in the ChannelList. |
| Methods in network with parameters of type Neighbor | |
void |
ChannelList.add(Neighbor neighbor)
Add a reference of neighbor as one of the channels. |
Neighbor |
ChannelList.getChannel(Neighbor fromNeighbor)
Returns a random neighbor in the ChannelList. |
void |
ChannelList.fireChannelRemoved(java.lang.String virtualAddress,
Neighbor removedNeighbor)
|
void |
ChannelList.fireChannelAdded(java.lang.String virtualAddress,
Neighbor addedNeighbor)
|
void |
ChannelList.fireSetChannelRemoved(java.lang.String virtualAddress,
Neighbor addedNeighbor)
|
void |
ChannelList.fireSetChannelAdded(java.lang.String virtualAddress,
Neighbor addedNeighbor)
|
void |
Network.addRoute(java.lang.String fromVirtualAddress,
Neighbor neighbor)
|
void |
Network.removeNeighbor(Neighbor neighbor,
java.lang.String caller)
Remove the neighbor with the given address from the list of neighbors. |
void |
Network.sendPacket(XMLPacket packet,
Neighbor fromNeighbor)
Send the Packet. |
void |
Network.broadcast(Packet packet,
Neighbor fromNeighbor)
Broadcasts packet to all neighbors. |
void |
Network.sendPacketToNeighbor(Packet packet,
Neighbor neighbor)
|
void |
Network.sendIPs(Neighbor neighbor,
int numRequested)
Send the IPs of our neighbors to the requesting neighbor |
void |
RoutingTable.addRoute(java.lang.String fromVirtualAddress,
Neighbor neighbor)
Add a route to the routing table, call this when a packet is received. |
boolean |
RoutingTable.sendPacket(XMLPacket packet,
Neighbor fromNeighbor)
Routes the given packet. |
| Constructors in network with parameters of type Neighbor | |
ChannelList(Neighbor neighbor,
java.lang.String virtualAddress,
java.util.Vector channelListeners)
Constructs a ChannelList with one neighbor and a display |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||