org.npsnet.xrti.proxies
Class ReflectionProxyAmbassador

java.lang.Object
  extended byorg.npsnet.xrti.utilities.ProxyAmbassador
      extended byorg.npsnet.xrti.proxies.ReflectionProxyAmbassador
All Implemented Interfaces:
FederateAmbassador

public class ReflectionProxyAmbassador
extends ProxyAmbassador

Autogenerated proxy ambassador.

Author:
org.npsnet.xrti.utilities.ProxyCompiler

Field Summary
 
Fields inherited from class org.npsnet.xrti.utilities.ProxyAmbassador
objectInstanceHandleProxyMap, proxyAmbassadorListeners, rtiAmbassador
 
Constructor Summary
ReflectionProxyAmbassador(RTIambassador pRTIAmbassador)
          Constructor.
 
Method Summary
 void addInteractionListener(ReflectionInteractionListener il)
          Adds a listener for the interactions processed by this ambassador.
 void discoverObjectInstance(ObjectInstanceHandle theObject, ObjectClassHandle theObjectClass, java.lang.String objectName)
          Notifies the federate of the presence of an object instance.
 HLAarrayDataTypeProxy newHLAarrayDataType()
          Registers a new HLAarrayDataType and returns a proxy object that may be used to examine and control its state.
 HLAarrayDataTypeProxy newHLAarrayDataType(java.lang.String name)
          Registers a new HLAarrayDataType with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAattributeProxy newHLAattribute()
          Registers a new HLAattribute and returns a proxy object that may be used to examine and control its state.
 HLAattributeProxy newHLAattribute(java.lang.String name)
          Registers a new HLAattribute with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAbasicRepresentationProxy newHLAbasicRepresentation()
          Registers a new HLAbasicRepresentation and returns a proxy object that may be used to examine and control its state.
 HLAbasicRepresentationProxy newHLAbasicRepresentation(java.lang.String name)
          Registers a new HLAbasicRepresentation with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAdataTypeProxy newHLAdataType()
          Registers a new HLAdataType and returns a proxy object that may be used to examine and control its state.
 HLAdataTypeProxy newHLAdataType(java.lang.String name)
          Registers a new HLAdataType with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAdimensionProxy newHLAdimension()
          Registers a new HLAdimension and returns a proxy object that may be used to examine and control its state.
 HLAdimensionProxy newHLAdimension(java.lang.String name)
          Registers a new HLAdimension with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAenumeratedDataTypeProxy newHLAenumeratedDataType()
          Registers a new HLAenumeratedDataType and returns a proxy object that may be used to examine and control its state.
 HLAenumeratedDataTypeProxy newHLAenumeratedDataType(java.lang.String name)
          Registers a new HLAenumeratedDataType with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAfixedRecordDataTypeProxy newHLAfixedRecordDataType()
          Registers a new HLAfixedRecordDataType and returns a proxy object that may be used to examine and control its state.
 HLAfixedRecordDataTypeProxy newHLAfixedRecordDataType(java.lang.String name)
          Registers a new HLAfixedRecordDataType with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAinteractionClassProxy newHLAinteractionClass()
          Registers a new HLAinteractionClass and returns a proxy object that may be used to examine and control its state.
 HLAinteractionClassProxy newHLAinteractionClass(java.lang.String name)
          Registers a new HLAinteractionClass with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAobjectClassProxy newHLAobjectClass()
          Registers a new HLAobjectClass and returns a proxy object that may be used to examine and control its state.
 HLAobjectClassProxy newHLAobjectClass(java.lang.String name)
          Registers a new HLAobjectClass with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAobjectRootProxy newHLAobjectRoot()
          Registers a new HLAobjectRoot and returns a proxy object that may be used to examine and control its state.
 HLAobjectRootProxy newHLAobjectRoot(java.lang.String name)
          Registers a new HLAobjectRoot with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAparameterProxy newHLAparameter()
          Registers a new HLAparameter and returns a proxy object that may be used to examine and control its state.
 HLAparameterProxy newHLAparameter(java.lang.String name)
          Registers a new HLAparameter with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAreflectionProxy newHLAreflection()
          Registers a new HLAreflection and returns a proxy object that may be used to examine and control its state.
 HLAreflectionProxy newHLAreflection(java.lang.String name)
          Registers a new HLAreflection with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAsimpleDataTypeProxy newHLAsimpleDataType()
          Registers a new HLAsimpleDataType and returns a proxy object that may be used to examine and control its state.
 HLAsimpleDataTypeProxy newHLAsimpleDataType(java.lang.String name)
          Registers a new HLAsimpleDataType with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAsynchronizationProxy newHLAsynchronization()
          Registers a new HLAsynchronization and returns a proxy object that may be used to examine and control its state.
 HLAsynchronizationProxy newHLAsynchronization(java.lang.String name)
          Registers a new HLAsynchronization with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAtransportationProxy newHLAtransportation()
          Registers a new HLAtransportation and returns a proxy object that may be used to examine and control its state.
 HLAtransportationProxy newHLAtransportation(java.lang.String name)
          Registers a new HLAtransportation with the specified name and returns a proxy object that may be used to examine and control its state.
 HLAvariantRecordDataTypeProxy newHLAvariantRecordDataType()
          Registers a new HLAvariantRecordDataType and returns a proxy object that may be used to examine and control its state.
 HLAvariantRecordDataTypeProxy newHLAvariantRecordDataType(java.lang.String name)
          Registers a new HLAvariantRecordDataType with the specified name and returns a proxy object that may be used to examine and control its state.
 void publishAndSubscribeObjectClassAttributes()
          Publishes and subscribes all supported object class attributes.
 void receiveInteraction(InteractionClassHandle interactionClass, ParameterHandleValueMap theParameters, byte[] userSuppliedTag, OrderType sentOrdering, TransportationType theTransport)
          Notifies the federate of a received interaction.
 void removeInteractionListener(ReflectionInteractionListener il)
          Removes a listener for the interactions processed by this ambassador.
 void sendHLAmergeFDD(byte[] federationDescriptionDocument, byte[] userSuppliedTag)
          Merges the contents of a new federation description document into the FOM.
 
Methods inherited from class org.npsnet.xrti.utilities.ProxyAmbassador
addProxyAmbassadorListener, announceSynchronizationPoint, attributeIsNotOwned, attributeIsOwnedByRTI, attributeOwnershipAcquisitionNotification, attributeOwnershipUnavailable, attributesInScope, attributesOutOfScope, confirmAttributeOwnershipAcquisitionCancellation, deregisterFederateAmbassador, federationNotRestored, federationNotSaved, federationRestoreBegun, federationRestored, federationRestoreStatusResponse, federationSaved, federationSaveStatusResponse, federationSynchronized, getObjectInstanceProxies, getObjectInstanceProxy, informAttributeOwnership, initiateFederateRestore, initiateFederateSave, initiateFederateSave, objectInstanceNameReservationFailed, objectInstanceNameReservationSucceded, provideAttributeValueUpdate, receiveInteraction, receiveInteraction, receiveInteraction, receiveInteraction, receiveInteraction, reflectAttributeValues, reflectAttributeValues, reflectAttributeValues, reflectAttributeValues, reflectAttributeValues, reflectAttributeValues, registerFederateAmbassador, removeObjectInstance, removeObjectInstance, removeObjectInstance, removeProxyAmbassadorListener, requestAttributeOwnershipAssumption, requestAttributeOwnershipRelease, requestDivestitureConfirmation, requestFederationRestoreFailed, requestFederationRestoreSucceeded, requestRetraction, startRegistrationForObjectClass, stopRegistrationForObjectClass, synchronizationPointRegistrationFailed, synchronizationPointRegistrationSucceeded, timeAdvanceGrant, timeConstrainedEnabled, timeRegulationEnabled, turnInteractionsOff, turnInteractionsOn, turnUpdatesOffForObjectInstance, turnUpdatesOnForObjectInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionProxyAmbassador

public ReflectionProxyAmbassador(RTIambassador pRTIAmbassador)
                          throws InvalidInteractionClassHandle,
                                 InvalidObjectClassHandle,
                                 NameNotFound,
                                 InteractionClassNotDefined,
                                 FederateServiceInvocationsAreBeingReportedViaMOM,
                                 FederateNotExecutionMember,
                                 SaveInProgress,
                                 RestoreInProgress,
                                 RTIinternalError
Constructor.

Parameters:
pRTIAmbassador - the run-time infrastructure ambassador
Throws:
InvalidInteractionClassHandle - if an interaction class handle was invalid
NameNotFound - if an interaction or parameter name was not found
InteractionClassNotDefined - if an interaction class is not defined
FederateServiceInvocationsAreBeingReportedViaMOM - if federate service invocations are being reported via the management object model
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure
InvalidObjectClassHandle
Method Detail

publishAndSubscribeObjectClassAttributes

public void publishAndSubscribeObjectClassAttributes()
                                              throws InvalidObjectClassHandle,
                                                     NameNotFound,
                                                     ObjectClassNotDefined,
                                                     AttributeNotDefined,
                                                     FederateNotExecutionMember,
                                                     SaveInProgress,
                                                     RestoreInProgress,
                                                     RTIinternalError
Publishes and subscribes all supported object class attributes.

Throws:
InvalidObjectClassHandle - if an object class handle is invalid
NameNotFound - if a name is not found
ObjectClassNotDefined - if an object class is undefined
AttributeNotDefined - if an attribute is undefined
FederateNotExecutionMember - if the federate is not an execution member
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurs in the run-time infrastructure

newHLAobjectRoot

public HLAobjectRootProxy newHLAobjectRoot()
                                    throws ObjectClassNotDefined,
                                           ObjectClassNotPublished,
                                           FederateNotExecutionMember,
                                           SaveInProgress,
                                           RestoreInProgress,
                                           RTIinternalError
Registers a new HLAobjectRoot and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAobjectRoot

public HLAobjectRootProxy newHLAobjectRoot(java.lang.String name)
                                    throws ObjectClassNotDefined,
                                           ObjectClassNotPublished,
                                           IllegalName,
                                           ObjectInstanceNameInUse,
                                           FederateNotExecutionMember,
                                           SaveInProgress,
                                           RestoreInProgress,
                                           RTIinternalError
Registers a new HLAobjectRoot with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAreflection

public HLAreflectionProxy newHLAreflection()
                                    throws ObjectClassNotDefined,
                                           ObjectClassNotPublished,
                                           FederateNotExecutionMember,
                                           SaveInProgress,
                                           RestoreInProgress,
                                           RTIinternalError
Registers a new HLAreflection and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAreflection

public HLAreflectionProxy newHLAreflection(java.lang.String name)
                                    throws ObjectClassNotDefined,
                                           ObjectClassNotPublished,
                                           IllegalName,
                                           ObjectInstanceNameInUse,
                                           FederateNotExecutionMember,
                                           SaveInProgress,
                                           RestoreInProgress,
                                           RTIinternalError
Registers a new HLAreflection with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAobjectClass

public HLAobjectClassProxy newHLAobjectClass()
                                      throws ObjectClassNotDefined,
                                             ObjectClassNotPublished,
                                             FederateNotExecutionMember,
                                             SaveInProgress,
                                             RestoreInProgress,
                                             RTIinternalError
Registers a new HLAobjectClass and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAobjectClass

public HLAobjectClassProxy newHLAobjectClass(java.lang.String name)
                                      throws ObjectClassNotDefined,
                                             ObjectClassNotPublished,
                                             IllegalName,
                                             ObjectInstanceNameInUse,
                                             FederateNotExecutionMember,
                                             SaveInProgress,
                                             RestoreInProgress,
                                             RTIinternalError
Registers a new HLAobjectClass with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAattribute

public HLAattributeProxy newHLAattribute()
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAattribute and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAattribute

public HLAattributeProxy newHLAattribute(java.lang.String name)
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         IllegalName,
                                         ObjectInstanceNameInUse,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAattribute with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAinteractionClass

public HLAinteractionClassProxy newHLAinteractionClass()
                                                throws ObjectClassNotDefined,
                                                       ObjectClassNotPublished,
                                                       FederateNotExecutionMember,
                                                       SaveInProgress,
                                                       RestoreInProgress,
                                                       RTIinternalError
Registers a new HLAinteractionClass and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAinteractionClass

public HLAinteractionClassProxy newHLAinteractionClass(java.lang.String name)
                                                throws ObjectClassNotDefined,
                                                       ObjectClassNotPublished,
                                                       IllegalName,
                                                       ObjectInstanceNameInUse,
                                                       FederateNotExecutionMember,
                                                       SaveInProgress,
                                                       RestoreInProgress,
                                                       RTIinternalError
Registers a new HLAinteractionClass with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAparameter

public HLAparameterProxy newHLAparameter()
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAparameter and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAparameter

public HLAparameterProxy newHLAparameter(java.lang.String name)
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         IllegalName,
                                         ObjectInstanceNameInUse,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAparameter with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAdimension

public HLAdimensionProxy newHLAdimension()
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAdimension and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAdimension

public HLAdimensionProxy newHLAdimension(java.lang.String name)
                                  throws ObjectClassNotDefined,
                                         ObjectClassNotPublished,
                                         IllegalName,
                                         ObjectInstanceNameInUse,
                                         FederateNotExecutionMember,
                                         SaveInProgress,
                                         RestoreInProgress,
                                         RTIinternalError
Registers a new HLAdimension with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAsynchronization

public HLAsynchronizationProxy newHLAsynchronization()
                                              throws ObjectClassNotDefined,
                                                     ObjectClassNotPublished,
                                                     FederateNotExecutionMember,
                                                     SaveInProgress,
                                                     RestoreInProgress,
                                                     RTIinternalError
Registers a new HLAsynchronization and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAsynchronization

public HLAsynchronizationProxy newHLAsynchronization(java.lang.String name)
                                              throws ObjectClassNotDefined,
                                                     ObjectClassNotPublished,
                                                     IllegalName,
                                                     ObjectInstanceNameInUse,
                                                     FederateNotExecutionMember,
                                                     SaveInProgress,
                                                     RestoreInProgress,
                                                     RTIinternalError
Registers a new HLAsynchronization with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAtransportation

public HLAtransportationProxy newHLAtransportation()
                                            throws ObjectClassNotDefined,
                                                   ObjectClassNotPublished,
                                                   FederateNotExecutionMember,
                                                   SaveInProgress,
                                                   RestoreInProgress,
                                                   RTIinternalError
Registers a new HLAtransportation and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAtransportation

public HLAtransportationProxy newHLAtransportation(java.lang.String name)
                                            throws ObjectClassNotDefined,
                                                   ObjectClassNotPublished,
                                                   IllegalName,
                                                   ObjectInstanceNameInUse,
                                                   FederateNotExecutionMember,
                                                   SaveInProgress,
                                                   RestoreInProgress,
                                                   RTIinternalError
Registers a new HLAtransportation with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAdataType

public HLAdataTypeProxy newHLAdataType()
                                throws ObjectClassNotDefined,
                                       ObjectClassNotPublished,
                                       FederateNotExecutionMember,
                                       SaveInProgress,
                                       RestoreInProgress,
                                       RTIinternalError
Registers a new HLAdataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAdataType

public HLAdataTypeProxy newHLAdataType(java.lang.String name)
                                throws ObjectClassNotDefined,
                                       ObjectClassNotPublished,
                                       IllegalName,
                                       ObjectInstanceNameInUse,
                                       FederateNotExecutionMember,
                                       SaveInProgress,
                                       RestoreInProgress,
                                       RTIinternalError
Registers a new HLAdataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAbasicRepresentation

public HLAbasicRepresentationProxy newHLAbasicRepresentation()
                                                      throws ObjectClassNotDefined,
                                                             ObjectClassNotPublished,
                                                             FederateNotExecutionMember,
                                                             SaveInProgress,
                                                             RestoreInProgress,
                                                             RTIinternalError
Registers a new HLAbasicRepresentation and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAbasicRepresentation

public HLAbasicRepresentationProxy newHLAbasicRepresentation(java.lang.String name)
                                                      throws ObjectClassNotDefined,
                                                             ObjectClassNotPublished,
                                                             IllegalName,
                                                             ObjectInstanceNameInUse,
                                                             FederateNotExecutionMember,
                                                             SaveInProgress,
                                                             RestoreInProgress,
                                                             RTIinternalError
Registers a new HLAbasicRepresentation with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAsimpleDataType

public HLAsimpleDataTypeProxy newHLAsimpleDataType()
                                            throws ObjectClassNotDefined,
                                                   ObjectClassNotPublished,
                                                   FederateNotExecutionMember,
                                                   SaveInProgress,
                                                   RestoreInProgress,
                                                   RTIinternalError
Registers a new HLAsimpleDataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAsimpleDataType

public HLAsimpleDataTypeProxy newHLAsimpleDataType(java.lang.String name)
                                            throws ObjectClassNotDefined,
                                                   ObjectClassNotPublished,
                                                   IllegalName,
                                                   ObjectInstanceNameInUse,
                                                   FederateNotExecutionMember,
                                                   SaveInProgress,
                                                   RestoreInProgress,
                                                   RTIinternalError
Registers a new HLAsimpleDataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAenumeratedDataType

public HLAenumeratedDataTypeProxy newHLAenumeratedDataType()
                                                    throws ObjectClassNotDefined,
                                                           ObjectClassNotPublished,
                                                           FederateNotExecutionMember,
                                                           SaveInProgress,
                                                           RestoreInProgress,
                                                           RTIinternalError
Registers a new HLAenumeratedDataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAenumeratedDataType

public HLAenumeratedDataTypeProxy newHLAenumeratedDataType(java.lang.String name)
                                                    throws ObjectClassNotDefined,
                                                           ObjectClassNotPublished,
                                                           IllegalName,
                                                           ObjectInstanceNameInUse,
                                                           FederateNotExecutionMember,
                                                           SaveInProgress,
                                                           RestoreInProgress,
                                                           RTIinternalError
Registers a new HLAenumeratedDataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAarrayDataType

public HLAarrayDataTypeProxy newHLAarrayDataType()
                                          throws ObjectClassNotDefined,
                                                 ObjectClassNotPublished,
                                                 FederateNotExecutionMember,
                                                 SaveInProgress,
                                                 RestoreInProgress,
                                                 RTIinternalError
Registers a new HLAarrayDataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAarrayDataType

public HLAarrayDataTypeProxy newHLAarrayDataType(java.lang.String name)
                                          throws ObjectClassNotDefined,
                                                 ObjectClassNotPublished,
                                                 IllegalName,
                                                 ObjectInstanceNameInUse,
                                                 FederateNotExecutionMember,
                                                 SaveInProgress,
                                                 RestoreInProgress,
                                                 RTIinternalError
Registers a new HLAarrayDataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAfixedRecordDataType

public HLAfixedRecordDataTypeProxy newHLAfixedRecordDataType()
                                                      throws ObjectClassNotDefined,
                                                             ObjectClassNotPublished,
                                                             FederateNotExecutionMember,
                                                             SaveInProgress,
                                                             RestoreInProgress,
                                                             RTIinternalError
Registers a new HLAfixedRecordDataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAfixedRecordDataType

public HLAfixedRecordDataTypeProxy newHLAfixedRecordDataType(java.lang.String name)
                                                      throws ObjectClassNotDefined,
                                                             ObjectClassNotPublished,
                                                             IllegalName,
                                                             ObjectInstanceNameInUse,
                                                             FederateNotExecutionMember,
                                                             SaveInProgress,
                                                             RestoreInProgress,
                                                             RTIinternalError
Registers a new HLAfixedRecordDataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAvariantRecordDataType

public HLAvariantRecordDataTypeProxy newHLAvariantRecordDataType()
                                                          throws ObjectClassNotDefined,
                                                                 ObjectClassNotPublished,
                                                                 FederateNotExecutionMember,
                                                                 SaveInProgress,
                                                                 RestoreInProgress,
                                                                 RTIinternalError
Registers a new HLAvariantRecordDataType and returns a proxy object that may be used to examine and control its state.

Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

newHLAvariantRecordDataType

public HLAvariantRecordDataTypeProxy newHLAvariantRecordDataType(java.lang.String name)
                                                          throws ObjectClassNotDefined,
                                                                 ObjectClassNotPublished,
                                                                 IllegalName,
                                                                 ObjectInstanceNameInUse,
                                                                 FederateNotExecutionMember,
                                                                 SaveInProgress,
                                                                 RestoreInProgress,
                                                                 RTIinternalError
Registers a new HLAvariantRecordDataType with the specified name and returns a proxy object that may be used to examine and control its state.

Parameters:
name - the name of the new object
Returns:
the newly created proxy object
Throws:
ObjectClassNotDefined - if the specified object class is not defined
ObjectClassNotPublished - if the specified object class is not published
IllegalName - if the instance name has is illegal
ObjectInstanceNameInUse - if the instance name is already in use
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

addInteractionListener

public void addInteractionListener(ReflectionInteractionListener il)
Adds a listener for the interactions processed by this ambassador.

Parameters:
il - the listener object to add

removeInteractionListener

public void removeInteractionListener(ReflectionInteractionListener il)
Removes a listener for the interactions processed by this ambassador.

Parameters:
il - the listener object to remove

receiveInteraction

public void receiveInteraction(InteractionClassHandle interactionClass,
                               ParameterHandleValueMap theParameters,
                               byte[] userSuppliedTag,
                               OrderType sentOrdering,
                               TransportationType theTransport)
                        throws InteractionClassNotRecognized,
                               InteractionParameterNotRecognized,
                               InteractionClassNotSubscribed,
                               FederateInternalError
Notifies the federate of a received interaction.

Specified by:
receiveInteraction in interface FederateAmbassador
Overrides:
receiveInteraction in class ProxyAmbassador
Parameters:
interactionClass - the class of the received interaction
theParameters - the map between parameter handles and the values of the identified parameters
userSuppliedTag - a user-supplied tag associated with the interaction
sentOrdering - the type of ordering with which the interaction was sent
theTransport - the type of transport associated with the interaction
Throws:
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the interaction class
FederateInternalError - if an error occurs in the federate

discoverObjectInstance

public void discoverObjectInstance(ObjectInstanceHandle theObject,
                                   ObjectClassHandle theObjectClass,
                                   java.lang.String objectName)
                            throws CouldNotDiscover,
                                   ObjectClassNotRecognized,
                                   FederateInternalError
Notifies the federate of the presence of an object instance.

Specified by:
discoverObjectInstance in interface FederateAmbassador
Overrides:
discoverObjectInstance in class ProxyAmbassador
Parameters:
theObject - the instance handle of the newly discovered object
theObjectClass - the class handle of the newly discovered object
objectName - the name of the newly discovered object
Throws:
CouldNotDiscover - if the object could not be discovered
ObjectClassNotRecognized - if the object class was not recognized
FederateInternalError - if an error occurs in the federate

sendHLAmergeFDD

public void sendHLAmergeFDD(byte[] federationDescriptionDocument,
                            byte[] userSuppliedTag)
                     throws InteractionClassNotPublished,
                            InteractionClassNotDefined,
                            InteractionParameterNotDefined,
                            FederateNotExecutionMember,
                            SaveInProgress,
                            RestoreInProgress,
                            RTIinternalError
Merges the contents of a new federation description document into the FOM.

Parameters:
federationDescriptionDocument - The encoded federation description document.
userSuppliedTag - a user-supplied tag to accompany the interaction
Throws:
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurs in the run-time infrastructure