public class RTIHostFederateAmbassador
extends hla.rti13.java1.NullFederateAmbassador
Modifier and Type | Field and Description |
---|---|
private int |
count |
(package private) RTIHostFederate |
federate |
protected double |
federateLookahead |
protected double |
federateTime |
protected boolean |
isAdvancing |
protected boolean |
isAnnounced |
protected boolean |
isConstrained |
protected boolean |
isReadyToRun |
protected boolean |
isRegulating |
private Container |
user |
Constructor and Description |
---|
RTIHostFederateAmbassador(RTIHostFederate federate) |
Modifier and Type | Method and Description |
---|---|
void |
announceSynchronizationPoint(java.lang.String label,
java.lang.String tag) |
double |
convertTime(byte[] time) |
void |
discoverObjectInstance(int theObject,
int theObjectClass,
java.lang.String objectName) |
void |
federationSynchronized(java.lang.String label) |
private void |
log(java.lang.String message) |
void |
receiveInteraction(int interactionClass,
hla.rti13.java1.ReceivedInteraction theInteraction,
byte[] theTime,
java.lang.String theTag,
hla.rti13.java1.EventRetractionHandle eventRetractionHandle) |
void |
receiveInteraction(int interactionClass,
hla.rti13.java1.ReceivedInteraction theInteraction,
java.lang.String tag) |
void |
reflectAttributeValues(int theObject,
hla.rti13.java1.ReflectedAttributes theAttributes,
byte[] theTime,
java.lang.String theTag,
hla.rti13.java1.EventRetractionHandle theHandle) |
void |
reflectAttributeValues(int theObject,
hla.rti13.java1.ReflectedAttributes theAttributes,
java.lang.String tag) |
void |
removeObjectInstance(int theObject,
byte[] theTime,
java.lang.String theTag,
hla.rti13.java1.EventRetractionHandle theHandle) |
void |
removeObjectInstance(int theObject,
java.lang.String userSuppliedTag) |
void |
synchronizationPointRegistrationFailed(java.lang.String label) |
void |
synchronizationPointRegistrationSucceeded(java.lang.String label) |
void |
timeAdvanceGrant(byte[] theTime) |
void |
timeConstrainedEnabled(byte[] theFederateTime) |
void |
timeRegulationEnabled(byte[] theFederateTime)
|
private void |
waitForAllUsers()
|
attributeIsNotOwned, attributeOwnedByRTI, attributeOwnershipAcquisitionNotification, attributeOwnershipDivestitureNotification, attributeOwnershipUnavailable, attributesInScope, attributesOutOfScope, confirmAttributeOwnershipAcquisitionCancellation, federationNotRestored, federationNotSaved, federationRestoreBegun, federationRestored, federationSaved, informAttributeOwnership, initiateFederateRestore, initiateFederateSave, provideAttributeValueUpdate, requestAttributeOwnershipAssumption, requestAttributeOwnershipRelease, requestFederationRestoreFailed, requestFederationRestoreSucceeded, requestRetraction, startRegistrationForObjectClass, stopRegistrationForObjectClass, turnInteractionsOff, turnInteractionsOn, turnUpdatesOffForObjectInstance, turnUpdatesOnForObjectInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected double federateTime
protected double federateLookahead
protected boolean isRegulating
protected boolean isConstrained
protected boolean isAdvancing
protected boolean isAnnounced
protected boolean isReadyToRun
private int count
private Container user
RTIHostFederate federate
public RTIHostFederateAmbassador(RTIHostFederate federate)
public double convertTime(byte[] time)
private void log(java.lang.String message)
public void synchronizationPointRegistrationFailed(java.lang.String label)
synchronizationPointRegistrationFailed
in interface hla.rti13.java1.FederateAmbassador
synchronizationPointRegistrationFailed
in class hla.rti13.java1.NullFederateAmbassador
public void synchronizationPointRegistrationSucceeded(java.lang.String label)
synchronizationPointRegistrationSucceeded
in interface hla.rti13.java1.FederateAmbassador
synchronizationPointRegistrationSucceeded
in class hla.rti13.java1.NullFederateAmbassador
public void announceSynchronizationPoint(java.lang.String label, java.lang.String tag)
announceSynchronizationPoint
in interface hla.rti13.java1.FederateAmbassador
announceSynchronizationPoint
in class hla.rti13.java1.NullFederateAmbassador
public void federationSynchronized(java.lang.String label)
federationSynchronized
in interface hla.rti13.java1.FederateAmbassador
federationSynchronized
in class hla.rti13.java1.NullFederateAmbassador
public void timeRegulationEnabled(byte[] theFederateTime)
timeRegulationEnabled
in interface hla.rti13.java1.FederateAmbassador
timeRegulationEnabled
in class hla.rti13.java1.NullFederateAmbassador
public void timeConstrainedEnabled(byte[] theFederateTime)
timeConstrainedEnabled
in interface hla.rti13.java1.FederateAmbassador
timeConstrainedEnabled
in class hla.rti13.java1.NullFederateAmbassador
public void timeAdvanceGrant(byte[] theTime)
timeAdvanceGrant
in interface hla.rti13.java1.FederateAmbassador
timeAdvanceGrant
in class hla.rti13.java1.NullFederateAmbassador
public void discoverObjectInstance(int theObject, int theObjectClass, java.lang.String objectName)
discoverObjectInstance
in interface hla.rti13.java1.FederateAmbassador
discoverObjectInstance
in class hla.rti13.java1.NullFederateAmbassador
public void reflectAttributeValues(int theObject, hla.rti13.java1.ReflectedAttributes theAttributes, java.lang.String tag)
reflectAttributeValues
in interface hla.rti13.java1.FederateAmbassador
reflectAttributeValues
in class hla.rti13.java1.NullFederateAmbassador
public void reflectAttributeValues(int theObject, hla.rti13.java1.ReflectedAttributes theAttributes, byte[] theTime, java.lang.String theTag, hla.rti13.java1.EventRetractionHandle theHandle)
reflectAttributeValues
in interface hla.rti13.java1.FederateAmbassador
reflectAttributeValues
in class hla.rti13.java1.NullFederateAmbassador
public void receiveInteraction(int interactionClass, hla.rti13.java1.ReceivedInteraction theInteraction, java.lang.String tag)
receiveInteraction
in interface hla.rti13.java1.FederateAmbassador
receiveInteraction
in class hla.rti13.java1.NullFederateAmbassador
public void receiveInteraction(int interactionClass, hla.rti13.java1.ReceivedInteraction theInteraction, byte[] theTime, java.lang.String theTag, hla.rti13.java1.EventRetractionHandle eventRetractionHandle)
receiveInteraction
in interface hla.rti13.java1.FederateAmbassador
receiveInteraction
in class hla.rti13.java1.NullFederateAmbassador
private void waitForAllUsers()
public void removeObjectInstance(int theObject, java.lang.String userSuppliedTag)
removeObjectInstance
in interface hla.rti13.java1.FederateAmbassador
removeObjectInstance
in class hla.rti13.java1.NullFederateAmbassador
public void removeObjectInstance(int theObject, byte[] theTime, java.lang.String theTag, hla.rti13.java1.EventRetractionHandle theHandle)
removeObjectInstance
in interface hla.rti13.java1.FederateAmbassador
removeObjectInstance
in class hla.rti13.java1.NullFederateAmbassador