public class HlaTimedEvent extends TimedEvent
This class extends the TimedEvent class to add specific information
relative to HLA "events" received from HLA/CERTI.
The objectInstanceID parameter give information on who
is responsible of an UAV (Update Attribute Value). An UAV is an update
value of a HLA attribute which belongs to a HLA class instance.
See the HlaSubscriber
for its usage and more information.
TimedEvent.TimeComparator
contents, timeStamp
Constructor and Description |
---|
HlaTimedEvent(Time time,
java.lang.Object obj,
int hlaObjectInstanceId)
Constructs a HLA event with the specified time stamp, contents
and HLA object instance ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object hlaTimedEvent)
Check if two HlaTimedEvent objects are equals.
|
int |
getHlaObjectInstanceId()
Return the HLA object instance ID value.
|
compareTo, hashCode, toString
public HlaTimedEvent(Time time, java.lang.Object obj, int hlaObjectInstanceId)
time
- The time stamp.obj
- The contents.hlaObjectInstanceId
- The HLA object instance ID.public int getHlaObjectInstanceId()
public boolean equals(java.lang.Object hlaTimedEvent)
equals
in class TimedEvent
hlaTimedEvent
- A HlaTimedEvent object.