Class Network
java.lang.Object
|
+----CollectorUpdate
|
+----Network
- public class Network
- extends CollectorUpdate
Class defining the collector network.
- Version:
- $Revision: 1.5 $, $Date: 2000/10/12 14:09:50 $
- Author:
- Mike Spengler, Joseph Thomas
-
name
- Network name
-
Network(String)
- Class constructor.
-
getName()
- Gets the interface name
-
process(CollectorNetwork)
- Applies this update object to the network model.
-
toString()
- Returns a string describing this object.
name
private String name
- Network name
Network
public Network(String name)
- Class constructor.
- Parameters:
- name - the network name
process
public void process(CollectorNetwork net)
- Applies this update object to the network model.
- Parameters:
- net - the network which this object updates
- Overrides:
- process in class CollectorUpdate
getName
public String getName()
- Gets the interface name
- Returns:
- the interface name
toString
public String toString()
- Returns a string describing this object.
- Returns:
- string describing this object
- Overrides:
- toString in class Object