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
-
FULL_COMPLETE
- Ran a full collection of all known data from the node
-
INCOMPLETE
- Collection cycle did not complete most likely due to an exception
-
NO_CONTACT
- Collection was unable to talk to node
-
PARTIAL_COMPLETE
- Run a full collectrion but only collected info likely to change
-
status
- Final status of the collector cycle.
-
UNDETERMINED
- Can't make any determination about this cycle
-
NodeEnd(NodeAddress, int)
- Class constructor.
-
getStatus()
- Gets the final collector cycle status.
-
process(CollectorNetwork)
- Applies this update object to the network model.
-
toString()
- Returns a string describing this object.
status
private int status
- Final status of the collector cycle.
UNDETERMINED
public static final int UNDETERMINED
- Can't make any determination about this cycle
FULL_COMPLETE
public static final int FULL_COMPLETE
- Ran a full collection of all known data from the node
PARTIAL_COMPLETE
public static final int PARTIAL_COMPLETE
- Run a full collectrion but only collected info likely to change
INCOMPLETE
public static final int INCOMPLETE
- Collection cycle did not complete most likely due to an exception
NO_CONTACT
public static final int NO_CONTACT
- Collection was unable to talk to node
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
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
getStatus
public int getStatus()
- Gets the final collector cycle status.
- Returns:
- the final collector cycle status
toString
public String toString()
- Returns a string describing this object.
- Returns:
- string describing this object
- Overrides:
- toString in class Object