hla.rti
Class SaveFailureReason

java.lang.Object
  extended byhla.rti.SaveFailureReason
All Implemented Interfaces:
java.io.Serializable

public final class SaveFailureReason
extends java.lang.Object
implements java.io.Serializable

Represents the reason for the failure of a save operation.

Author:
DMSO
See Also:
Serialized Form

Field Summary
static SaveFailureReason FEDERATE_REPORTED_FAILURE
          The federate reported a failure.
static SaveFailureReason FEDERATE_RESIGNED
          The federate has resigned from the federation.
static SaveFailureReason RTI_DETECTED_FAILURE
          The run-time infrastructure detected a failure.
static SaveFailureReason RTI_UNABLE_TO_SAVE
          The run-time infrastructure was unable to save.
static SaveFailureReason SAVE_TIME_CANNOT_BE_HONORED
          The save time cannot be honored.
 
Constructor Summary
SaveFailureReason(SaveFailureReason otherSaveFailureReason)
          Copy constructor.
 
Method Summary
 boolean equals(java.lang.Object otherSaveFailureReason)
          Compares this save failure reason for equality with another.
 int hashCode()
          Computes and returns a hash code corresponding to this save failure reason.
 java.lang.String toString()
          Returns a string representation of this save failure reason.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RTI_UNABLE_TO_SAVE

public static final SaveFailureReason RTI_UNABLE_TO_SAVE
The run-time infrastructure was unable to save.


FEDERATE_REPORTED_FAILURE

public static final SaveFailureReason FEDERATE_REPORTED_FAILURE
The federate reported a failure.


FEDERATE_RESIGNED

public static final SaveFailureReason FEDERATE_RESIGNED
The federate has resigned from the federation.


RTI_DETECTED_FAILURE

public static final SaveFailureReason RTI_DETECTED_FAILURE
The run-time infrastructure detected a failure.


SAVE_TIME_CANNOT_BE_HONORED

public static final SaveFailureReason SAVE_TIME_CANNOT_BE_HONORED
The save time cannot be honored.

Constructor Detail

SaveFailureReason

public SaveFailureReason(SaveFailureReason otherSaveFailureReason)
Copy constructor.

Parameters:
otherSaveFailureReason - the save failure reason object to copy
Method Detail

equals

public boolean equals(java.lang.Object otherSaveFailureReason)
Compares this save failure reason for equality with another.

Parameters:
otherSaveFailureReason - the other save failure reason
Returns:
true if the two save failure reasons are equal, false otherwise

hashCode

public int hashCode()
Computes and returns a hash code corresponding to this save failure reason.

Returns:
a hash code corresponding to this save failure reason

toString

public java.lang.String toString()
Returns a string representation of this save failure reason.

Returns:
a string representation of this save failure reason