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

Variable Index

 o altDescr
Freefor text describing the node when address masking is in effect
 o description
Freeform text describing the node
 o password
Node's data collection password
 o type
Type of node

Constructor Index

 o NodeDescription(NodeAddress, String, String, String, int)
Class constructor.

Method Index

 o getAltDescr()
Get the node's alternate description
 o getDescription()
Gets the node's description
 o getPassword()
Gets the node's password
 o getType()
Gets the node's type
 o process(CollectorNetwork)
Applies this update object to the network model.
 o toString()
Returns a string describing this object.

Variables

 o type
 private int type
Type of node

See Also:
ATMNode
 o description
 private String description
Freeform text describing the node

 o altDescr
 private String altDescr
Freefor text describing the node when address masking is in effect

 o password
 private String password
Node's data collection password

Constructors

 o 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

Methods

 o 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
 o getType
 public int getType()
Gets the node's type

Returns:
the node's type
 o getDescription
 public String getDescription()
Gets the node's description

Returns:
the node's description
 o getAltDescr
 public String getAltDescr()
Get the node's alternate description

Returns:
the node's alternate description
 o getPassword
 public String getPassword()
Gets the node's password

Returns:
the node's password
 o toString
 public String toString()
Returns a string describing this object.

Returns:
string describing this object
Overrides:
toString in class Object