org.eodisp.wrapper.hla
Class FederateAmbassadorDelegator

java.lang.Object
  extended by org.eodisp.wrapper.hla.FederateAmbassadorDelegator
All Implemented Interfaces:
hla.rti1516.FederateAmbassador

@ThreadSafe
public class FederateAmbassadorDelegator
extends java.lang.Object
implements hla.rti1516.FederateAmbassador

This class can be used to delegate federate ambassador callbacks to more than one FederateAmbassador implementations. Use the registerDelegate(FederateAmbassador) method to register a new federate ambassador that shall receive the callbacks. The callbacks on the registered federate ambassadors are done in the order they were registered.

After this class has been instantiated it is not beginning to delegate callbacks immediately but queues all callbacks. Only after the startProcessing() method has been called it begins to process the callbacks.

Version:
$Id:$
Author:
ibirrer

Constructor Summary
FederateAmbassadorDelegator()
           
 
Method Summary
 void announceSynchronizationPoint(java.lang.String synchronizationPointLabel, byte[] userSuppliedTag)
           
 void attributeIsNotOwned(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandle theAttribute)
           
 void attributeIsOwnedByRTI(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandle theAttribute)
           
 void attributeOwnershipAcquisitionNotification(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet securedAttributes, byte[] userSuppliedTag)
           
 void attributeOwnershipUnavailable(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 void attributesInScope(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 void attributesOutOfScope(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 void confirmAttributeOwnershipAcquisitionCancellation(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 void discoverObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.ObjectClassHandle theObjectClass, java.lang.String objectName)
           
 void federationNotRestored(hla.rti1516.RestoreFailureReason reason)
           
 void federationNotSaved(hla.rti1516.SaveFailureReason reason)
           
 void federationRestoreBegun()
           
 void federationRestored()
           
 void federationRestoreStatusResponse(hla.rti1516.FederateHandleRestoreStatusPair[] response)
           
 void federationSaved()
           
 void federationSaveStatusResponse(hla.rti1516.FederateHandleSaveStatusPair[] response)
           
 void federationSynchronized(java.lang.String synchronizationPointLabel)
           
 void informAttributeOwnership(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandle theAttribute, hla.rti1516.FederateHandle theOwner)
           
 void initiateFederateRestore(java.lang.String label, hla.rti1516.FederateHandle federateHandle)
           
 void initiateFederateSave(java.lang.String label)
           
 void initiateFederateSave(java.lang.String label, hla.rti1516.LogicalTime time)
           
 void objectInstanceNameReservationFailed(java.lang.String objectName)
           
 void objectInstanceNameReservationSucceeded(java.lang.String objectName)
           
 void provideAttributeValueUpdate(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes, byte[] userSuppliedTag)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.MessageRetractionHandle messageRetractionHandle)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.MessageRetractionHandle messageRetractionHandle, hla.rti1516.RegionHandleSet sentRegions)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.RegionHandleSet regions)
           
 void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass, hla.rti1516.ParameterHandleValueMap theParameters, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.RegionHandleSet sentRegions)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.MessageRetractionHandle retractionHandle)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.MessageRetractionHandle retractionHandle, hla.rti1516.RegionHandleSet sentRegions)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.RegionHandleSet sentRegions)
           
 void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleValueMap theAttributes, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.TransportationType theTransport, hla.rti1516.RegionHandleSet sentRegions)
           
 boolean registerDelegate(hla.rti1516.FederateAmbassador delegate)
          Adds the given federate ambassador instance to the list of delegates.
 void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering)
           
 void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering)
           
 void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, byte[] userSuppliedTag, hla.rti1516.OrderType sentOrdering, hla.rti1516.LogicalTime theTime, hla.rti1516.OrderType receivedOrdering, hla.rti1516.MessageRetractionHandle retractionHandle)
           
 void requestAttributeOwnershipAssumption(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet offeredAttributes, byte[] userSuppliedTag)
           
 void requestAttributeOwnershipRelease(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet candidateAttributes, byte[] userSuppliedTag)
           
 void requestDivestitureConfirmation(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet offeredAttributes)
           
 void requestFederationRestoreFailed(java.lang.String label)
           
 void requestFederationRestoreSucceeded(java.lang.String label)
           
 void requestRetraction(hla.rti1516.MessageRetractionHandle theHandle)
           
 void startProcessing()
          Before this method is called, any federate ambassador callbacks will be queued.
 void startRegistrationForObjectClass(hla.rti1516.ObjectClassHandle theClass)
           
 void stopRegistrationForObjectClass(hla.rti1516.ObjectClassHandle theClass)
           
 void synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel, hla.rti1516.SynchronizationPointFailureReason reason)
           
 void synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
           
 void timeAdvanceGrant(hla.rti1516.LogicalTime theTime)
           
 void timeConstrainedEnabled(hla.rti1516.LogicalTime time)
           
 void timeRegulationEnabled(hla.rti1516.LogicalTime time)
           
 void turnInteractionsOff(hla.rti1516.InteractionClassHandle theHandle)
           
 void turnInteractionsOn(hla.rti1516.InteractionClassHandle theHandle)
           
 void turnUpdatesOffForObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 void turnUpdatesOnForObjectInstance(hla.rti1516.ObjectInstanceHandle theObject, hla.rti1516.AttributeHandleSet theAttributes)
           
 boolean unregisterDelegate(hla.rti1516.FederateAmbassador delegate)
          Removes the given federate ambassador instance of the list of delegates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FederateAmbassadorDelegator

public FederateAmbassadorDelegator()
Method Detail

startProcessing

public void startProcessing()
Before this method is called, any federate ambassador callbacks will be queued. Just after this method is called the callbacks are being processed. It is not possible to stop/queue the processing again. if the method is called twice then nothing happens on the second call.


registerDelegate

public boolean registerDelegate(hla.rti1516.FederateAmbassador delegate)
Adds the given federate ambassador instance to the list of delegates. Adding the same instance twice is not allowed and this method returns false in this case.

Parameters:
delegate - the federate ambassador
Returns:
true if added

unregisterDelegate

public boolean unregisterDelegate(hla.rti1516.FederateAmbassador delegate)
Removes the given federate ambassador instance of the list of delegates.

Parameters:
delegate - the federate ambassador
Returns:
true if the list contained the specified element.

announceSynchronizationPoint

public void announceSynchronizationPoint(java.lang.String synchronizationPointLabel,
                                         byte[] userSuppliedTag)
                                  throws hla.rti1516.FederateInternalError
Specified by:
announceSynchronizationPoint in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

attributeIsNotOwned

public void attributeIsNotOwned(hla.rti1516.ObjectInstanceHandle theObject,
                                hla.rti1516.AttributeHandle theAttribute)
                         throws hla.rti1516.ObjectInstanceNotKnown,
                                hla.rti1516.AttributeNotRecognized,
                                hla.rti1516.FederateInternalError
Specified by:
attributeIsNotOwned in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.FederateInternalError

attributeIsOwnedByRTI

public void attributeIsOwnedByRTI(hla.rti1516.ObjectInstanceHandle theObject,
                                  hla.rti1516.AttributeHandle theAttribute)
                           throws hla.rti1516.ObjectInstanceNotKnown,
                                  hla.rti1516.AttributeNotRecognized,
                                  hla.rti1516.FederateInternalError
Specified by:
attributeIsOwnedByRTI in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.FederateInternalError

attributeOwnershipAcquisitionNotification

public void attributeOwnershipAcquisitionNotification(hla.rti1516.ObjectInstanceHandle theObject,
                                                      hla.rti1516.AttributeHandleSet securedAttributes,
                                                      byte[] userSuppliedTag)
                                               throws hla.rti1516.ObjectInstanceNotKnown,
                                                      hla.rti1516.AttributeNotRecognized,
                                                      hla.rti1516.AttributeAcquisitionWasNotRequested,
                                                      hla.rti1516.AttributeAlreadyOwned,
                                                      hla.rti1516.AttributeNotPublished,
                                                      hla.rti1516.FederateInternalError
Specified by:
attributeOwnershipAcquisitionNotification in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeAcquisitionWasNotRequested
hla.rti1516.AttributeAlreadyOwned
hla.rti1516.AttributeNotPublished
hla.rti1516.FederateInternalError

attributeOwnershipUnavailable

public void attributeOwnershipUnavailable(hla.rti1516.ObjectInstanceHandle theObject,
                                          hla.rti1516.AttributeHandleSet theAttributes)
                                   throws hla.rti1516.ObjectInstanceNotKnown,
                                          hla.rti1516.AttributeNotRecognized,
                                          hla.rti1516.AttributeAlreadyOwned,
                                          hla.rti1516.AttributeAcquisitionWasNotRequested,
                                          hla.rti1516.FederateInternalError
Specified by:
attributeOwnershipUnavailable in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeAlreadyOwned
hla.rti1516.AttributeAcquisitionWasNotRequested
hla.rti1516.FederateInternalError

attributesInScope

public void attributesInScope(hla.rti1516.ObjectInstanceHandle theObject,
                              hla.rti1516.AttributeHandleSet theAttributes)
                       throws hla.rti1516.ObjectInstanceNotKnown,
                              hla.rti1516.AttributeNotRecognized,
                              hla.rti1516.AttributeNotSubscribed,
                              hla.rti1516.FederateInternalError
Specified by:
attributesInScope in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

attributesOutOfScope

public void attributesOutOfScope(hla.rti1516.ObjectInstanceHandle theObject,
                                 hla.rti1516.AttributeHandleSet theAttributes)
                          throws hla.rti1516.ObjectInstanceNotKnown,
                                 hla.rti1516.AttributeNotRecognized,
                                 hla.rti1516.AttributeNotSubscribed,
                                 hla.rti1516.FederateInternalError
Specified by:
attributesOutOfScope in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

confirmAttributeOwnershipAcquisitionCancellation

public void confirmAttributeOwnershipAcquisitionCancellation(hla.rti1516.ObjectInstanceHandle theObject,
                                                             hla.rti1516.AttributeHandleSet theAttributes)
                                                      throws hla.rti1516.ObjectInstanceNotKnown,
                                                             hla.rti1516.AttributeNotRecognized,
                                                             hla.rti1516.AttributeAlreadyOwned,
                                                             hla.rti1516.AttributeAcquisitionWasNotCanceled,
                                                             hla.rti1516.FederateInternalError
Specified by:
confirmAttributeOwnershipAcquisitionCancellation in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeAlreadyOwned
hla.rti1516.AttributeAcquisitionWasNotCanceled
hla.rti1516.FederateInternalError

discoverObjectInstance

public void discoverObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.ObjectClassHandle theObjectClass,
                                   java.lang.String objectName)
                            throws hla.rti1516.CouldNotDiscover,
                                   hla.rti1516.ObjectClassNotRecognized,
                                   hla.rti1516.FederateInternalError
Specified by:
discoverObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.CouldNotDiscover
hla.rti1516.ObjectClassNotRecognized
hla.rti1516.FederateInternalError

federationNotRestored

public void federationNotRestored(hla.rti1516.RestoreFailureReason reason)
                           throws hla.rti1516.FederateInternalError
Specified by:
federationNotRestored in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationNotSaved

public void federationNotSaved(hla.rti1516.SaveFailureReason reason)
                        throws hla.rti1516.FederateInternalError
Specified by:
federationNotSaved in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationRestoreBegun

public void federationRestoreBegun()
                            throws hla.rti1516.FederateInternalError
Specified by:
federationRestoreBegun in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationRestored

public void federationRestored()
                        throws hla.rti1516.FederateInternalError
Specified by:
federationRestored in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationRestoreStatusResponse

public void federationRestoreStatusResponse(hla.rti1516.FederateHandleRestoreStatusPair[] response)
                                     throws hla.rti1516.FederateInternalError
Specified by:
federationRestoreStatusResponse in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationSaved

public void federationSaved()
                     throws hla.rti1516.FederateInternalError
Specified by:
federationSaved in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationSaveStatusResponse

public void federationSaveStatusResponse(hla.rti1516.FederateHandleSaveStatusPair[] response)
                                  throws hla.rti1516.FederateInternalError
Specified by:
federationSaveStatusResponse in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

federationSynchronized

public void federationSynchronized(java.lang.String synchronizationPointLabel)
                            throws hla.rti1516.FederateInternalError
Specified by:
federationSynchronized in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

informAttributeOwnership

public void informAttributeOwnership(hla.rti1516.ObjectInstanceHandle theObject,
                                     hla.rti1516.AttributeHandle theAttribute,
                                     hla.rti1516.FederateHandle theOwner)
                              throws hla.rti1516.ObjectInstanceNotKnown,
                                     hla.rti1516.AttributeNotRecognized,
                                     hla.rti1516.FederateInternalError
Specified by:
informAttributeOwnership in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.FederateInternalError

initiateFederateRestore

public void initiateFederateRestore(java.lang.String label,
                                    hla.rti1516.FederateHandle federateHandle)
                             throws hla.rti1516.SpecifiedSaveLabelDoesNotExist,
                                    hla.rti1516.CouldNotInitiateRestore,
                                    hla.rti1516.FederateInternalError
Specified by:
initiateFederateRestore in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.SpecifiedSaveLabelDoesNotExist
hla.rti1516.CouldNotInitiateRestore
hla.rti1516.FederateInternalError

initiateFederateSave

public void initiateFederateSave(java.lang.String label,
                                 hla.rti1516.LogicalTime time)
                          throws hla.rti1516.InvalidLogicalTime,
                                 hla.rti1516.UnableToPerformSave,
                                 hla.rti1516.FederateInternalError
Specified by:
initiateFederateSave in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InvalidLogicalTime
hla.rti1516.UnableToPerformSave
hla.rti1516.FederateInternalError

initiateFederateSave

public void initiateFederateSave(java.lang.String label)
                          throws hla.rti1516.UnableToPerformSave,
                                 hla.rti1516.FederateInternalError
Specified by:
initiateFederateSave in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.UnableToPerformSave
hla.rti1516.FederateInternalError

objectInstanceNameReservationFailed

public void objectInstanceNameReservationFailed(java.lang.String objectName)
                                         throws hla.rti1516.UnknownName,
                                                hla.rti1516.FederateInternalError
Specified by:
objectInstanceNameReservationFailed in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.UnknownName
hla.rti1516.FederateInternalError

objectInstanceNameReservationSucceeded

public void objectInstanceNameReservationSucceeded(java.lang.String objectName)
                                            throws hla.rti1516.UnknownName,
                                                   hla.rti1516.FederateInternalError
Specified by:
objectInstanceNameReservationSucceeded in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.UnknownName
hla.rti1516.FederateInternalError

provideAttributeValueUpdate

public void provideAttributeValueUpdate(hla.rti1516.ObjectInstanceHandle theObject,
                                        hla.rti1516.AttributeHandleSet theAttributes,
                                        byte[] userSuppliedTag)
                                 throws hla.rti1516.ObjectInstanceNotKnown,
                                        hla.rti1516.AttributeNotRecognized,
                                        hla.rti1516.AttributeNotOwned,
                                        hla.rti1516.FederateInternalError
Specified by:
provideAttributeValueUpdate in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotOwned
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport,
                               hla.rti1516.LogicalTime theTime,
                               hla.rti1516.OrderType receivedOrdering,
                               hla.rti1516.MessageRetractionHandle messageRetractionHandle,
                               hla.rti1516.RegionHandleSet sentRegions)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.InvalidLogicalTime,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.InvalidLogicalTime
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport,
                               hla.rti1516.LogicalTime theTime,
                               hla.rti1516.OrderType receivedOrdering,
                               hla.rti1516.MessageRetractionHandle messageRetractionHandle)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.InvalidLogicalTime,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.InvalidLogicalTime
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport,
                               hla.rti1516.LogicalTime theTime,
                               hla.rti1516.OrderType receivedOrdering,
                               hla.rti1516.RegionHandleSet regions)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport,
                               hla.rti1516.LogicalTime theTime,
                               hla.rti1516.OrderType receivedOrdering)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport,
                               hla.rti1516.RegionHandleSet sentRegions)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.FederateInternalError

receiveInteraction

public void receiveInteraction(hla.rti1516.InteractionClassHandle interactionClass,
                               hla.rti1516.ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               hla.rti1516.OrderType sentOrdering,
                               hla.rti1516.TransportationType theTransport)
                        throws hla.rti1516.InteractionClassNotRecognized,
                               hla.rti1516.InteractionParameterNotRecognized,
                               hla.rti1516.InteractionClassNotSubscribed,
                               hla.rti1516.FederateInternalError
Specified by:
receiveInteraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotRecognized
hla.rti1516.InteractionParameterNotRecognized
hla.rti1516.InteractionClassNotSubscribed
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport,
                                   hla.rti1516.LogicalTime theTime,
                                   hla.rti1516.OrderType receivedOrdering,
                                   hla.rti1516.MessageRetractionHandle retractionHandle,
                                   hla.rti1516.RegionHandleSet sentRegions)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.InvalidLogicalTime,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.InvalidLogicalTime
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport,
                                   hla.rti1516.LogicalTime theTime,
                                   hla.rti1516.OrderType receivedOrdering,
                                   hla.rti1516.MessageRetractionHandle retractionHandle)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.InvalidLogicalTime,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.InvalidLogicalTime
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport,
                                   hla.rti1516.LogicalTime theTime,
                                   hla.rti1516.OrderType receivedOrdering,
                                   hla.rti1516.RegionHandleSet sentRegions)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport,
                                   hla.rti1516.LogicalTime theTime,
                                   hla.rti1516.OrderType receivedOrdering)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport,
                                   hla.rti1516.RegionHandleSet sentRegions)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

reflectAttributeValues

public void reflectAttributeValues(hla.rti1516.ObjectInstanceHandle theObject,
                                   hla.rti1516.AttributeHandleValueMap theAttributes,
                                   byte[] userSuppliedTag,
                                   hla.rti1516.OrderType sentOrdering,
                                   hla.rti1516.TransportationType theTransport)
                            throws hla.rti1516.ObjectInstanceNotKnown,
                                   hla.rti1516.AttributeNotRecognized,
                                   hla.rti1516.AttributeNotSubscribed,
                                   hla.rti1516.FederateInternalError
Specified by:
reflectAttributeValues in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotSubscribed
hla.rti1516.FederateInternalError

removeObjectInstance

public void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                 byte[] userSuppliedTag,
                                 hla.rti1516.OrderType sentOrdering,
                                 hla.rti1516.LogicalTime theTime,
                                 hla.rti1516.OrderType receivedOrdering,
                                 hla.rti1516.MessageRetractionHandle retractionHandle)
                          throws hla.rti1516.ObjectInstanceNotKnown,
                                 hla.rti1516.InvalidLogicalTime,
                                 hla.rti1516.FederateInternalError
Specified by:
removeObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.InvalidLogicalTime
hla.rti1516.FederateInternalError

removeObjectInstance

public void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                 byte[] userSuppliedTag,
                                 hla.rti1516.OrderType sentOrdering,
                                 hla.rti1516.LogicalTime theTime,
                                 hla.rti1516.OrderType receivedOrdering)
                          throws hla.rti1516.ObjectInstanceNotKnown,
                                 hla.rti1516.FederateInternalError
Specified by:
removeObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.FederateInternalError

removeObjectInstance

public void removeObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                 byte[] userSuppliedTag,
                                 hla.rti1516.OrderType sentOrdering)
                          throws hla.rti1516.ObjectInstanceNotKnown,
                                 hla.rti1516.FederateInternalError
Specified by:
removeObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.FederateInternalError

requestAttributeOwnershipAssumption

public void requestAttributeOwnershipAssumption(hla.rti1516.ObjectInstanceHandle theObject,
                                                hla.rti1516.AttributeHandleSet offeredAttributes,
                                                byte[] userSuppliedTag)
                                         throws hla.rti1516.ObjectInstanceNotKnown,
                                                hla.rti1516.AttributeNotRecognized,
                                                hla.rti1516.AttributeAlreadyOwned,
                                                hla.rti1516.AttributeNotPublished,
                                                hla.rti1516.FederateInternalError
Specified by:
requestAttributeOwnershipAssumption in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeAlreadyOwned
hla.rti1516.AttributeNotPublished
hla.rti1516.FederateInternalError

requestAttributeOwnershipRelease

public void requestAttributeOwnershipRelease(hla.rti1516.ObjectInstanceHandle theObject,
                                             hla.rti1516.AttributeHandleSet candidateAttributes,
                                             byte[] userSuppliedTag)
                                      throws hla.rti1516.ObjectInstanceNotKnown,
                                             hla.rti1516.AttributeNotRecognized,
                                             hla.rti1516.AttributeNotOwned,
                                             hla.rti1516.FederateInternalError
Specified by:
requestAttributeOwnershipRelease in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotOwned
hla.rti1516.FederateInternalError

requestDivestitureConfirmation

public void requestDivestitureConfirmation(hla.rti1516.ObjectInstanceHandle theObject,
                                           hla.rti1516.AttributeHandleSet offeredAttributes)
                                    throws hla.rti1516.ObjectInstanceNotKnown,
                                           hla.rti1516.AttributeNotRecognized,
                                           hla.rti1516.AttributeNotOwned,
                                           hla.rti1516.AttributeDivestitureWasNotRequested,
                                           hla.rti1516.FederateInternalError
Specified by:
requestDivestitureConfirmation in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotOwned
hla.rti1516.AttributeDivestitureWasNotRequested
hla.rti1516.FederateInternalError

requestFederationRestoreFailed

public void requestFederationRestoreFailed(java.lang.String label)
                                    throws hla.rti1516.FederateInternalError
Specified by:
requestFederationRestoreFailed in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

requestFederationRestoreSucceeded

public void requestFederationRestoreSucceeded(java.lang.String label)
                                       throws hla.rti1516.FederateInternalError
Specified by:
requestFederationRestoreSucceeded in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

requestRetraction

public void requestRetraction(hla.rti1516.MessageRetractionHandle theHandle)
                       throws hla.rti1516.FederateInternalError
Specified by:
requestRetraction in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

startRegistrationForObjectClass

public void startRegistrationForObjectClass(hla.rti1516.ObjectClassHandle theClass)
                                     throws hla.rti1516.ObjectClassNotPublished,
                                            hla.rti1516.FederateInternalError
Specified by:
startRegistrationForObjectClass in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectClassNotPublished
hla.rti1516.FederateInternalError

stopRegistrationForObjectClass

public void stopRegistrationForObjectClass(hla.rti1516.ObjectClassHandle theClass)
                                    throws hla.rti1516.ObjectClassNotPublished,
                                           hla.rti1516.FederateInternalError
Specified by:
stopRegistrationForObjectClass in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectClassNotPublished
hla.rti1516.FederateInternalError

synchronizationPointRegistrationFailed

public void synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel,
                                                   hla.rti1516.SynchronizationPointFailureReason reason)
                                            throws hla.rti1516.FederateInternalError
Specified by:
synchronizationPointRegistrationFailed in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

synchronizationPointRegistrationSucceeded

public void synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
                                               throws hla.rti1516.FederateInternalError
Specified by:
synchronizationPointRegistrationSucceeded in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.FederateInternalError

timeAdvanceGrant

public void timeAdvanceGrant(hla.rti1516.LogicalTime theTime)
                      throws hla.rti1516.InvalidLogicalTime,
                             hla.rti1516.JoinedFederateIsNotInTimeAdvancingState,
                             hla.rti1516.FederateInternalError
Specified by:
timeAdvanceGrant in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InvalidLogicalTime
hla.rti1516.JoinedFederateIsNotInTimeAdvancingState
hla.rti1516.FederateInternalError

timeConstrainedEnabled

public void timeConstrainedEnabled(hla.rti1516.LogicalTime time)
                            throws hla.rti1516.InvalidLogicalTime,
                                   hla.rti1516.NoRequestToEnableTimeConstrainedWasPending,
                                   hla.rti1516.FederateInternalError
Specified by:
timeConstrainedEnabled in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InvalidLogicalTime
hla.rti1516.NoRequestToEnableTimeConstrainedWasPending
hla.rti1516.FederateInternalError

timeRegulationEnabled

public void timeRegulationEnabled(hla.rti1516.LogicalTime time)
                           throws hla.rti1516.InvalidLogicalTime,
                                  hla.rti1516.NoRequestToEnableTimeRegulationWasPending,
                                  hla.rti1516.FederateInternalError
Specified by:
timeRegulationEnabled in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InvalidLogicalTime
hla.rti1516.NoRequestToEnableTimeRegulationWasPending
hla.rti1516.FederateInternalError

turnInteractionsOff

public void turnInteractionsOff(hla.rti1516.InteractionClassHandle theHandle)
                         throws hla.rti1516.InteractionClassNotPublished,
                                hla.rti1516.FederateInternalError
Specified by:
turnInteractionsOff in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotPublished
hla.rti1516.FederateInternalError

turnInteractionsOn

public void turnInteractionsOn(hla.rti1516.InteractionClassHandle theHandle)
                        throws hla.rti1516.InteractionClassNotPublished,
                               hla.rti1516.FederateInternalError
Specified by:
turnInteractionsOn in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.InteractionClassNotPublished
hla.rti1516.FederateInternalError

turnUpdatesOffForObjectInstance

public void turnUpdatesOffForObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                            hla.rti1516.AttributeHandleSet theAttributes)
                                     throws hla.rti1516.ObjectInstanceNotKnown,
                                            hla.rti1516.AttributeNotRecognized,
                                            hla.rti1516.AttributeNotOwned,
                                            hla.rti1516.FederateInternalError
Specified by:
turnUpdatesOffForObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotOwned
hla.rti1516.FederateInternalError

turnUpdatesOnForObjectInstance

public void turnUpdatesOnForObjectInstance(hla.rti1516.ObjectInstanceHandle theObject,
                                           hla.rti1516.AttributeHandleSet theAttributes)
                                    throws hla.rti1516.ObjectInstanceNotKnown,
                                           hla.rti1516.AttributeNotRecognized,
                                           hla.rti1516.AttributeNotOwned,
                                           hla.rti1516.FederateInternalError
Specified by:
turnUpdatesOnForObjectInstance in interface hla.rti1516.FederateAmbassador
Throws:
hla.rti1516.ObjectInstanceNotKnown
hla.rti1516.AttributeNotRecognized
hla.rti1516.AttributeNotOwned
hla.rti1516.FederateInternalError