copyright The Portico Project 2008.

org.portico.impl.hla13
Class Default13RTIAmbassador

java.lang.Object
  extended by org.portico.impl.hla13.Default13RTIAmbassador
All Implemented Interfaces:
hla.rti.jlc.RTIambassadorEx, hla.rti.RTIambassador

public class Default13RTIAmbassador
extends Object
implements hla.rti.jlc.RTIambassadorEx

This class is the Portico implementation of the HLA 1.3 RTIambassador class. It also provides the extra methods added in the DLC specification via the RTIambassadorEx interface.


Field Summary
private  Impl13Helper helper
           
 
Constructor Summary
Default13RTIAmbassador()
           
 
Method Summary
 void associateRegionForUpdates(hla.rti.Region theRegion, int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void attributeOwnershipAcquisition(int theObject, hla.rti.AttributeHandleSet desiredAttributes, byte[] userSuppliedTag)
           
 void attributeOwnershipAcquisitionIfAvailable(int theObject, hla.rti.AttributeHandleSet desiredAttributes)
           
 hla.rti.AttributeHandleSet attributeOwnershipReleaseResponse(int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void cancelAttributeOwnershipAcquisition(int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void cancelNegotiatedAttributeOwnershipDivestiture(int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void changeAttributeOrderType(int theObject, hla.rti.AttributeHandleSet theAttributes, int theType)
           
 void changeAttributeTransportationType(int theObject, hla.rti.AttributeHandleSet theAttributes, int theType)
           
 void changeInteractionOrderType(int theClass, int theType)
           
 void changeInteractionTransportationType(int theClass, int theType)
           
private  HLA13ByteArrayMap convertAttributes(hla.rti.SuppliedAttributes attributes)
          Converts the SuppliedAttributes to a Portico type.
private  HashSet<Integer> convertHandles(hla.rti.AttributeHandleSet handles)
          Convert the given AttributeHandleSet to a HashSet of integers representing the handles
private  double convertLookahead(hla.rti.LogicalTimeInterval interval)
          Converts the interval into the double value held by it.
private  HLA13ByteArrayMap convertParameters(hla.rti.SuppliedParameters parameters)
          Converts the SuppliedAttributes to a Portico type.
private  RegionInstance convertRegion(hla.rti.Region region)
          This method will take in a given region instance, check that it is of the appropriate Portico type, convert it to the type and return it.
private  int[] convertRegions(hla.rti.Region[] regions)
          Convert the given array of regions to an array of integers that represents the region tokens of each of the regions.
private  double convertTime(hla.rti.LogicalTime time)
          Converts a LogicalTime to a PorticoTime and extracts the double value of the time from it, throwing an exception if there is a problem.
 void createFederationExecution(String executionName, URL fed)
           
 hla.rti.Region createRegion(int spaceHandle, int numberOfExtents)
           
 void deleteObjectInstance(int ObjectHandle, byte[] userSuppliedTag)
           
 hla.rti.EventRetractionHandle deleteObjectInstance(int ObjectHandle, byte[] userSuppliedTag, hla.rti.LogicalTime theTime)
           
 void deleteRegion(hla.rti.Region theRegion)
           
 void destroyFederationExecution(String executionName)
           
 void disableAsynchronousDelivery()
           
 void disableAttributeRelevanceAdvisorySwitch()
           
 void disableAttributeScopeAdvisorySwitch()
           
 void disableClassRelevanceAdvisorySwitch()
           
 void disableInteractionRelevanceAdvisorySwitch()
           
 void disableTimeConstrained()
           
 void disableTimeRegulation()
           
 void enableAsynchronousDelivery()
           
 void enableAttributeRelevanceAdvisorySwitch()
           
 void enableAttributeScopeAdvisorySwitch()
           
 void enableClassRelevanceAdvisorySwitch()
           
 void enableInteractionRelevanceAdvisorySwitch()
           
 void enableTimeConstrained()
           
 void enableTimeRegulation(hla.rti.LogicalTime theFederateTime, hla.rti.LogicalTimeInterval theLookahead)
           
 void federateRestoreComplete()
           
 void federateRestoreNotComplete()
           
 void federateSaveBegun()
           
 void federateSaveComplete()
           
 void federateSaveNotComplete()
           
 void flushQueueRequest(hla.rti.LogicalTime theTime)
           
 int getAttributeHandle(String theName, int whichClass)
           
 String getAttributeName(int theHandle, int whichClass)
           
 int getAttributeRoutingSpaceHandle(int theHandle, int whichClass)
           
 int getDimensionHandle(String theName, int whichSpace)
           
 String getDimensionName(int theHandle, int whichSpace)
           
 Impl13Helper getHelper()
           
 int getInteractionClassHandle(String theName)
           
 String getInteractionClassName(int theHandle)
           
 int getInteractionRoutingSpaceHandle(int theHandle)
           
 int getObjectClass(int theObject)
           
 int getObjectClassHandle(String theName)
           
 String getObjectClassName(int theHandle)
           
 int getObjectInstanceHandle(String theName)
           
 String getObjectInstanceName(int theHandle)
           
 int getOrderingHandle(String theName)
           
 String getOrderingName(int theHandle)
           
 int getParameterHandle(String theName, int whichClass)
           
 String getParameterName(int theHandle, int whichClass)
           
 hla.rti.Region getRegion(int regionToken)
           
 int getRegionToken(hla.rti.Region region)
           
 int getRoutingSpaceHandle(String theName)
           
 String getRoutingSpaceName(int theHandle)
           
 int getTransportationHandle(String theName)
           
 String getTransportationName(int theHandle)
           
 boolean isAttributeOwnedByFederate(int theObject, int theAttribute)
           
 int joinFederationExecution(String federateType, String federationExecutionName, hla.rti.FederateAmbassador federateReference)
           
 int joinFederationExecution(String federateType, String federationExecutionName, hla.rti.FederateAmbassador federateReference, hla.rti.MobileFederateServices serviceReferences)
           
 void localDeleteObjectInstance(int objectHandle)
           
private  void logException(String method, Throwable e)
          This method prints the stack trace for the exception and then throws an RTIinternalError
 void modifyLookahead(hla.rti.LogicalTimeInterval theLookahead)
           
 void negotiatedAttributeOwnershipDivestiture(int theObject, hla.rti.AttributeHandleSet theAttributes, byte[] userSuppliedTag)
           
 void nextEventRequest(hla.rti.LogicalTime theTime)
           
 void nextEventRequestAvailable(hla.rti.LogicalTime theTime)
           
 void notifyOfRegionModification(hla.rti.Region modified)
           
private  com.lbf.commons.messaging.ResponseMessage processMessage(RTI_RequestMessage request)
           
 void publishInteractionClass(int theInteraction)
           
 void publishObjectClass(int theClass, hla.rti.AttributeHandleSet attributeList)
           
 void queryAttributeOwnership(int theObject, int theAttribute)
           
 hla.rti.LogicalTime queryFederateTime()
           
 hla.rti.LogicalTime queryLBTS()
           
 hla.rti.LogicalTimeInterval queryLookahead()
           
 hla.rti.LogicalTime queryMinNextEventTime()
           
 void registerFederationSynchronizationPoint(String synchronizationPointLabel, byte[] userSuppliedTag)
           
 void registerFederationSynchronizationPoint(String synchronizationPointLabel, byte[] userSuppliedTag, hla.rti.FederateHandleSet synchronizationSet)
           
 int registerObjectInstance(int theClass)
           
 int registerObjectInstance(int theClass, String theObject)
           
 int registerObjectInstanceWithRegion(int theClass, int[] theAttributes, hla.rti.Region[] theRegions)
           
 int registerObjectInstanceWithRegion(int theClass, String theObject, int[] theAttributes, hla.rti.Region[] theRegions)
           
 void requestClassAttributeValueUpdate(int theClass, hla.rti.AttributeHandleSet theAttributes)
           
 void requestClassAttributeValueUpdateWithRegion(int theClass, hla.rti.AttributeHandleSet theAttributes, hla.rti.Region theRegion)
           
 void requestFederationRestore(String label)
           
 void requestFederationSave(String label)
           
 void requestFederationSave(String label, hla.rti.LogicalTime theTime)
           
 void requestObjectAttributeValueUpdate(int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void resignFederationExecution(int resignAction)
           
 void retract(hla.rti.EventRetractionHandle theHandle)
           
 void sendInteraction(int interaction, hla.rti.SuppliedParameters theParameters, byte[] tag)
           
 hla.rti.EventRetractionHandle sendInteraction(int theInteraction, hla.rti.SuppliedParameters theParameters, byte[] userSuppliedTag, hla.rti.LogicalTime theTime)
           
 void sendInteractionWithRegion(int theInteraction, hla.rti.SuppliedParameters theParameters, byte[] tag, hla.rti.Region theRegion)
           
 hla.rti.EventRetractionHandle sendInteractionWithRegion(int theInteraction, hla.rti.SuppliedParameters theParameters, byte[] tag, hla.rti.Region theRegion, hla.rti.LogicalTime theTime)
           
 void subscribeInteractionClass(int theClass)
           
 void subscribeInteractionClassPassively(int theClass)
           
 void subscribeInteractionClassPassivelyWithRegion(int theClass, hla.rti.Region theRegion)
           
 void subscribeInteractionClassWithRegion(int theClass, hla.rti.Region theRegion)
           
 void subscribeObjectClassAttributes(int theClass, hla.rti.AttributeHandleSet attributeList)
           
 void subscribeObjectClassAttributesPassively(int theClass, hla.rti.AttributeHandleSet attributeList)
           
 void subscribeObjectClassAttributesPassivelyWithRegion(int theClass, hla.rti.Region theRegion, hla.rti.AttributeHandleSet attributeList)
           
 void subscribeObjectClassAttributesWithRegion(int theClass, hla.rti.Region theRegion, hla.rti.AttributeHandleSet attributes)
           
 void synchronizationPointAchieved(String synchronizationPointLabel)
           
 void tick()
          Keeps processing the callback queue until it is empty (regardless of how long that takes)
 boolean tick(double min, double max)
           
 void timeAdvanceRequest(hla.rti.LogicalTime theTime)
           
 void timeAdvanceRequestAvailable(hla.rti.LogicalTime theTime)
           
 void unassociateRegionForUpdates(hla.rti.Region theRegion, int theObject)
           
 void unconditionalAttributeOwnershipDivestiture(int theObject, hla.rti.AttributeHandleSet theAttributes)
           
 void unpublishInteractionClass(int theInteraction)
           
 void unpublishObjectClass(int theClass)
           
 void unsubscribeInteractionClass(int theClass)
           
 void unsubscribeInteractionClassWithRegion(int theClass, hla.rti.Region theRegion)
           
 void unsubscribeObjectClass(int theClass)
           
 void unsubscribeObjectClassWithRegion(int theClass, hla.rti.Region theRegion)
           
 void updateAttributeValues(int theObject, hla.rti.SuppliedAttributes theAttributes, byte[] userSuppliedTag)
           
 hla.rti.EventRetractionHandle updateAttributeValues(int theObject, hla.rti.SuppliedAttributes theAttributes, byte[] userSuppliedTag, hla.rti.LogicalTime theTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helper

private Impl13Helper helper
Constructor Detail

Default13RTIAmbassador

public Default13RTIAmbassador()
                       throws hla.rti.RTIinternalError
Throws:
hla.rti.RTIinternalError
Method Detail

getHelper

public Impl13Helper getHelper()

createFederationExecution

public void createFederationExecution(String executionName,
                                      URL fed)
                               throws hla.rti.FederationExecutionAlreadyExists,
                                      hla.rti.CouldNotOpenFED,
                                      hla.rti.ErrorReadingFED,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
createFederationExecution in interface hla.rti.RTIambassador
Throws:
hla.rti.FederationExecutionAlreadyExists
hla.rti.CouldNotOpenFED
hla.rti.ErrorReadingFED
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

destroyFederationExecution

public void destroyFederationExecution(String executionName)
                                throws hla.rti.FederatesCurrentlyJoined,
                                       hla.rti.FederationExecutionDoesNotExist,
                                       hla.rti.RTIinternalError,
                                       hla.rti.ConcurrentAccessAttempted
Specified by:
destroyFederationExecution in interface hla.rti.RTIambassador
Throws:
hla.rti.FederatesCurrentlyJoined
hla.rti.FederationExecutionDoesNotExist
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

joinFederationExecution

public int joinFederationExecution(String federateType,
                                   String federationExecutionName,
                                   hla.rti.FederateAmbassador federateReference)
                            throws hla.rti.FederateAlreadyExecutionMember,
                                   hla.rti.FederationExecutionDoesNotExist,
                                   hla.rti.SaveInProgress,
                                   hla.rti.RestoreInProgress,
                                   hla.rti.RTIinternalError,
                                   hla.rti.ConcurrentAccessAttempted
Specified by:
joinFederationExecution in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateAlreadyExecutionMember
hla.rti.FederationExecutionDoesNotExist
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

joinFederationExecution

public int joinFederationExecution(String federateType,
                                   String federationExecutionName,
                                   hla.rti.FederateAmbassador federateReference,
                                   hla.rti.MobileFederateServices serviceReferences)
                            throws hla.rti.FederateAlreadyExecutionMember,
                                   hla.rti.FederationExecutionDoesNotExist,
                                   hla.rti.SaveInProgress,
                                   hla.rti.RestoreInProgress,
                                   hla.rti.RTIinternalError,
                                   hla.rti.ConcurrentAccessAttempted
Specified by:
joinFederationExecution in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateAlreadyExecutionMember
hla.rti.FederationExecutionDoesNotExist
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

resignFederationExecution

public void resignFederationExecution(int resignAction)
                               throws hla.rti.FederateOwnsAttributes,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.InvalidResignAction,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
resignFederationExecution in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateOwnsAttributes
hla.rti.FederateNotExecutionMember
hla.rti.InvalidResignAction
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerFederationSynchronizationPoint

public void registerFederationSynchronizationPoint(String synchronizationPointLabel,
                                                   byte[] userSuppliedTag)
                                            throws hla.rti.FederateNotExecutionMember,
                                                   hla.rti.SaveInProgress,
                                                   hla.rti.RestoreInProgress,
                                                   hla.rti.RTIinternalError,
                                                   hla.rti.ConcurrentAccessAttempted
Specified by:
registerFederationSynchronizationPoint in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerFederationSynchronizationPoint

public void registerFederationSynchronizationPoint(String synchronizationPointLabel,
                                                   byte[] userSuppliedTag,
                                                   hla.rti.FederateHandleSet synchronizationSet)
                                            throws hla.rti.FederateNotExecutionMember,
                                                   hla.rti.SaveInProgress,
                                                   hla.rti.RestoreInProgress,
                                                   hla.rti.RTIinternalError,
                                                   hla.rti.ConcurrentAccessAttempted
Specified by:
registerFederationSynchronizationPoint in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

synchronizationPointAchieved

public void synchronizationPointAchieved(String synchronizationPointLabel)
                                  throws hla.rti.SynchronizationLabelNotAnnounced,
                                         hla.rti.FederateNotExecutionMember,
                                         hla.rti.SaveInProgress,
                                         hla.rti.RestoreInProgress,
                                         hla.rti.RTIinternalError,
                                         hla.rti.ConcurrentAccessAttempted
Specified by:
synchronizationPointAchieved in interface hla.rti.RTIambassador
Throws:
hla.rti.SynchronizationLabelNotAnnounced
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestFederationSave

public void requestFederationSave(String label,
                                  hla.rti.LogicalTime theTime)
                           throws hla.rti.FederationTimeAlreadyPassed,
                                  hla.rti.InvalidFederationTime,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
requestFederationSave in interface hla.rti.RTIambassador
Throws:
hla.rti.FederationTimeAlreadyPassed
hla.rti.InvalidFederationTime
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestFederationSave

public void requestFederationSave(String label)
                           throws hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
requestFederationSave in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

federateSaveBegun

public void federateSaveBegun()
                       throws hla.rti.SaveNotInitiated,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.RestoreInProgress,
                              hla.rti.RTIinternalError,
                              hla.rti.ConcurrentAccessAttempted
Specified by:
federateSaveBegun in interface hla.rti.RTIambassador
Throws:
hla.rti.SaveNotInitiated
hla.rti.FederateNotExecutionMember
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

federateSaveComplete

public void federateSaveComplete()
                          throws hla.rti.SaveNotInitiated,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.RestoreInProgress,
                                 hla.rti.RTIinternalError,
                                 hla.rti.ConcurrentAccessAttempted
Specified by:
federateSaveComplete in interface hla.rti.RTIambassador
Throws:
hla.rti.SaveNotInitiated
hla.rti.FederateNotExecutionMember
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

federateSaveNotComplete

public void federateSaveNotComplete()
                             throws hla.rti.SaveNotInitiated,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.RestoreInProgress,
                                    hla.rti.RTIinternalError,
                                    hla.rti.ConcurrentAccessAttempted
Specified by:
federateSaveNotComplete in interface hla.rti.RTIambassador
Throws:
hla.rti.SaveNotInitiated
hla.rti.FederateNotExecutionMember
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestFederationRestore

public void requestFederationRestore(String label)
                              throws hla.rti.FederateNotExecutionMember,
                                     hla.rti.SaveInProgress,
                                     hla.rti.RestoreInProgress,
                                     hla.rti.RTIinternalError,
                                     hla.rti.ConcurrentAccessAttempted
Specified by:
requestFederationRestore in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

federateRestoreComplete

public void federateRestoreComplete()
                             throws hla.rti.RestoreNotRequested,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.SaveInProgress,
                                    hla.rti.RTIinternalError,
                                    hla.rti.ConcurrentAccessAttempted
Specified by:
federateRestoreComplete in interface hla.rti.RTIambassador
Throws:
hla.rti.RestoreNotRequested
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

federateRestoreNotComplete

public void federateRestoreNotComplete()
                                throws hla.rti.RestoreNotRequested,
                                       hla.rti.FederateNotExecutionMember,
                                       hla.rti.SaveInProgress,
                                       hla.rti.RTIinternalError,
                                       hla.rti.ConcurrentAccessAttempted
Specified by:
federateRestoreNotComplete in interface hla.rti.RTIambassador
Throws:
hla.rti.RestoreNotRequested
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

publishObjectClass

public void publishObjectClass(int theClass,
                               hla.rti.AttributeHandleSet attributeList)
                        throws hla.rti.ObjectClassNotDefined,
                               hla.rti.AttributeNotDefined,
                               hla.rti.OwnershipAcquisitionPending,
                               hla.rti.FederateNotExecutionMember,
                               hla.rti.SaveInProgress,
                               hla.rti.RestoreInProgress,
                               hla.rti.RTIinternalError,
                               hla.rti.ConcurrentAccessAttempted
Specified by:
publishObjectClass in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.OwnershipAcquisitionPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unpublishObjectClass

public void unpublishObjectClass(int theClass)
                          throws hla.rti.ObjectClassNotDefined,
                                 hla.rti.ObjectClassNotPublished,
                                 hla.rti.OwnershipAcquisitionPending,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.SaveInProgress,
                                 hla.rti.RestoreInProgress,
                                 hla.rti.RTIinternalError,
                                 hla.rti.ConcurrentAccessAttempted
Specified by:
unpublishObjectClass in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotPublished
hla.rti.OwnershipAcquisitionPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

publishInteractionClass

public void publishInteractionClass(int theInteraction)
                             throws hla.rti.InteractionClassNotDefined,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.SaveInProgress,
                                    hla.rti.RestoreInProgress,
                                    hla.rti.RTIinternalError,
                                    hla.rti.ConcurrentAccessAttempted
Specified by:
publishInteractionClass in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unpublishInteractionClass

public void unpublishInteractionClass(int theInteraction)
                               throws hla.rti.InteractionClassNotDefined,
                                      hla.rti.InteractionClassNotPublished,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
unpublishInteractionClass in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeObjectClassAttributes

public void subscribeObjectClassAttributes(int theClass,
                                           hla.rti.AttributeHandleSet attributeList)
                                    throws hla.rti.ObjectClassNotDefined,
                                           hla.rti.AttributeNotDefined,
                                           hla.rti.FederateNotExecutionMember,
                                           hla.rti.SaveInProgress,
                                           hla.rti.RestoreInProgress,
                                           hla.rti.RTIinternalError,
                                           hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeObjectClassAttributes in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeObjectClassAttributesPassively

public void subscribeObjectClassAttributesPassively(int theClass,
                                                    hla.rti.AttributeHandleSet attributeList)
                                             throws hla.rti.ObjectClassNotDefined,
                                                    hla.rti.AttributeNotDefined,
                                                    hla.rti.FederateNotExecutionMember,
                                                    hla.rti.SaveInProgress,
                                                    hla.rti.RestoreInProgress,
                                                    hla.rti.RTIinternalError,
                                                    hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeObjectClassAttributesPassively in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unsubscribeObjectClass

public void unsubscribeObjectClass(int theClass)
                            throws hla.rti.ObjectClassNotDefined,
                                   hla.rti.ObjectClassNotSubscribed,
                                   hla.rti.FederateNotExecutionMember,
                                   hla.rti.SaveInProgress,
                                   hla.rti.RestoreInProgress,
                                   hla.rti.RTIinternalError,
                                   hla.rti.ConcurrentAccessAttempted
Specified by:
unsubscribeObjectClass in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotSubscribed
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeInteractionClass

public void subscribeInteractionClass(int theClass)
                               throws hla.rti.InteractionClassNotDefined,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.FederateLoggingServiceCalls,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeInteractionClass in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.FederateLoggingServiceCalls
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeInteractionClassPassively

public void subscribeInteractionClassPassively(int theClass)
                                        throws hla.rti.InteractionClassNotDefined,
                                               hla.rti.FederateNotExecutionMember,
                                               hla.rti.FederateLoggingServiceCalls,
                                               hla.rti.SaveInProgress,
                                               hla.rti.RestoreInProgress,
                                               hla.rti.RTIinternalError,
                                               hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeInteractionClassPassively in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.FederateLoggingServiceCalls
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unsubscribeInteractionClass

public void unsubscribeInteractionClass(int theClass)
                                 throws hla.rti.InteractionClassNotDefined,
                                        hla.rti.InteractionClassNotSubscribed,
                                        hla.rti.FederateNotExecutionMember,
                                        hla.rti.SaveInProgress,
                                        hla.rti.RestoreInProgress,
                                        hla.rti.RTIinternalError,
                                        hla.rti.ConcurrentAccessAttempted
Specified by:
unsubscribeInteractionClass in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotSubscribed
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerObjectInstance

public int registerObjectInstance(int theClass)
                           throws hla.rti.ObjectClassNotDefined,
                                  hla.rti.ObjectClassNotPublished,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
registerObjectInstance in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotPublished
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerObjectInstance

public int registerObjectInstance(int theClass,
                                  String theObject)
                           throws hla.rti.ObjectClassNotDefined,
                                  hla.rti.ObjectClassNotPublished,
                                  hla.rti.ObjectAlreadyRegistered,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
registerObjectInstance in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotPublished
hla.rti.ObjectAlreadyRegistered
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

updateAttributeValues

public void updateAttributeValues(int theObject,
                                  hla.rti.SuppliedAttributes theAttributes,
                                  byte[] userSuppliedTag)
                           throws hla.rti.ObjectNotKnown,
                                  hla.rti.AttributeNotDefined,
                                  hla.rti.AttributeNotOwned,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
updateAttributeValues in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

updateAttributeValues

public hla.rti.EventRetractionHandle updateAttributeValues(int theObject,
                                                           hla.rti.SuppliedAttributes theAttributes,
                                                           byte[] userSuppliedTag,
                                                           hla.rti.LogicalTime theTime)
                                                    throws hla.rti.ObjectNotKnown,
                                                           hla.rti.AttributeNotDefined,
                                                           hla.rti.AttributeNotOwned,
                                                           hla.rti.InvalidFederationTime,
                                                           hla.rti.FederateNotExecutionMember,
                                                           hla.rti.SaveInProgress,
                                                           hla.rti.RestoreInProgress,
                                                           hla.rti.RTIinternalError,
                                                           hla.rti.ConcurrentAccessAttempted
Specified by:
updateAttributeValues in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.InvalidFederationTime
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

sendInteraction

public void sendInteraction(int interaction,
                            hla.rti.SuppliedParameters theParameters,
                            byte[] tag)
                     throws hla.rti.InteractionClassNotDefined,
                            hla.rti.InteractionClassNotPublished,
                            hla.rti.InteractionParameterNotDefined,
                            hla.rti.FederateNotExecutionMember,
                            hla.rti.SaveInProgress,
                            hla.rti.RestoreInProgress,
                            hla.rti.RTIinternalError,
                            hla.rti.ConcurrentAccessAttempted
Specified by:
sendInteraction in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InteractionParameterNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

sendInteraction

public hla.rti.EventRetractionHandle sendInteraction(int theInteraction,
                                                     hla.rti.SuppliedParameters theParameters,
                                                     byte[] userSuppliedTag,
                                                     hla.rti.LogicalTime theTime)
                                              throws hla.rti.InteractionClassNotDefined,
                                                     hla.rti.InteractionClassNotPublished,
                                                     hla.rti.InteractionParameterNotDefined,
                                                     hla.rti.InvalidFederationTime,
                                                     hla.rti.FederateNotExecutionMember,
                                                     hla.rti.SaveInProgress,
                                                     hla.rti.RestoreInProgress,
                                                     hla.rti.RTIinternalError,
                                                     hla.rti.ConcurrentAccessAttempted
Specified by:
sendInteraction in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InteractionParameterNotDefined
hla.rti.InvalidFederationTime
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

deleteObjectInstance

public void deleteObjectInstance(int ObjectHandle,
                                 byte[] userSuppliedTag)
                          throws hla.rti.ObjectNotKnown,
                                 hla.rti.DeletePrivilegeNotHeld,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.SaveInProgress,
                                 hla.rti.RestoreInProgress,
                                 hla.rti.RTIinternalError,
                                 hla.rti.ConcurrentAccessAttempted
Specified by:
deleteObjectInstance in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.DeletePrivilegeNotHeld
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

deleteObjectInstance

public hla.rti.EventRetractionHandle deleteObjectInstance(int ObjectHandle,
                                                          byte[] userSuppliedTag,
                                                          hla.rti.LogicalTime theTime)
                                                   throws hla.rti.ObjectNotKnown,
                                                          hla.rti.DeletePrivilegeNotHeld,
                                                          hla.rti.InvalidFederationTime,
                                                          hla.rti.FederateNotExecutionMember,
                                                          hla.rti.SaveInProgress,
                                                          hla.rti.RestoreInProgress,
                                                          hla.rti.RTIinternalError,
                                                          hla.rti.ConcurrentAccessAttempted
Specified by:
deleteObjectInstance in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.DeletePrivilegeNotHeld
hla.rti.InvalidFederationTime
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

localDeleteObjectInstance

public void localDeleteObjectInstance(int objectHandle)
                               throws hla.rti.ObjectNotKnown,
                                      hla.rti.FederateOwnsAttributes,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
localDeleteObjectInstance in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.FederateOwnsAttributes
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

changeAttributeTransportationType

public void changeAttributeTransportationType(int theObject,
                                              hla.rti.AttributeHandleSet theAttributes,
                                              int theType)
                                       throws hla.rti.ObjectNotKnown,
                                              hla.rti.AttributeNotDefined,
                                              hla.rti.AttributeNotOwned,
                                              hla.rti.InvalidTransportationHandle,
                                              hla.rti.FederateNotExecutionMember,
                                              hla.rti.SaveInProgress,
                                              hla.rti.RestoreInProgress,
                                              hla.rti.RTIinternalError,
                                              hla.rti.ConcurrentAccessAttempted
Specified by:
changeAttributeTransportationType in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.InvalidTransportationHandle
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

changeInteractionTransportationType

public void changeInteractionTransportationType(int theClass,
                                                int theType)
                                         throws hla.rti.InteractionClassNotDefined,
                                                hla.rti.InteractionClassNotPublished,
                                                hla.rti.InvalidTransportationHandle,
                                                hla.rti.FederateNotExecutionMember,
                                                hla.rti.SaveInProgress,
                                                hla.rti.RestoreInProgress,
                                                hla.rti.RTIinternalError,
                                                hla.rti.ConcurrentAccessAttempted
Specified by:
changeInteractionTransportationType in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InvalidTransportationHandle
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestObjectAttributeValueUpdate

public void requestObjectAttributeValueUpdate(int theObject,
                                              hla.rti.AttributeHandleSet theAttributes)
                                       throws hla.rti.ObjectNotKnown,
                                              hla.rti.AttributeNotDefined,
                                              hla.rti.FederateNotExecutionMember,
                                              hla.rti.SaveInProgress,
                                              hla.rti.RestoreInProgress,
                                              hla.rti.RTIinternalError,
                                              hla.rti.ConcurrentAccessAttempted
Specified by:
requestObjectAttributeValueUpdate in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestClassAttributeValueUpdate

public void requestClassAttributeValueUpdate(int theClass,
                                             hla.rti.AttributeHandleSet theAttributes)
                                      throws hla.rti.ObjectClassNotDefined,
                                             hla.rti.AttributeNotDefined,
                                             hla.rti.FederateNotExecutionMember,
                                             hla.rti.SaveInProgress,
                                             hla.rti.RestoreInProgress,
                                             hla.rti.RTIinternalError,
                                             hla.rti.ConcurrentAccessAttempted
Specified by:
requestClassAttributeValueUpdate in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unconditionalAttributeOwnershipDivestiture

public void unconditionalAttributeOwnershipDivestiture(int theObject,
                                                       hla.rti.AttributeHandleSet theAttributes)
                                                throws hla.rti.ObjectNotKnown,
                                                       hla.rti.AttributeNotDefined,
                                                       hla.rti.AttributeNotOwned,
                                                       hla.rti.FederateNotExecutionMember,
                                                       hla.rti.SaveInProgress,
                                                       hla.rti.RestoreInProgress,
                                                       hla.rti.RTIinternalError,
                                                       hla.rti.ConcurrentAccessAttempted
Specified by:
unconditionalAttributeOwnershipDivestiture in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

negotiatedAttributeOwnershipDivestiture

public void negotiatedAttributeOwnershipDivestiture(int theObject,
                                                    hla.rti.AttributeHandleSet theAttributes,
                                                    byte[] userSuppliedTag)
                                             throws hla.rti.ObjectNotKnown,
                                                    hla.rti.AttributeNotDefined,
                                                    hla.rti.AttributeNotOwned,
                                                    hla.rti.AttributeAlreadyBeingDivested,
                                                    hla.rti.FederateNotExecutionMember,
                                                    hla.rti.SaveInProgress,
                                                    hla.rti.RestoreInProgress,
                                                    hla.rti.RTIinternalError,
                                                    hla.rti.ConcurrentAccessAttempted
Specified by:
negotiatedAttributeOwnershipDivestiture in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.AttributeAlreadyBeingDivested
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

attributeOwnershipAcquisition

public void attributeOwnershipAcquisition(int theObject,
                                          hla.rti.AttributeHandleSet desiredAttributes,
                                          byte[] userSuppliedTag)
                                   throws hla.rti.ObjectNotKnown,
                                          hla.rti.ObjectClassNotPublished,
                                          hla.rti.AttributeNotDefined,
                                          hla.rti.AttributeNotPublished,
                                          hla.rti.FederateOwnsAttributes,
                                          hla.rti.FederateNotExecutionMember,
                                          hla.rti.SaveInProgress,
                                          hla.rti.RestoreInProgress,
                                          hla.rti.RTIinternalError,
                                          hla.rti.ConcurrentAccessAttempted
Specified by:
attributeOwnershipAcquisition in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.ObjectClassNotPublished
hla.rti.AttributeNotDefined
hla.rti.AttributeNotPublished
hla.rti.FederateOwnsAttributes
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

attributeOwnershipAcquisitionIfAvailable

public void attributeOwnershipAcquisitionIfAvailable(int theObject,
                                                     hla.rti.AttributeHandleSet desiredAttributes)
                                              throws hla.rti.ObjectNotKnown,
                                                     hla.rti.ObjectClassNotPublished,
                                                     hla.rti.AttributeNotDefined,
                                                     hla.rti.AttributeNotPublished,
                                                     hla.rti.FederateOwnsAttributes,
                                                     hla.rti.AttributeAlreadyBeingAcquired,
                                                     hla.rti.FederateNotExecutionMember,
                                                     hla.rti.SaveInProgress,
                                                     hla.rti.RestoreInProgress,
                                                     hla.rti.RTIinternalError,
                                                     hla.rti.ConcurrentAccessAttempted
Specified by:
attributeOwnershipAcquisitionIfAvailable in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.ObjectClassNotPublished
hla.rti.AttributeNotDefined
hla.rti.AttributeNotPublished
hla.rti.FederateOwnsAttributes
hla.rti.AttributeAlreadyBeingAcquired
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

attributeOwnershipReleaseResponse

public hla.rti.AttributeHandleSet attributeOwnershipReleaseResponse(int theObject,
                                                                    hla.rti.AttributeHandleSet theAttributes)
                                                             throws hla.rti.ObjectNotKnown,
                                                                    hla.rti.AttributeNotDefined,
                                                                    hla.rti.AttributeNotOwned,
                                                                    hla.rti.FederateWasNotAskedToReleaseAttribute,
                                                                    hla.rti.FederateNotExecutionMember,
                                                                    hla.rti.SaveInProgress,
                                                                    hla.rti.RestoreInProgress,
                                                                    hla.rti.RTIinternalError,
                                                                    hla.rti.ConcurrentAccessAttempted
Specified by:
attributeOwnershipReleaseResponse in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.FederateWasNotAskedToReleaseAttribute
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

cancelNegotiatedAttributeOwnershipDivestiture

public void cancelNegotiatedAttributeOwnershipDivestiture(int theObject,
                                                          hla.rti.AttributeHandleSet theAttributes)
                                                   throws hla.rti.ObjectNotKnown,
                                                          hla.rti.AttributeNotDefined,
                                                          hla.rti.AttributeNotOwned,
                                                          hla.rti.AttributeDivestitureWasNotRequested,
                                                          hla.rti.FederateNotExecutionMember,
                                                          hla.rti.SaveInProgress,
                                                          hla.rti.RestoreInProgress,
                                                          hla.rti.RTIinternalError,
                                                          hla.rti.ConcurrentAccessAttempted
Specified by:
cancelNegotiatedAttributeOwnershipDivestiture in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.AttributeDivestitureWasNotRequested
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

cancelAttributeOwnershipAcquisition

public void cancelAttributeOwnershipAcquisition(int theObject,
                                                hla.rti.AttributeHandleSet theAttributes)
                                         throws hla.rti.ObjectNotKnown,
                                                hla.rti.AttributeNotDefined,
                                                hla.rti.AttributeAlreadyOwned,
                                                hla.rti.AttributeAcquisitionWasNotRequested,
                                                hla.rti.FederateNotExecutionMember,
                                                hla.rti.SaveInProgress,
                                                hla.rti.RestoreInProgress,
                                                hla.rti.RTIinternalError,
                                                hla.rti.ConcurrentAccessAttempted
Specified by:
cancelAttributeOwnershipAcquisition in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeAlreadyOwned
hla.rti.AttributeAcquisitionWasNotRequested
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

queryAttributeOwnership

public void queryAttributeOwnership(int theObject,
                                    int theAttribute)
                             throws hla.rti.ObjectNotKnown,
                                    hla.rti.AttributeNotDefined,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.SaveInProgress,
                                    hla.rti.RestoreInProgress,
                                    hla.rti.RTIinternalError,
                                    hla.rti.ConcurrentAccessAttempted
Specified by:
queryAttributeOwnership in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

isAttributeOwnedByFederate

public boolean isAttributeOwnedByFederate(int theObject,
                                          int theAttribute)
                                   throws hla.rti.ObjectNotKnown,
                                          hla.rti.AttributeNotDefined,
                                          hla.rti.FederateNotExecutionMember,
                                          hla.rti.SaveInProgress,
                                          hla.rti.RestoreInProgress,
                                          hla.rti.RTIinternalError,
                                          hla.rti.ConcurrentAccessAttempted
Specified by:
isAttributeOwnedByFederate in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

enableTimeRegulation

public void enableTimeRegulation(hla.rti.LogicalTime theFederateTime,
                                 hla.rti.LogicalTimeInterval theLookahead)
                          throws hla.rti.TimeRegulationAlreadyEnabled,
                                 hla.rti.EnableTimeRegulationPending,
                                 hla.rti.TimeAdvanceAlreadyInProgress,
                                 hla.rti.InvalidFederationTime,
                                 hla.rti.InvalidLookahead,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.SaveInProgress,
                                 hla.rti.RestoreInProgress,
                                 hla.rti.RTIinternalError,
                                 hla.rti.ConcurrentAccessAttempted
Specified by:
enableTimeRegulation in interface hla.rti.RTIambassador
Throws:
hla.rti.TimeRegulationAlreadyEnabled
hla.rti.EnableTimeRegulationPending
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.InvalidFederationTime
hla.rti.InvalidLookahead
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

disableTimeRegulation

public void disableTimeRegulation()
                           throws hla.rti.TimeRegulationWasNotEnabled,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
disableTimeRegulation in interface hla.rti.RTIambassador
Throws:
hla.rti.TimeRegulationWasNotEnabled
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

enableTimeConstrained

public void enableTimeConstrained()
                           throws hla.rti.TimeConstrainedAlreadyEnabled,
                                  hla.rti.EnableTimeConstrainedPending,
                                  hla.rti.TimeAdvanceAlreadyInProgress,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.SaveInProgress,
                                  hla.rti.RestoreInProgress,
                                  hla.rti.RTIinternalError,
                                  hla.rti.ConcurrentAccessAttempted
Specified by:
enableTimeConstrained in interface hla.rti.RTIambassador
Throws:
hla.rti.TimeConstrainedAlreadyEnabled
hla.rti.EnableTimeConstrainedPending
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

disableTimeConstrained

public void disableTimeConstrained()
                            throws hla.rti.TimeConstrainedWasNotEnabled,
                                   hla.rti.FederateNotExecutionMember,
                                   hla.rti.SaveInProgress,
                                   hla.rti.RestoreInProgress,
                                   hla.rti.RTIinternalError,
                                   hla.rti.ConcurrentAccessAttempted
Specified by:
disableTimeConstrained in interface hla.rti.RTIambassador
Throws:
hla.rti.TimeConstrainedWasNotEnabled
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

timeAdvanceRequest

public void timeAdvanceRequest(hla.rti.LogicalTime theTime)
                        throws hla.rti.InvalidFederationTime,
                               hla.rti.FederationTimeAlreadyPassed,
                               hla.rti.TimeAdvanceAlreadyInProgress,
                               hla.rti.EnableTimeRegulationPending,
                               hla.rti.EnableTimeConstrainedPending,
                               hla.rti.FederateNotExecutionMember,
                               hla.rti.SaveInProgress,
                               hla.rti.RestoreInProgress,
                               hla.rti.RTIinternalError,
                               hla.rti.ConcurrentAccessAttempted
Specified by:
timeAdvanceRequest in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidFederationTime
hla.rti.FederationTimeAlreadyPassed
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.EnableTimeRegulationPending
hla.rti.EnableTimeConstrainedPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

timeAdvanceRequestAvailable

public void timeAdvanceRequestAvailable(hla.rti.LogicalTime theTime)
                                 throws hla.rti.InvalidFederationTime,
                                        hla.rti.FederationTimeAlreadyPassed,
                                        hla.rti.TimeAdvanceAlreadyInProgress,
                                        hla.rti.EnableTimeRegulationPending,
                                        hla.rti.EnableTimeConstrainedPending,
                                        hla.rti.FederateNotExecutionMember,
                                        hla.rti.SaveInProgress,
                                        hla.rti.RestoreInProgress,
                                        hla.rti.RTIinternalError,
                                        hla.rti.ConcurrentAccessAttempted
Specified by:
timeAdvanceRequestAvailable in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidFederationTime
hla.rti.FederationTimeAlreadyPassed
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.EnableTimeRegulationPending
hla.rti.EnableTimeConstrainedPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

nextEventRequest

public void nextEventRequest(hla.rti.LogicalTime theTime)
                      throws hla.rti.InvalidFederationTime,
                             hla.rti.FederationTimeAlreadyPassed,
                             hla.rti.TimeAdvanceAlreadyInProgress,
                             hla.rti.EnableTimeRegulationPending,
                             hla.rti.EnableTimeConstrainedPending,
                             hla.rti.FederateNotExecutionMember,
                             hla.rti.SaveInProgress,
                             hla.rti.RestoreInProgress,
                             hla.rti.RTIinternalError,
                             hla.rti.ConcurrentAccessAttempted
Specified by:
nextEventRequest in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidFederationTime
hla.rti.FederationTimeAlreadyPassed
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.EnableTimeRegulationPending
hla.rti.EnableTimeConstrainedPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

nextEventRequestAvailable

public void nextEventRequestAvailable(hla.rti.LogicalTime theTime)
                               throws hla.rti.InvalidFederationTime,
                                      hla.rti.FederationTimeAlreadyPassed,
                                      hla.rti.TimeAdvanceAlreadyInProgress,
                                      hla.rti.EnableTimeRegulationPending,
                                      hla.rti.EnableTimeConstrainedPending,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
nextEventRequestAvailable in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidFederationTime
hla.rti.FederationTimeAlreadyPassed
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.EnableTimeRegulationPending
hla.rti.EnableTimeConstrainedPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

flushQueueRequest

public void flushQueueRequest(hla.rti.LogicalTime theTime)
                       throws hla.rti.InvalidFederationTime,
                              hla.rti.FederationTimeAlreadyPassed,
                              hla.rti.TimeAdvanceAlreadyInProgress,
                              hla.rti.EnableTimeRegulationPending,
                              hla.rti.EnableTimeConstrainedPending,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.SaveInProgress,
                              hla.rti.RestoreInProgress,
                              hla.rti.RTIinternalError,
                              hla.rti.ConcurrentAccessAttempted
Specified by:
flushQueueRequest in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidFederationTime
hla.rti.FederationTimeAlreadyPassed
hla.rti.TimeAdvanceAlreadyInProgress
hla.rti.EnableTimeRegulationPending
hla.rti.EnableTimeConstrainedPending
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

enableAsynchronousDelivery

public void enableAsynchronousDelivery()
                                throws hla.rti.AsynchronousDeliveryAlreadyEnabled,
                                       hla.rti.FederateNotExecutionMember,
                                       hla.rti.SaveInProgress,
                                       hla.rti.RestoreInProgress,
                                       hla.rti.RTIinternalError,
                                       hla.rti.ConcurrentAccessAttempted
Specified by:
enableAsynchronousDelivery in interface hla.rti.RTIambassador
Throws:
hla.rti.AsynchronousDeliveryAlreadyEnabled
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

disableAsynchronousDelivery

public void disableAsynchronousDelivery()
                                 throws hla.rti.AsynchronousDeliveryAlreadyDisabled,
                                        hla.rti.FederateNotExecutionMember,
                                        hla.rti.SaveInProgress,
                                        hla.rti.RestoreInProgress,
                                        hla.rti.RTIinternalError,
                                        hla.rti.ConcurrentAccessAttempted
Specified by:
disableAsynchronousDelivery in interface hla.rti.RTIambassador
Throws:
hla.rti.AsynchronousDeliveryAlreadyDisabled
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

queryLBTS

public hla.rti.LogicalTime queryLBTS()
                              throws hla.rti.FederateNotExecutionMember,
                                     hla.rti.SaveInProgress,
                                     hla.rti.RestoreInProgress,
                                     hla.rti.RTIinternalError,
                                     hla.rti.ConcurrentAccessAttempted
Specified by:
queryLBTS in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

queryFederateTime

public hla.rti.LogicalTime queryFederateTime()
                                      throws hla.rti.FederateNotExecutionMember,
                                             hla.rti.SaveInProgress,
                                             hla.rti.RestoreInProgress,
                                             hla.rti.RTIinternalError,
                                             hla.rti.ConcurrentAccessAttempted
Specified by:
queryFederateTime in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

queryMinNextEventTime

public hla.rti.LogicalTime queryMinNextEventTime()
                                          throws hla.rti.FederateNotExecutionMember,
                                                 hla.rti.SaveInProgress,
                                                 hla.rti.RestoreInProgress,
                                                 hla.rti.RTIinternalError,
                                                 hla.rti.ConcurrentAccessAttempted
Specified by:
queryMinNextEventTime in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

modifyLookahead

public void modifyLookahead(hla.rti.LogicalTimeInterval theLookahead)
                     throws hla.rti.InvalidLookahead,
                            hla.rti.FederateNotExecutionMember,
                            hla.rti.SaveInProgress,
                            hla.rti.RestoreInProgress,
                            hla.rti.RTIinternalError,
                            hla.rti.ConcurrentAccessAttempted
Specified by:
modifyLookahead in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidLookahead
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

queryLookahead

public hla.rti.LogicalTimeInterval queryLookahead()
                                           throws hla.rti.FederateNotExecutionMember,
                                                  hla.rti.SaveInProgress,
                                                  hla.rti.RestoreInProgress,
                                                  hla.rti.RTIinternalError,
                                                  hla.rti.ConcurrentAccessAttempted
Specified by:
queryLookahead in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

retract

public void retract(hla.rti.EventRetractionHandle theHandle)
             throws hla.rti.InvalidRetractionHandle,
                    hla.rti.FederateNotExecutionMember,
                    hla.rti.SaveInProgress,
                    hla.rti.RestoreInProgress,
                    hla.rti.RTIinternalError,
                    hla.rti.ConcurrentAccessAttempted
Specified by:
retract in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidRetractionHandle
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

changeAttributeOrderType

public void changeAttributeOrderType(int theObject,
                                     hla.rti.AttributeHandleSet theAttributes,
                                     int theType)
                              throws hla.rti.ObjectNotKnown,
                                     hla.rti.AttributeNotDefined,
                                     hla.rti.AttributeNotOwned,
                                     hla.rti.InvalidOrderingHandle,
                                     hla.rti.FederateNotExecutionMember,
                                     hla.rti.SaveInProgress,
                                     hla.rti.RestoreInProgress,
                                     hla.rti.RTIinternalError,
                                     hla.rti.ConcurrentAccessAttempted
Specified by:
changeAttributeOrderType in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.AttributeNotOwned
hla.rti.InvalidOrderingHandle
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

changeInteractionOrderType

public void changeInteractionOrderType(int theClass,
                                       int theType)
                                throws hla.rti.InteractionClassNotDefined,
                                       hla.rti.InteractionClassNotPublished,
                                       hla.rti.InvalidOrderingHandle,
                                       hla.rti.FederateNotExecutionMember,
                                       hla.rti.SaveInProgress,
                                       hla.rti.RestoreInProgress,
                                       hla.rti.RTIinternalError,
                                       hla.rti.ConcurrentAccessAttempted
Specified by:
changeInteractionOrderType in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InvalidOrderingHandle
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

createRegion

public hla.rti.Region createRegion(int spaceHandle,
                                   int numberOfExtents)
                            throws hla.rti.SpaceNotDefined,
                                   hla.rti.InvalidExtents,
                                   hla.rti.FederateNotExecutionMember,
                                   hla.rti.SaveInProgress,
                                   hla.rti.RestoreInProgress,
                                   hla.rti.RTIinternalError,
                                   hla.rti.ConcurrentAccessAttempted
Specified by:
createRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.SpaceNotDefined
hla.rti.InvalidExtents
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

notifyOfRegionModification

public void notifyOfRegionModification(hla.rti.Region modified)
                                throws hla.rti.RegionNotKnown,
                                       hla.rti.InvalidExtents,
                                       hla.rti.FederateNotExecutionMember,
                                       hla.rti.SaveInProgress,
                                       hla.rti.RestoreInProgress,
                                       hla.rti.RTIinternalError,
                                       hla.rti.ConcurrentAccessAttempted
Specified by:
notifyOfRegionModification in interface hla.rti.RTIambassador
Throws:
hla.rti.RegionNotKnown
hla.rti.InvalidExtents
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

deleteRegion

public void deleteRegion(hla.rti.Region theRegion)
                  throws hla.rti.RegionNotKnown,
                         hla.rti.RegionInUse,
                         hla.rti.FederateNotExecutionMember,
                         hla.rti.SaveInProgress,
                         hla.rti.RestoreInProgress,
                         hla.rti.RTIinternalError,
                         hla.rti.ConcurrentAccessAttempted
Specified by:
deleteRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.RegionNotKnown
hla.rti.RegionInUse
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerObjectInstanceWithRegion

public int registerObjectInstanceWithRegion(int theClass,
                                            int[] theAttributes,
                                            hla.rti.Region[] theRegions)
                                     throws hla.rti.ObjectClassNotDefined,
                                            hla.rti.ObjectClassNotPublished,
                                            hla.rti.AttributeNotDefined,
                                            hla.rti.AttributeNotPublished,
                                            hla.rti.RegionNotKnown,
                                            hla.rti.InvalidRegionContext,
                                            hla.rti.FederateNotExecutionMember,
                                            hla.rti.SaveInProgress,
                                            hla.rti.RestoreInProgress,
                                            hla.rti.RTIinternalError,
                                            hla.rti.ConcurrentAccessAttempted
Specified by:
registerObjectInstanceWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotPublished
hla.rti.AttributeNotDefined
hla.rti.AttributeNotPublished
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

registerObjectInstanceWithRegion

public int registerObjectInstanceWithRegion(int theClass,
                                            String theObject,
                                            int[] theAttributes,
                                            hla.rti.Region[] theRegions)
                                     throws hla.rti.ObjectClassNotDefined,
                                            hla.rti.ObjectClassNotPublished,
                                            hla.rti.AttributeNotDefined,
                                            hla.rti.AttributeNotPublished,
                                            hla.rti.RegionNotKnown,
                                            hla.rti.InvalidRegionContext,
                                            hla.rti.ObjectAlreadyRegistered,
                                            hla.rti.FederateNotExecutionMember,
                                            hla.rti.SaveInProgress,
                                            hla.rti.RestoreInProgress,
                                            hla.rti.RTIinternalError,
                                            hla.rti.ConcurrentAccessAttempted
Specified by:
registerObjectInstanceWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.ObjectClassNotPublished
hla.rti.AttributeNotDefined
hla.rti.AttributeNotPublished
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.ObjectAlreadyRegistered
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

associateRegionForUpdates

public void associateRegionForUpdates(hla.rti.Region theRegion,
                                      int theObject,
                                      hla.rti.AttributeHandleSet theAttributes)
                               throws hla.rti.ObjectNotKnown,
                                      hla.rti.AttributeNotDefined,
                                      hla.rti.InvalidRegionContext,
                                      hla.rti.RegionNotKnown,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
associateRegionForUpdates in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.AttributeNotDefined
hla.rti.InvalidRegionContext
hla.rti.RegionNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unassociateRegionForUpdates

public void unassociateRegionForUpdates(hla.rti.Region theRegion,
                                        int theObject)
                                 throws hla.rti.ObjectNotKnown,
                                        hla.rti.InvalidRegionContext,
                                        hla.rti.RegionNotKnown,
                                        hla.rti.FederateNotExecutionMember,
                                        hla.rti.SaveInProgress,
                                        hla.rti.RestoreInProgress,
                                        hla.rti.RTIinternalError,
                                        hla.rti.ConcurrentAccessAttempted
Specified by:
unassociateRegionForUpdates in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.InvalidRegionContext
hla.rti.RegionNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeObjectClassAttributesWithRegion

public void subscribeObjectClassAttributesWithRegion(int theClass,
                                                     hla.rti.Region theRegion,
                                                     hla.rti.AttributeHandleSet attributes)
                                              throws hla.rti.ObjectClassNotDefined,
                                                     hla.rti.AttributeNotDefined,
                                                     hla.rti.RegionNotKnown,
                                                     hla.rti.InvalidRegionContext,
                                                     hla.rti.FederateNotExecutionMember,
                                                     hla.rti.SaveInProgress,
                                                     hla.rti.RestoreInProgress,
                                                     hla.rti.RTIinternalError,
                                                     hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeObjectClassAttributesWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeObjectClassAttributesPassivelyWithRegion

public void subscribeObjectClassAttributesPassivelyWithRegion(int theClass,
                                                              hla.rti.Region theRegion,
                                                              hla.rti.AttributeHandleSet attributeList)
                                                       throws hla.rti.ObjectClassNotDefined,
                                                              hla.rti.AttributeNotDefined,
                                                              hla.rti.RegionNotKnown,
                                                              hla.rti.InvalidRegionContext,
                                                              hla.rti.FederateNotExecutionMember,
                                                              hla.rti.SaveInProgress,
                                                              hla.rti.RestoreInProgress,
                                                              hla.rti.RTIinternalError,
                                                              hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeObjectClassAttributesPassivelyWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unsubscribeObjectClassWithRegion

public void unsubscribeObjectClassWithRegion(int theClass,
                                             hla.rti.Region theRegion)
                                      throws hla.rti.ObjectClassNotDefined,
                                             hla.rti.RegionNotKnown,
                                             hla.rti.FederateNotSubscribed,
                                             hla.rti.FederateNotExecutionMember,
                                             hla.rti.SaveInProgress,
                                             hla.rti.RestoreInProgress,
                                             hla.rti.RTIinternalError,
                                             hla.rti.ConcurrentAccessAttempted
Specified by:
unsubscribeObjectClassWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.RegionNotKnown
hla.rti.FederateNotSubscribed
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeInteractionClassWithRegion

public void subscribeInteractionClassWithRegion(int theClass,
                                                hla.rti.Region theRegion)
                                         throws hla.rti.InteractionClassNotDefined,
                                                hla.rti.RegionNotKnown,
                                                hla.rti.InvalidRegionContext,
                                                hla.rti.FederateLoggingServiceCalls,
                                                hla.rti.FederateNotExecutionMember,
                                                hla.rti.SaveInProgress,
                                                hla.rti.RestoreInProgress,
                                                hla.rti.RTIinternalError,
                                                hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeInteractionClassWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateLoggingServiceCalls
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

subscribeInteractionClassPassivelyWithRegion

public void subscribeInteractionClassPassivelyWithRegion(int theClass,
                                                         hla.rti.Region theRegion)
                                                  throws hla.rti.InteractionClassNotDefined,
                                                         hla.rti.RegionNotKnown,
                                                         hla.rti.InvalidRegionContext,
                                                         hla.rti.FederateLoggingServiceCalls,
                                                         hla.rti.FederateNotExecutionMember,
                                                         hla.rti.SaveInProgress,
                                                         hla.rti.RestoreInProgress,
                                                         hla.rti.RTIinternalError,
                                                         hla.rti.ConcurrentAccessAttempted
Specified by:
subscribeInteractionClassPassivelyWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateLoggingServiceCalls
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

unsubscribeInteractionClassWithRegion

public void unsubscribeInteractionClassWithRegion(int theClass,
                                                  hla.rti.Region theRegion)
                                           throws hla.rti.InteractionClassNotDefined,
                                                  hla.rti.InteractionClassNotSubscribed,
                                                  hla.rti.RegionNotKnown,
                                                  hla.rti.FederateNotExecutionMember,
                                                  hla.rti.SaveInProgress,
                                                  hla.rti.RestoreInProgress,
                                                  hla.rti.RTIinternalError,
                                                  hla.rti.ConcurrentAccessAttempted
Specified by:
unsubscribeInteractionClassWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotSubscribed
hla.rti.RegionNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

sendInteractionWithRegion

public void sendInteractionWithRegion(int theInteraction,
                                      hla.rti.SuppliedParameters theParameters,
                                      byte[] tag,
                                      hla.rti.Region theRegion)
                               throws hla.rti.InteractionClassNotDefined,
                                      hla.rti.InteractionClassNotPublished,
                                      hla.rti.InteractionParameterNotDefined,
                                      hla.rti.RegionNotKnown,
                                      hla.rti.InvalidRegionContext,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.SaveInProgress,
                                      hla.rti.RestoreInProgress,
                                      hla.rti.RTIinternalError,
                                      hla.rti.ConcurrentAccessAttempted
Specified by:
sendInteractionWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InteractionParameterNotDefined
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

sendInteractionWithRegion

public hla.rti.EventRetractionHandle sendInteractionWithRegion(int theInteraction,
                                                               hla.rti.SuppliedParameters theParameters,
                                                               byte[] tag,
                                                               hla.rti.Region theRegion,
                                                               hla.rti.LogicalTime theTime)
                                                        throws hla.rti.InteractionClassNotDefined,
                                                               hla.rti.InteractionClassNotPublished,
                                                               hla.rti.InteractionParameterNotDefined,
                                                               hla.rti.InvalidFederationTime,
                                                               hla.rti.RegionNotKnown,
                                                               hla.rti.InvalidRegionContext,
                                                               hla.rti.FederateNotExecutionMember,
                                                               hla.rti.SaveInProgress,
                                                               hla.rti.RestoreInProgress,
                                                               hla.rti.RTIinternalError,
                                                               hla.rti.ConcurrentAccessAttempted
Specified by:
sendInteractionWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionClassNotPublished
hla.rti.InteractionParameterNotDefined
hla.rti.InvalidFederationTime
hla.rti.RegionNotKnown
hla.rti.InvalidRegionContext
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

requestClassAttributeValueUpdateWithRegion

public void requestClassAttributeValueUpdateWithRegion(int theClass,
                                                       hla.rti.AttributeHandleSet theAttributes,
                                                       hla.rti.Region theRegion)
                                                throws hla.rti.ObjectClassNotDefined,
                                                       hla.rti.AttributeNotDefined,
                                                       hla.rti.RegionNotKnown,
                                                       hla.rti.FederateNotExecutionMember,
                                                       hla.rti.SaveInProgress,
                                                       hla.rti.RestoreInProgress,
                                                       hla.rti.RTIinternalError,
                                                       hla.rti.ConcurrentAccessAttempted
Specified by:
requestClassAttributeValueUpdateWithRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.RegionNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

getObjectClassHandle

public int getObjectClassHandle(String theName)
                         throws hla.rti.NameNotFound,
                                hla.rti.FederateNotExecutionMember,
                                hla.rti.RTIinternalError
Specified by:
getObjectClassHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getObjectClassName

public String getObjectClassName(int theHandle)
                          throws hla.rti.ObjectClassNotDefined,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.RTIinternalError
Specified by:
getObjectClassName in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getAttributeHandle

public int getAttributeHandle(String theName,
                              int whichClass)
                       throws hla.rti.ObjectClassNotDefined,
                              hla.rti.NameNotFound,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.RTIinternalError
Specified by:
getAttributeHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getAttributeName

public String getAttributeName(int theHandle,
                               int whichClass)
                        throws hla.rti.ObjectClassNotDefined,
                               hla.rti.AttributeNotDefined,
                               hla.rti.FederateNotExecutionMember,
                               hla.rti.RTIinternalError
Specified by:
getAttributeName in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getInteractionClassHandle

public int getInteractionClassHandle(String theName)
                              throws hla.rti.NameNotFound,
                                     hla.rti.FederateNotExecutionMember,
                                     hla.rti.RTIinternalError
Specified by:
getInteractionClassHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getInteractionClassName

public String getInteractionClassName(int theHandle)
                               throws hla.rti.InteractionClassNotDefined,
                                      hla.rti.FederateNotExecutionMember,
                                      hla.rti.RTIinternalError
Specified by:
getInteractionClassName in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getParameterHandle

public int getParameterHandle(String theName,
                              int whichClass)
                       throws hla.rti.InteractionClassNotDefined,
                              hla.rti.NameNotFound,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.RTIinternalError
Specified by:
getParameterHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getParameterName

public String getParameterName(int theHandle,
                               int whichClass)
                        throws hla.rti.InteractionClassNotDefined,
                               hla.rti.InteractionParameterNotDefined,
                               hla.rti.FederateNotExecutionMember,
                               hla.rti.RTIinternalError
Specified by:
getParameterName in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.InteractionParameterNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getObjectInstanceHandle

public int getObjectInstanceHandle(String theName)
                            throws hla.rti.ObjectNotKnown,
                                   hla.rti.FederateNotExecutionMember,
                                   hla.rti.RTIinternalError
Specified by:
getObjectInstanceHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getObjectInstanceName

public String getObjectInstanceName(int theHandle)
                             throws hla.rti.ObjectNotKnown,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.RTIinternalError
Specified by:
getObjectInstanceName in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getRoutingSpaceHandle

public int getRoutingSpaceHandle(String theName)
                          throws hla.rti.NameNotFound,
                                 hla.rti.FederateNotExecutionMember,
                                 hla.rti.RTIinternalError
Specified by:
getRoutingSpaceHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getRoutingSpaceName

public String getRoutingSpaceName(int theHandle)
                           throws hla.rti.SpaceNotDefined,
                                  hla.rti.FederateNotExecutionMember,
                                  hla.rti.RTIinternalError
Specified by:
getRoutingSpaceName in interface hla.rti.RTIambassador
Throws:
hla.rti.SpaceNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getDimensionHandle

public int getDimensionHandle(String theName,
                              int whichSpace)
                       throws hla.rti.SpaceNotDefined,
                              hla.rti.NameNotFound,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.RTIinternalError
Specified by:
getDimensionHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.SpaceNotDefined
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getDimensionName

public String getDimensionName(int theHandle,
                               int whichSpace)
                        throws hla.rti.SpaceNotDefined,
                               hla.rti.DimensionNotDefined,
                               hla.rti.FederateNotExecutionMember,
                               hla.rti.RTIinternalError
Specified by:
getDimensionName in interface hla.rti.RTIambassador
Throws:
hla.rti.SpaceNotDefined
hla.rti.DimensionNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getAttributeRoutingSpaceHandle

public int getAttributeRoutingSpaceHandle(int theHandle,
                                          int whichClass)
                                   throws hla.rti.ObjectClassNotDefined,
                                          hla.rti.AttributeNotDefined,
                                          hla.rti.FederateNotExecutionMember,
                                          hla.rti.RTIinternalError
Specified by:
getAttributeRoutingSpaceHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectClassNotDefined
hla.rti.AttributeNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getObjectClass

public int getObjectClass(int theObject)
                   throws hla.rti.ObjectNotKnown,
                          hla.rti.FederateNotExecutionMember,
                          hla.rti.RTIinternalError
Specified by:
getObjectClass in interface hla.rti.RTIambassador
Throws:
hla.rti.ObjectNotKnown
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getInteractionRoutingSpaceHandle

public int getInteractionRoutingSpaceHandle(int theHandle)
                                     throws hla.rti.InteractionClassNotDefined,
                                            hla.rti.FederateNotExecutionMember,
                                            hla.rti.RTIinternalError
Specified by:
getInteractionRoutingSpaceHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.InteractionClassNotDefined
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getTransportationHandle

public int getTransportationHandle(String theName)
                            throws hla.rti.NameNotFound,
                                   hla.rti.FederateNotExecutionMember,
                                   hla.rti.RTIinternalError
Specified by:
getTransportationHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getTransportationName

public String getTransportationName(int theHandle)
                             throws hla.rti.InvalidTransportationHandle,
                                    hla.rti.FederateNotExecutionMember,
                                    hla.rti.RTIinternalError
Specified by:
getTransportationName in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidTransportationHandle
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getOrderingHandle

public int getOrderingHandle(String theName)
                      throws hla.rti.NameNotFound,
                             hla.rti.FederateNotExecutionMember,
                             hla.rti.RTIinternalError
Specified by:
getOrderingHandle in interface hla.rti.RTIambassador
Throws:
hla.rti.NameNotFound
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

getOrderingName

public String getOrderingName(int theHandle)
                       throws hla.rti.InvalidOrderingHandle,
                              hla.rti.FederateNotExecutionMember,
                              hla.rti.RTIinternalError
Specified by:
getOrderingName in interface hla.rti.RTIambassador
Throws:
hla.rti.InvalidOrderingHandle
hla.rti.FederateNotExecutionMember
hla.rti.RTIinternalError

enableClassRelevanceAdvisorySwitch

public void enableClassRelevanceAdvisorySwitch()
                                        throws hla.rti.FederateNotExecutionMember,
                                               hla.rti.SaveInProgress,
                                               hla.rti.RestoreInProgress,
                                               hla.rti.RTIinternalError
Specified by:
enableClassRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

disableClassRelevanceAdvisorySwitch

public void disableClassRelevanceAdvisorySwitch()
                                         throws hla.rti.FederateNotExecutionMember,
                                                hla.rti.SaveInProgress,
                                                hla.rti.RestoreInProgress,
                                                hla.rti.RTIinternalError
Specified by:
disableClassRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

enableAttributeRelevanceAdvisorySwitch

public void enableAttributeRelevanceAdvisorySwitch()
                                            throws hla.rti.FederateNotExecutionMember,
                                                   hla.rti.SaveInProgress,
                                                   hla.rti.RestoreInProgress,
                                                   hla.rti.RTIinternalError
Specified by:
enableAttributeRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

disableAttributeRelevanceAdvisorySwitch

public void disableAttributeRelevanceAdvisorySwitch()
                                             throws hla.rti.FederateNotExecutionMember,
                                                    hla.rti.SaveInProgress,
                                                    hla.rti.RestoreInProgress,
                                                    hla.rti.RTIinternalError
Specified by:
disableAttributeRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

enableAttributeScopeAdvisorySwitch

public void enableAttributeScopeAdvisorySwitch()
                                        throws hla.rti.FederateNotExecutionMember,
                                               hla.rti.SaveInProgress,
                                               hla.rti.RestoreInProgress,
                                               hla.rti.RTIinternalError
Specified by:
enableAttributeScopeAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

disableAttributeScopeAdvisorySwitch

public void disableAttributeScopeAdvisorySwitch()
                                         throws hla.rti.FederateNotExecutionMember,
                                                hla.rti.SaveInProgress,
                                                hla.rti.RestoreInProgress,
                                                hla.rti.RTIinternalError
Specified by:
disableAttributeScopeAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

enableInteractionRelevanceAdvisorySwitch

public void enableInteractionRelevanceAdvisorySwitch()
                                              throws hla.rti.FederateNotExecutionMember,
                                                     hla.rti.SaveInProgress,
                                                     hla.rti.RestoreInProgress,
                                                     hla.rti.RTIinternalError
Specified by:
enableInteractionRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

disableInteractionRelevanceAdvisorySwitch

public void disableInteractionRelevanceAdvisorySwitch()
                                               throws hla.rti.FederateNotExecutionMember,
                                                      hla.rti.SaveInProgress,
                                                      hla.rti.RestoreInProgress,
                                                      hla.rti.RTIinternalError
Specified by:
disableInteractionRelevanceAdvisorySwitch in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.SaveInProgress
hla.rti.RestoreInProgress
hla.rti.RTIinternalError

getRegion

public hla.rti.Region getRegion(int regionToken)
                         throws hla.rti.FederateNotExecutionMember,
                                hla.rti.ConcurrentAccessAttempted,
                                hla.rti.RegionNotKnown,
                                hla.rti.RTIinternalError
Specified by:
getRegion in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.ConcurrentAccessAttempted
hla.rti.RegionNotKnown
hla.rti.RTIinternalError

getRegionToken

public int getRegionToken(hla.rti.Region region)
                   throws hla.rti.FederateNotExecutionMember,
                          hla.rti.ConcurrentAccessAttempted,
                          hla.rti.RegionNotKnown,
                          hla.rti.RTIinternalError
Specified by:
getRegionToken in interface hla.rti.RTIambassador
Throws:
hla.rti.FederateNotExecutionMember
hla.rti.ConcurrentAccessAttempted
hla.rti.RegionNotKnown
hla.rti.RTIinternalError

tick

public void tick()
          throws hla.rti.RTIinternalError,
                 hla.rti.ConcurrentAccessAttempted
Keeps processing the callback queue until it is empty (regardless of how long that takes)

Specified by:
tick in interface hla.rti.RTIambassador
Throws:
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

tick

public boolean tick(double min,
                    double max)
             throws hla.rti.RTIinternalError,
                    hla.rti.ConcurrentAccessAttempted
Specified by:
tick in interface hla.rti.jlc.RTIambassadorEx
Throws:
hla.rti.RTIinternalError
hla.rti.ConcurrentAccessAttempted

processMessage

private com.lbf.commons.messaging.ResponseMessage processMessage(RTI_RequestMessage request)

logException

private void logException(String method,
                          Throwable e)
                   throws hla.rti.RTIinternalError
This method prints the stack trace for the exception and then throws an RTIinternalError

Throws:
hla.rti.RTIinternalError

convertRegion

private RegionInstance convertRegion(hla.rti.Region region)
                              throws hla.rti.RegionNotKnown
This method will take in a given region instance, check that it is of the appropriate Portico type, convert it to the type and return it. If it isn't the right type, an exception will be thrown. If the region is null, an exception will be thrown.

Throws:
hla.rti.RegionNotKnown

convertRegions

private int[] convertRegions(hla.rti.Region[] regions)
                      throws hla.rti.RegionNotKnown
Convert the given array of regions to an array of integers that represents the region tokens of each of the regions.

Throws:
hla.rti.RegionNotKnown

convertTime

private double convertTime(hla.rti.LogicalTime time)
                    throws hla.rti.InvalidFederationTime
Converts a LogicalTime to a PorticoTime and extracts the double value of the time from it, throwing an exception if there is a problem. If the given parameter is null (which is valid in many situations), PorticoConstants.NULL_TIME is returned.

Throws:
hla.rti.InvalidFederationTime

convertLookahead

private double convertLookahead(hla.rti.LogicalTimeInterval interval)
                         throws hla.rti.InvalidLookahead
Converts the interval into the double value held by it. It will first convert the interval to the Portico type before extracting the double value. If the value is null, an exception will be thrown (this is unliked convertTime(LogicalTime)). If the value isn't a Portico implementation, an exception will be thrown.

Throws:
hla.rti.InvalidLookahead

convertHandles

private HashSet<Integer> convertHandles(hla.rti.AttributeHandleSet handles)
                                 throws hla.rti.RTIinternalError
Convert the given AttributeHandleSet to a HashSet of integers representing the handles

Throws:
hla.rti.RTIinternalError

convertAttributes

private HLA13ByteArrayMap convertAttributes(hla.rti.SuppliedAttributes attributes)
                                     throws hla.rti.RTIinternalError
Converts the SuppliedAttributes to a Portico type. If there is a problem in the conversion, or the given parameter is null, an exception is thrown.

Throws:
hla.rti.RTIinternalError

convertParameters

private HLA13ByteArrayMap convertParameters(hla.rti.SuppliedParameters parameters)
                                     throws hla.rti.RTIinternalError
Converts the SuppliedAttributes to a Portico type. If there is a problem in the conversion, or the given parameter is null, an exception is thrown.

Throws:
hla.rti.RTIinternalError

copyright The Portico Project 2008.