Class NodeDescription
java.lang.Object
|
+----CollectorUpdate
|
+----NodeDescription
- public class NodeDescription
- extends CollectorUpdate
Class defining the collector's description of a node.
- Version:
- $Revision: 1.10 $, $Date: 2000/10/31 20:32:03 $
- Author:
- Mike Spengler, Joseph Thomas
-
altDescr
- Freefor text describing the node when address masking is in effect
-
description
- Freeform text describing the node
-
password
- Node's data collection password
-
type
- Type of node
-
NodeDescription(NodeAddress, String, String, String, int)
- Class constructor.
-
getAltDescr()
- Get the node's alternate description
-
getDescription()
- Gets the node's description
-
getPassword()
- Gets the node's password
-
getType()
- Gets the node's type
-
process(CollectorNetwork)
- Applies this update object to the network model.
-
toString()
- Returns a string describing this object.
type
private int type
- Type of node
- See Also:
- ATMNode
description
private String description
- Freeform text describing the node
altDescr
private String altDescr
- Freefor text describing the node when address masking is in effect
password
private String password
- Node's data collection password
NodeDescription
public NodeDescription(NodeAddress addr,
String description,
String altDescr,
String password,
int type)
- Class constructor.
- Parameters:
- addr - the address of the node from which the data
for this update was obtained
- description - the node's system description
- altDescr - the node's altername description
- password - the node's collection password
- type - the node's type
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
getType
public int getType()
- Gets the node's type
- Returns:
- the node's type
getDescription
public String getDescription()
- Gets the node's description
- Returns:
- the node's description
getAltDescr
public String getAltDescr()
- Get the node's alternate description
- Returns:
- the node's alternate description
getPassword
public String getPassword()
- Gets the node's password
- Returns:
- the node's password
toString
public String toString()
- Returns a string describing this object.
- Returns:
- string describing this object
- Overrides:
- toString in class Object