All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.ListBindsNet

java.lang.Object
   |
   +----vnet.ListBindsNet

public class ListBindsNet
extends Object
implements Observer
Class to manage the BindEvents on a net. It stores all the nodes and servers in the net.

Version:
0.1, august-1997
Author:
LuisM Pena

Constructor Index

 o ListBindsNet(NetLayout)

Method Index

 o destroy()
Destructor, needed to clean up the observables
 o getHostNodes()
Gets the Nodes in the network that have servers binded
 o getServers(NodeId)
Gets the name of the servers binded to an specific Node
 o update(Observable, Object)
Observable method

Constructors

 o ListBindsNet
 public ListBindsNet(NetLayout net)
Parameters:
net - The NetLayout to manage

Methods

 o destroy
 public synchronized void destroy()
Destructor, needed to clean up the observables

 o getHostNodes
 public Enumeration getHostNodes()
Gets the Nodes in the network that have servers binded

Returns:
the identities of the nodes with servers binded
 o getServers
 public Enumeration getServers(NodeId node)
Gets the name of the servers binded to an specific Node

Parameters:
node - the identity of the node to study
Returns:
an enumeration of the names of the servers binded
 o update
 public synchronized void update(Observable obs,
                                 Object o)
Observable method


All Packages  Class Hierarchy  This Package  Previous  Next  Index