base.network
Class NetworkManager
java.lang.Object
java.util.Observable
base.network.NetworkManager
public class NetworkManager
- extends java.util.Observable
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkManager
public NetworkManager()
getInstance
public static NetworkManager getInstance()
getNetwork
public Network getNetwork()
- Returns:
- Returns the network.
setNetwork
public void setNetwork(Network network)
- Parameters:
network
- The network to set.
workstationKey
protected static java.lang.String workstationKey(Workstation workstation)
- This method simply builds a key string for an instance of Workstation.
- Parameters:
workstation
- The workstation from wich build the key.
- Returns:
- A key rappresentation for the workstation.
addClientWorkstation
public void addClientWorkstation(Workstation workstation)
- This method simply adds a client workstation to the network.
- Parameters:
workstation
- The client workstation to add to the network.
deleteWorkstation
public void deleteWorkstation(Workstation workstation)
- This method deletes a client workstation from the network.
- Parameters:
workstation
- The workstation to delete.
Copyright © 2006 SF.net. All Rights Reserved.