Class NodeEnd

java.lang.Object
   |
   +----CollectorUpdate
           |
           +----NodeEnd

public class NodeEnd
extends CollectorUpdate
Class defining the end of a collector cycle for a specific node.

Version:
$Revision: 1.10 $, $Date: 2000/10/12 14:09:51 $
Author:
Mike Spengler, Joseph Thomas

Variable Index

 o FULL_COMPLETE
Ran a full collection of all known data from the node
 o INCOMPLETE
Collection cycle did not complete most likely due to an exception
 o NO_CONTACT
Collection was unable to talk to node
 o PARTIAL_COMPLETE
Run a full collectrion but only collected info likely to change
 o status
Final status of the collector cycle.
 o UNDETERMINED
Can't make any determination about this cycle

Constructor Index

 o NodeEnd(NodeAddress, int)
Class constructor.

Method Index

 o getStatus()
Gets the final collector cycle status.
 o process(CollectorNetwork)
Applies this update object to the network model.
 o toString()
Returns a string describing this object.

Variables

 o status
 private int status
Final status of the collector cycle.

 o UNDETERMINED
 public static final int UNDETERMINED
Can't make any determination about this cycle

 o FULL_COMPLETE
 public static final int FULL_COMPLETE
Ran a full collection of all known data from the node

 o PARTIAL_COMPLETE
 public static final int PARTIAL_COMPLETE
Run a full collectrion but only collected info likely to change

 o INCOMPLETE
 public static final int INCOMPLETE
Collection cycle did not complete most likely due to an exception

 o NO_CONTACT
 public static final int NO_CONTACT
Collection was unable to talk to node

Constructors

 o NodeEnd
 public NodeEnd(NodeAddress addr,
                int stat)
Class constructor.

Parameters:
addr - the address of the node from which the data for this update was obtained
stat - the final collector status

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 getStatus
 public int getStatus()
Gets the final collector cycle status.

Returns:
the final collector cycle status
 o toString
 public String toString()
Returns a string describing this object.

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