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
-
ListBindsNet(NetLayout)
-
-
destroy()
- Destructor, needed to clean up the observables
-
getHostNodes()
- Gets the Nodes in the network that have servers binded
-
getServers(NodeId)
- Gets the name of the servers binded to an specific Node
-
update(Observable, Object)
- Observable method
ListBindsNet
public ListBindsNet(NetLayout net)
- Parameters:
- net - The NetLayout to manage
destroy
public synchronized void destroy()
- Destructor, needed to clean up the observables
getHostNodes
public Enumeration getHostNodes()
- Gets the Nodes in the network that have servers binded
- Returns:
- the identities of the nodes with servers binded
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
update
public synchronized void update(Observable obs,
Object o)
- Observable method
All Packages Class Hierarchy This Package Previous Next Index