hla.rti1516
Class SynchronizationPointFailureReason
java.lang.Object
hla.rti1516.SynchronizationPointFailureReason
- All Implemented Interfaces:
- java.io.Serializable
public final class SynchronizationPointFailureReason
- extends java.lang.Object
- implements java.io.Serializable
An enumerated type (not a Java Enumeration!)
- See Also:
FederateAmbassador.synchronizationPointRegistrationFailed(java.lang.String, hla.rti1516.SynchronizationPointFailureReason),
Serialized Form
|
Method Summary |
boolean |
equals(java.lang.Object otherReason)
Allows comparison with other instance of same type. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE
public static final SynchronizationPointFailureReason SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE
SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
public static final SynchronizationPointFailureReason SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
SynchronizationPointFailureReason
public SynchronizationPointFailureReason(SynchronizationPointFailureReason otherReason)
- This is the only public constructor. Each user-defined instance of a
SynchronizationPointFailureReason must be initialized with one of the
defined static values.
- Parameters:
otherReason - must be a defined static value or another instance.
SynchronizationPointFailureReason
SynchronizationPointFailureReason(int value)
throws RTIinternalError
- Throws:
RTIinternalError
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- String with value "SynchronizationPointFailureReason(n)" where n
is value
equals
public boolean equals(java.lang.Object otherReason)
- Allows comparison with other instance of same type.
- Overrides:
equals in class java.lang.Object
- Returns:
- true if supplied object is of type
SynchronizationPointFailureReason and has same value; false
otherwise
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object