pRTI™ v1.3

se.pitch.prti
Class FederateAmbassador_Impl

java.lang.Object
  |
  +--se.pitch.prti.FederateAmbassador_Impl

public class FederateAmbassador_Impl
extends java.lang.Object
implements FederateAmbassador


Constructor Summary
FederateAmbassador_Impl()
           
 
Method Summary
 void announceSynchronizationPoint(java.lang.String synchronizationPointLabel, byte[] userSuppliedTag)
          The Announce Synchronization Point † service shall inform a federate of the existence of a new synchronization point label.
 void attributeIsNotOwned(int theObject, int theAttribute)
          The Attribute Is Not Owned † service shall be used to indicate that the specified instance attribute is unowned and available for acquisition.
 void attributeOwnedByRTI(int theObject, int theAttribute)
          The Attribute Owned By RTI † service shall be used to indicate that the specified instance attribute is owned by the RTI and not available for acquisition.
 void attributeOwnershipAcquisitionNotification(int theObject, AttributeHandleSet securedAttributes)
          The Attribute Ownership Acquisition Notification † service shall notify the federate that it now owns the specified set of instance attributes.
 void attributeOwnershipDivestitureNotification(int theObject, AttributeHandleSet releasedAttributes)
          The Attribute Ownership Divestiture Notification † service shall notify the federate that it no longer owns the specified set of instance attributes.
 void attributeOwnershipUnavailable(int theObject, AttributeHandleSet theAttributes)
          The Attribute Ownership Unavailable † service shall inform the federate that the specified instance attributes were not available for ownership acquisition.
 void attributesInScope(int theObject, AttributeHandleSet theAttributes)
          The Attributes In Scope † service shall notify the federate that the specified attributes for the object instance are in scope for the federate.
 void attributesOutOfScope(int theObject, AttributeHandleSet theAttributes)
          The Attributes Out Of Scope † service shall notify the federate that the specified attributes of the object instance are out of scope for the federate.
 void confirmAttributeOwnershipAcquisitionCancellation(int theObject, AttributeHandleSet theAttributes)
          The Confirm Attribute Ownership Acquisition Cancellation † service shall inform the federate that the specified instance attributes are no longer candidates for ownership acquisition.
 void discoverObjectInstance(int theObject, int theObjectClass, java.lang.String objectName)
          The Discover Object Instance † service shall inform the federate to discover an object instance.
 void federationNotRestored()
          The Federation Not Restored † service shall inform the federate that the federation restore process is completed unsuccessfully.
 void federationNotSaved()
          The Federation Not Saved † service shall inform the federate that the federation save process is completed unsuccessfully.
 void federationRestoreBegun()
          The Federation Restore Begun † service shall inform the federate that a federation restoration is imminent.
 void federationRestored()
          The Federation Restored † service shall inform the federate that the federation restore process is completed successfully.
 void federationSaved()
          The Federation Saved † service shall inform the federate that the federation save process is completed successfully.
 void federationSynchronized(java.lang.String synchronizationPointLabel)
          The Federation Synchronized † service shall inform the federate that all federates in the synchronization set of the specified synchronization point have invoked the Synchronization Point Achieved service for that point.
 void informAttributeOwnership(int theObject, int theAttribute, int theOwner)
          The Inform Attribute Ownership † service shall be used to provide ownership information for the specified instance attribute.
 void initiateFederateRestore(java.lang.String label, int federateHandle)
          The Initiate Federate Restore † service shall instruct the federate to return to a previously saved state.
 void initiateFederateSave(java.lang.String label)
          The Initiate Federate Save † service shall instruct the federate to save state.
 void provideAttributeValueUpdate(int theObject, AttributeHandleSet theAttributes)
          The Provide Attribute Value Update † service shall request the current values for attributes owned by the federate for a given object instance.
 void receiveInteraction(int interactionClass, ReceivedInteraction theInteraction, byte[] userSuppliedTag)
          The Receive Interaction † service shall provide the federate with a sent interaction.
 void receiveInteraction(int interactionClass, ReceivedInteraction theInteraction, byte[] userSuppliedTag, LogicalTime theTime, se.pitch.prti.EventRetractionHandle eventRetractionHandle)
           
 void reflectAttributeValues(int theObject, ReflectedAttributes theAttributes, byte[] userSuppliedTag)
          The Reflect Attribute Values † service shall provide the federate with new values for the specified instance attributes.
 void reflectAttributeValues(int theObject, ReflectedAttributes theAttributes, byte[] userSuppliedTag, LogicalTime theTime, se.pitch.prti.EventRetractionHandle retractionHandle)
           
 void removeObjectInstance(int theObject, byte[] userSuppliedTag)
          The Remove Object Instance † service shall inform the federate that an object instance has been deleted from the federation execution.
 void removeObjectInstance(int theObject, byte[] userSuppliedTag, LogicalTime theTime, se.pitch.prti.EventRetractionHandle theHandle)
           
 void requestAttributeOwnershipAssumption(int theObject, AttributeHandleSet offeredAttributes, byte[] userSuppliedTag)
          The Request Attribute Ownership Assumption † service shall inform the federate that the specified instance attributes are available for transfer of ownership to the federate.
 void requestAttributeOwnershipRelease(int theObject, AttributeHandleSet candidateAttributes, byte[] userSuppliedTag)
          The Request Attribute Ownership Release † service shall request that the federate release ownership of the specified instance attributes of the specified object instance.
 void requestFederationRestoreFailed(java.lang.String label, java.lang.String reason)
          The Request Federation Restore Failed service † shall indicate to the federate the requested federation restoration has completed unsuccessfully.
 void requestFederationRestoreSucceeded(java.lang.String label)
          The Request Federation Restore Succeeded service † shall indicate to the federate the requested federation restoration has completed successfully.
 void requestRetraction(se.pitch.prti.EventRetractionHandle theHandle)
           
 void startRegistrationForObjectClass(int theClass)
          The Start Registration For Object Class † service shall notify the federate that registration of new object instances of the specified object class is advised because at least one of the class attributes that the federate is publishing at this object class is actively subscribed to at the specified object class or at a super- class of the specified object class by at least one other federate in the federation execution.
 void stopRegistrationForObjectClass(int theClass)
          The Stop Registration For Object Class † service shall notify the federate that registration of new object instances of the specified object class is not advised because none of the class attributes that the federate is publishing at this object class is actively subscribed to at the specified object class or at a super- class of the specified object class by any other federate in the federation execution.
 void synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel)
          The Synchronization Point Registration Failed † service shall indicate to the federate that the label was already in use or that the registration of this label has otherwise failed.
 void synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
          The Synchronization Point Registration Failed † service shall indicate to the federate that the label has been successfully registered.
 void timeAdvanceGrant(LogicalTime theTime)
          Invocation of the Time Advance Grant † service shall indicate that a prior request to advance the federate’s logical time has been honored.
 void timeConstrainedEnabled(LogicalTime theFederateTime)
          Invocation of the Time Constrained Enabled † service shall indicate that a prior request to become time constrained has been honored.
 void timeRegulationEnabled(LogicalTime theFederateTime)
          Invocation of the Time Regulation Enabled † service shall indicate that a prior request to enable time regulation has been honored.
 void turnInteractionsOff(int theHandle)
          The Turn Interactions Off † service shall indicate to the federate that the specified class of interactions is not relevant because it or a super- class is not actively subscribed to by any other federate in the federation execution.
 void turnInteractionsOn(int theHandle)
          The Turn Interactions On † service shall notify the federate that the specified class of interactions is relevant because it or a super- class is actively subscribed to by at least one other federate in the federation execution.
 void turnUpdatesOffForObjectInstance(int theObject, AttributeHandleSet theAttributes)
          The Turn Updates Off For Object Instance † service shall indicate to the federate that the values of the specified attributes of the object instance are not required anywhere in the federation execution.
 void turnUpdatesOnForObjectInstance(int theObject, AttributeHandleSet theAttributes)
          The Turn Updates On For Object Instance † service shall indicate to the federate that the values of the specified attributes of the specified object instance are required somewhere in the federation execution.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FederateAmbassador_Impl

public FederateAmbassador_Impl()
Method Detail

announceSynchronizationPoint

public void announceSynchronizationPoint(java.lang.String synchronizationPointLabel,
                                         byte[] userSuppliedTag)
                                  throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Announce Synchronization Point † service shall inform a federate of the existence of a new synchronization point label. When a synchronization point label has been registered with the Register Federation Synchronization Point service, the RTI shall invoke the Announce Synchronization Point † service, at either all the federates in the execution or at the specified set of federates, to inform them of the label existence. The federates informed of the existence of a given synchronization point label via the Announce Synchronization Point † service shall form the synchronization set for that point. If the optional set of federate designators was null or not provided when the synchronization point label was registered, the RTI shall also invoke the Announce Synchronization Point † service at all federates that join the federation execution after the synchronization label was registered but before all federates that were informed of the synchronization label existence have invoked the Synchronization Point Achieved service. These newly joining federates shall also become part of the synchronization set for that point. Federates that resign from the federation execution after the announcement of a synchronization point but before the federation synchronizes at that point shall be removed from the synchronization set. The user- supplied tag supplied by the Announce Synchronization Point † service shall be the tag that was supplied to the corresponding Register Federation Synchronization Point service invocation.
Specified by:
announceSynchronizationPoint in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
synchronizationPointLabel - Synchronization point label
userSuppliedTag - User- supplied tag

synchronizationPointRegistrationFailed

public void synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel)
                                            throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Synchronization Point Registration Failed † service shall indicate to the federate that the label was already in use or that the registration of this label has otherwise failed. This service shall be invoked in response to a Register Federation Synchronization Point service invocation.
Specified by:
synchronizationPointRegistrationFailed in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
synchronizationPointLabel - Synchronization point label

synchronizationPointRegistrationSucceeded

public void synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
                                               throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Synchronization Point Registration Failed † service shall indicate to the federate that the label has been successfully registered. This service shall be invoked in response to a Register Federation Synchronization Point service invocation.
Specified by:
synchronizationPointRegistrationSucceeded in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
synchronizationPointLabel - Synchronization point label

attributeIsNotOwned

public void attributeIsNotOwned(int theObject,
                                int theAttribute)
                         throws hla.rti.ObjectNotKnown,
                                hla.rti.AttributeNotKnown,
                                hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attribute Is Not Owned † service shall be used to indicate that the specified instance attribute is unowned and available for acquisition.
Specified by:
attributeIsNotOwned in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttribute - Attribute designator

attributeOwnedByRTI

public void attributeOwnedByRTI(int theObject,
                                int theAttribute)
                         throws hla.rti.ObjectNotKnown,
                                hla.rti.AttributeNotKnown,
                                hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attribute Owned By RTI † service shall be used to indicate that the specified instance attribute is owned by the RTI and not available for acquisition.
Specified by:
attributeOwnedByRTI in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttribute - Attribute designator

attributeOwnershipAcquisitionNotification

public void attributeOwnershipAcquisitionNotification(int theObject,
                                                      AttributeHandleSet securedAttributes)
                                               throws hla.rti.ObjectNotKnown,
                                                      hla.rti.AttributeNotKnown,
                                                      hla.rti.AttributeAcquisitionWasNotRequested,
                                                      hla.rti.AttributeAlreadyOwned,
                                                      hla.rti.AttributeNotPublished,
                                                      hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attribute Ownership Acquisition Notification † service shall notify the federate that it now owns the specified set of instance attributes. The federate may then begin updating those instance attribute values. The federate may receive multiple notifications for a single invocation of the Attribute Ownership Acquisition service since the federate may wish to become the owner of instance attributes owned by different federates.
Specified by:
attributeOwnershipAcquisitionNotification in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
securedAttributes - Set of attribute designators

attributeOwnershipDivestitureNotification

public void attributeOwnershipDivestitureNotification(int theObject,
                                                      AttributeHandleSet releasedAttributes)
                                               throws hla.rti.ObjectNotKnown,
                                                      hla.rti.AttributeNotKnown,
                                                      hla.rti.AttributeNotOwned,
                                                      hla.rti.AttributeDivestitureWasNotRequested,
                                                      hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attribute Ownership Divestiture Notification † service shall notify the federate that it no longer owns the specified set of instance attributes. Upon this notification, the federate shall stop updating the specified instance attribute values. The federate may receive multiple notifications for a single invocation of the Negotiated Attribute Ownership Divestiture service since different federates may wish to become the owner of different instance attributes.
Specified by:
attributeOwnershipDivestitureNotification in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
releasedAttributes - Set of attribute designators

attributeOwnershipUnavailable

public void attributeOwnershipUnavailable(int theObject,
                                          AttributeHandleSet theAttributes)
                                   throws hla.rti.ObjectNotKnown,
                                          hla.rti.AttributeNotKnown,
                                          hla.rti.AttributeAlreadyOwned,
                                          hla.rti.AttributeAcquisitionWasNotRequested,
                                          hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attribute Ownership Unavailable † service shall inform the federate that the specified instance attributes were not available for ownership acquisition.
Specified by:
attributeOwnershipUnavailable in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

attributesInScope

public void attributesInScope(int theObject,
                              AttributeHandleSet theAttributes)
                       throws hla.rti.ObjectNotKnown,
                              hla.rti.AttributeNotKnown,
                              hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attributes In Scope † service shall notify the federate that the specified attributes for the object instance are in scope for the federate. Subsequent to this service invocation, the RTI may issue Reflect Attribute Values † service invocations for any of the set of attributes for the object instance. Generation of the Attributes In Scope † service advisory can be controlled using the Enable/ Disable Attribute Scope Advisory Switch services.
Specified by:
attributesInScope in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

attributesOutOfScope

public void attributesOutOfScope(int theObject,
                                 AttributeHandleSet theAttributes)
                          throws hla.rti.ObjectNotKnown,
                                 hla.rti.AttributeNotKnown,
                                 hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Attributes Out Of Scope † service shall notify the federate that the specified attributes of the object instance are out of scope for the federate. The RTI shall guarantee not to issue any subsequent Reflect Attribute Values † service invocations for any of the set of attributes for the object instance. Generation of the Attributes Out Of Scope † service advisory can be controlled using the Enable/ Disable Attribute Scope Advisory Switch services.
Specified by:
attributesOutOfScope in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

confirmAttributeOwnershipAcquisitionCancellation

public void confirmAttributeOwnershipAcquisitionCancellation(int theObject,
                                                             AttributeHandleSet theAttributes)
                                                      throws hla.rti.ObjectNotKnown,
                                                             hla.rti.AttributeNotKnown,
                                                             hla.rti.AttributeAlreadyOwned,
                                                             hla.rti.AttributeAcquisitionWasNotCanceled,
                                                             hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Confirm Attribute Ownership Acquisition Cancellation † service shall inform the federate that the specified instance attributes are no longer candidates for ownership acquisition.
Specified by:
confirmAttributeOwnershipAcquisitionCancellation in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

discoverObjectInstance

public void discoverObjectInstance(int theObject,
                                   int theObjectClass,
                                   java.lang.String objectName)
                            throws hla.rti.CouldNotDiscover,
                                   hla.rti.ObjectClassNotKnown,
                                   hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Discover Object Instance † service shall inform the federate to discover an object instance. An object instance shall be discovered when the instance has been registered by another federate or as the result of a Local Delete Object Instance service invocation. The object instance designator shall be unique to the local federate.
Specified by:
discoverObjectInstance in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theObjectClass - Object class designator
objectName - Object name

federationSynchronized

public void federationSynchronized(java.lang.String synchronizationPointLabel)
                            throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Synchronized † service shall inform the federate that all federates in the synchronization set of the specified synchronization point have invoked the Synchronization Point Achieved service for that point. This service shall be invoked at all federates that are in the synchronization set for that point, indicating that the federates in the synchronization set have synchronized at that point. Once the synchronization set for a point synchronizes (the Federation Synchronized † service invoked at all federates in the set), that point shall no longer be registered and the synchronization set for that point shall no longer exist.
Specified by:
federationSynchronized in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
synchronizationPointLabel - Synchronization point label

initiateFederateSave

public void initiateFederateSave(java.lang.String label)
                          throws hla.rti.UnableToPerformSave,
                                 hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Initiate Federate Save † service shall instruct the federate to save state. The federate should save as soon as possible after the invocation of the Initiate Federate Save † service. The label provided to the RTI when the save was requested, via the Request Federation Save service, shall be supplied to the federate. The federate shall use this label, the name of the federation execution, its federate designator, and its federate type, which it supplied when it invoked the Join Federation Execution service, to distinguish the saved state information. If a federate is not time- constrained, it shall expect to receive an Initiate Federate Save † service invocation at any time. If a federate is time constrained, it shall expect to receive an Initiate Federate Save † service invocation only when one of the following services is pending: Time Advance Request, Time Advance Request Available, Next Event Request, Next Event Request Available, or Flush Queue Request. The federate shall stop providing new information to the federation immediately after receiving the Initiate Federate Save † service invocation. The federate may resume providing new information to the federation only after receiving the Federation Saved † service invocation.
Specified by:
initiateFederateSave in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
label - Federation save label

federationSaved

public void federationSaved()
                     throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Saved † service shall inform the federate that the federation save process is completed successfully.
Specified by:
federationSaved in interface FederateAmbassador

federationNotSaved

public void federationNotSaved()
                        throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Not Saved † service shall inform the federate that the federation save process is completed unsuccessfully.
Specified by:
federationNotSaved in interface FederateAmbassador

requestFederationRestoreSucceeded

public void requestFederationRestoreSucceeded(java.lang.String label)
                                       throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Request Federation Restore Succeeded service † shall indicate to the federate the requested federation restoration has completed successfully. This service shall be invoked in response to a Register Federation Restore service invocation. The RTI restoration state information has been located which corresponds to the indicated label and federation execution name, a census of joined federates matches in number and type the census of federates present when the save was taken, and no other federate is currently attempting to restore the federation.
Specified by:
requestFederationRestoreSucceeded in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
label - Federation save label

requestFederationRestoreFailed

public void requestFederationRestoreFailed(java.lang.String label,
                                           java.lang.String reason)
                                    throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Request Federation Restore Failed service † shall indicate to the federate the requested federation restoration has completed unsuccessfully. This service shall be invoked in response to a Register Federation Restore service invocation.
Specified by:
requestFederationRestoreFailed in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
label - Federation save label
reason - Reason why the restore failed

federationRestoreBegun

public void federationRestoreBegun()
                            throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Restore Begun † service shall inform the federate that a federation restoration is imminent. The federate shall stop providing new information to the federation immediately after receiving the Federation Restore Begun † service invocation. The federate may resume providing new information to the federation only after receiving the Federation Restored † service invocation.
Specified by:
federationRestoreBegun in interface FederateAmbassador

federationRestored

public void federationRestored()
                        throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Restored † service shall inform the federate that the federation restore process is completed successfully.
Specified by:
federationRestored in interface FederateAmbassador

federationNotRestored

public void federationNotRestored()
                           throws hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Federation Not Restored † service shall inform the federate that the federation restore process is completed unsuccessfully.
Specified by:
federationNotRestored in interface FederateAmbassador

informAttributeOwnership

public void informAttributeOwnership(int theObject,
                                     int theAttribute,
                                     int theOwner)
                              throws hla.rti.ObjectNotKnown,
                                     hla.rti.AttributeNotKnown,
                                     hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Inform Attribute Ownership † service shall be used to provide ownership information for the specified instance attribute. This service shall be invoked by the RTI in response to a Query Attribute Ownership service invocation by a federate. This service shall provide the federate a designator of the instance attribute owner (if the instance attribute is owned) or an indication that the instance attribute is available for acquisition.
Specified by:
informAttributeOwnership in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttribute - Attribute designator
theOwner - Ownership designator

initiateFederateRestore

public void initiateFederateRestore(java.lang.String label,
                                    int federateHandle)
                             throws hla.rti.SpecifiedSaveLabelDoesNotExist,
                                    hla.rti.CouldNotRestore,
                                    hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Initiate Federate Restore † service shall instruct the federate to return to a previously saved state. The federate shall select the appropriate restoration state information based on the name of the current federation execution, the supplied federation save label, and the supplied federate designator. As a result of this service invocation, a federate’s designator could change from the value supplied by the Join Federation Execution service.
Specified by:
initiateFederateRestore in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
label - Federation save label
federateHandle - Federate designator

provideAttributeValueUpdate

public void provideAttributeValueUpdate(int theObject,
                                        AttributeHandleSet theAttributes)
                                 throws hla.rti.ObjectNotKnown,
                                        hla.rti.AttributeNotKnown,
                                        hla.rti.AttributeNotOwned,
                                        hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Provide Attribute Value Update † service shall request the current values for attributes owned by the federate for a given object instance. The federate shall respond to the Provide Attribute Value Update † service with an invocation of the Update Attribute Values service to provide the requested instance attribute values to the federation.
Specified by:
provideAttributeValueUpdate in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

reflectAttributeValues

public void reflectAttributeValues(int theObject,
                                   ReflectedAttributes theAttributes,
                                   byte[] userSuppliedTag)
                            throws hla.rti.ObjectNotKnown,
                                   hla.rti.AttributeNotKnown,
                                   hla.rti.FederateOwnsAttributes,
                                   hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Reflect Attribute Values † service shall provide the federate with new values for the specified instance attributes. This service, coupled with the Update Attribute Values service, shall form the primary data exchange mechanism supported by the RTI. All the instance attribute/ value pairs in an Update Attribute Values service invocation for instance attributes that have identical transportation and message- ordering types shall be in one corresponding Reflect Attribute Values † service invocation. This implies that one Update Attribute Values invocation could result in multiple Reflect Attribute Values † invocations in a subscribing federate.
Specified by:
reflectAttributeValues in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designator and value pairs
userSuppliedTag - User- supplied tag

reflectAttributeValues

public void reflectAttributeValues(int theObject,
                                   ReflectedAttributes theAttributes,
                                   byte[] userSuppliedTag,
                                   LogicalTime theTime,
                                   se.pitch.prti.EventRetractionHandle retractionHandle)
                            throws hla.rti.ObjectNotKnown,
                                   hla.rti.AttributeNotKnown,
                                   hla.rti.FederateOwnsAttributes,
                                   hla.rti.InvalidFederationTime,
                                   hla.rti.FederateInternalError

receiveInteraction

public void receiveInteraction(int interactionClass,
                               ReceivedInteraction theInteraction,
                               byte[] userSuppliedTag)
                        throws hla.rti.InteractionClassNotKnown,
                               hla.rti.InteractionParameterNotKnown,
                               hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Receive Interaction † service shall provide the federate with a sent interaction.
Specified by:
receiveInteraction in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
interactionClass - Interaction class designator
theInteraction - Interaction parameters
userSuppliedTag - User- supplied tag

receiveInteraction

public void receiveInteraction(int interactionClass,
                               ReceivedInteraction theInteraction,
                               byte[] userSuppliedTag,
                               LogicalTime theTime,
                               se.pitch.prti.EventRetractionHandle eventRetractionHandle)
                        throws hla.rti.InteractionClassNotKnown,
                               hla.rti.InteractionParameterNotKnown,
                               hla.rti.InvalidFederationTime,
                               hla.rti.FederateInternalError

removeObjectInstance

public void removeObjectInstance(int theObject,
                                 byte[] userSuppliedTag)
                          throws hla.rti.ObjectNotKnown,
                                 hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Remove Object Instance † service shall inform the federate that an object instance has been deleted from the federation execution.
Specified by:
removeObjectInstance in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
userSuppliedTag - User- supplied tag

removeObjectInstance

public void removeObjectInstance(int theObject,
                                 byte[] userSuppliedTag,
                                 LogicalTime theTime,
                                 se.pitch.prti.EventRetractionHandle theHandle)
                          throws hla.rti.ObjectNotKnown,
                                 hla.rti.InvalidFederationTime,
                                 hla.rti.FederateInternalError

requestAttributeOwnershipAssumption

public void requestAttributeOwnershipAssumption(int theObject,
                                                AttributeHandleSet offeredAttributes,
                                                byte[] userSuppliedTag)
                                         throws hla.rti.ObjectNotKnown,
                                                hla.rti.AttributeNotKnown,
                                                hla.rti.AttributeAlreadyOwned,
                                                hla.rti.AttributeNotPublished,
                                                hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Request Attribute Ownership Assumption † service shall inform the federate that the specified instance attributes are available for transfer of ownership to the federate. The RTI shall supply an object instance designator and set of attribute designators. The federate may return a subset of the supplied attribute designators for which it is willing to assume ownership via the Attribute Ownership Acquisition service or via the Attribute Ownership Acquisition If Available service. In the case that the supplied instance attributes are unowned as a result of a federate invoking the Unconditional Attribute Ownership Divestiture service, the divesting federate shall not be asked to assume ownership.
Specified by:
requestAttributeOwnershipAssumption in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
offeredAttributes - Set of attribute designators
userSuppliedTag - User- supplied tag

requestAttributeOwnershipRelease

public void requestAttributeOwnershipRelease(int theObject,
                                             AttributeHandleSet candidateAttributes,
                                             byte[] userSuppliedTag)
                                      throws hla.rti.ObjectNotKnown,
                                             hla.rti.AttributeNotKnown,
                                             hla.rti.AttributeNotOwned,
                                             hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Request Attribute Ownership Release † service shall request that the federate release ownership of the specified instance attributes of the specified object instance. The Request Attribute Ownership Release † service shall provide an object instance designator and set of attribute designators and shall be invoked only as the result of an Attribute Ownership Acquisition service invocation by some other federate. The federate may return the subset of the supplied instance attributes for which it is willing to release ownership via the Attribute Ownership Release Response service, the Unconditional Attribute Ownership Divestiture service, or the Negotiated Attribute Ownership Divestiture service.
Specified by:
requestAttributeOwnershipRelease in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
candidateAttributes - Set of attribute designators
userSuppliedTag - User- supplied tag

requestRetraction

public void requestRetraction(se.pitch.prti.EventRetractionHandle theHandle)
                       throws hla.rti.EventNotKnown,
                              hla.rti.FederateInternalError

startRegistrationForObjectClass

public void startRegistrationForObjectClass(int theClass)
                                     throws hla.rti.ObjectClassNotPublished,
                                            hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Start Registration For Object Class † service shall notify the federate that registration of new object instances of the specified object class is advised because at least one of the class attributes that the federate is publishing at this object class is actively subscribed to at the specified object class or at a super- class of the specified object class by at least one other federate in the federation execution. The federate should commence with registration of object instances of the specified class. Generation of the Start Registration For Object Class † service advisory shall be controlled using the Enable/ Disable Class Relevance Advisory Switch services.
Specified by:
startRegistrationForObjectClass in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theClass - Object class designator

stopRegistrationForObjectClass

public void stopRegistrationForObjectClass(int theClass)
                                    throws hla.rti.ObjectClassNotPublished,
                                           hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Stop Registration For Object Class † service shall notify the federate that registration of new object instances of the specified object class is not advised because none of the class attributes that the federate is publishing at this object class is actively subscribed to at the specified object class or at a super- class of the specified object class by any other federate in the federation execution. The federate should stop registration of new object instances of the specified class. Generation of the Stop Registration For Object Class † service advisory shall be controlled using the Enable/ Disable Class Relevance Advisory Switch services.
Specified by:
stopRegistrationForObjectClass in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theClass - Object class designator

timeAdvanceGrant

public void timeAdvanceGrant(LogicalTime theTime)
                      throws hla.rti.InvalidFederationTime,
                             hla.rti.TimeAdvanceWasNotInProgress,
                             hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
Invocation of the Time Advance Grant † service shall indicate that a prior request to advance the federate’s logical time has been honored. The argument of this service shall indicate that the logical time for the federate has been advanced to this value. If the grant is issued in response to invocation of Next Event Request or Time Advance Request, the RTI shall guarantee that no additional TSO messages shall be delivered in the future with time stamps less than or equal to this value. If the grant is in response to an invocation of Time Advance Request Available, Next Event Request Available, or Flush Queue Request, the RTI shall guarantee that no additional TSO messages shall be delivered in the future with time stamps less than the value of the grant.
Specified by:
timeAdvanceGrant in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theTime - Value of federation time

timeConstrainedEnabled

public void timeConstrainedEnabled(LogicalTime theFederateTime)
                            throws hla.rti.InvalidFederationTime,
                                   hla.rti.EnableTimeConstrainedWasNotPending,
                                   hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
Invocation of the Time Constrained Enabled † service shall indicate that a prior request to become time constrained has been honored. The value of this service’s argument shall indicate the current logical time of the federate. When a federate changes to be time constrained, TSO messages stored in the RTI’s internal queues that have time stamps greater than or equal to the federate’s logical time shall be delivered in time- stamp order. TSO messages delivered to the federate before it becomes time constrained, possibly including messages with time stamps greater than or equal to the federate’s current logical time, shall be delivered as RO messages. Federates that are time constrained may receive messages only when in the Time Advancing state unless asynchronous message delivery is enabled (by use of the Enable Asynchronous Delivery † service). If asynchronous message delivery is enabled, the time- constrained federate may receive RO messages when not in the Time Advancing state, but TSO messages may still be received only when in the Time Advancing state. If the federate is time regulating, the argument shall equal the federate's current logical time. If the federate is not time regulating, the argument shall be greater than or equal to the federate’s current logical time.
Specified by:
timeConstrainedEnabled in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theFederateTime - Value of federation time

timeRegulationEnabled

public void timeRegulationEnabled(LogicalTime theFederateTime)
                           throws hla.rti.InvalidFederationTime,
                                  hla.rti.EnableTimeRegulationWasNotPending,
                                  hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
Invocation of the Time Regulation Enabled † service shall indicate that a prior request to enable time regulation has been honored. The value of this service’s argument shall indicate that the logical time of the federate has been set to the specified value.
Specified by:
timeRegulationEnabled in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theFederateTime - Current logical time of the federate

turnInteractionsOff

public void turnInteractionsOff(int theHandle)
                         throws hla.rti.InteractionClassNotPublished,
                                hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Turn Interactions Off † service shall indicate to the federate that the specified class of interactions is not relevant because it or a super- class is not actively subscribed to by any other federate in the federation execution. Generation of the Turn Interactions Off † service advisory shall be controlled using the Enable/ Disable Interaction Relevance Advisory Switch services.
Specified by:
turnInteractionsOff in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theHandle - Interaction class designator

turnInteractionsOn

public void turnInteractionsOn(int theHandle)
                        throws hla.rti.InteractionClassNotPublished,
                               hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Turn Interactions On † service shall notify the federate that the specified class of interactions is relevant because it or a super- class is actively subscribed to by at least one other federate in the federation execution. The federate should commence with the federation- agreed- upon scheme for sending interactions of the specified class. Generation of the Turn Interactions On † service advisory shall be controlled using the Enable/ Disable Interaction Relevance Advisory Switch services.
Specified by:
turnInteractionsOn in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theHandle - Interaction class designator

turnUpdatesOffForObjectInstance

public void turnUpdatesOffForObjectInstance(int theObject,
                                            AttributeHandleSet theAttributes)
                                     throws hla.rti.ObjectNotKnown,
                                            hla.rti.AttributeNotOwned,
                                            hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Turn Updates Off For Object Instance † service shall indicate to the federate that the values of the specified attributes of the object instance are not required anywhere in the federation execution. Generation of the Turn Updates Off For Object Instance † service advisory can be controlled using the Enable/ Disable Attribute Relevance Advisory Switch services.
Specified by:
turnUpdatesOffForObjectInstance in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators

turnUpdatesOnForObjectInstance

public void turnUpdatesOnForObjectInstance(int theObject,
                                           AttributeHandleSet theAttributes)
                                    throws hla.rti.ObjectNotKnown,
                                           hla.rti.AttributeNotOwned,
                                           hla.rti.FederateInternalError
Description copied from interface: FederateAmbassador
The Turn Updates On For Object Instance † service shall indicate to the federate that the values of the specified attributes of the specified object instance are required somewhere in the federation execution. The federate shall commence with the federation- agreed- upon update scheme for the specified instance attributes. Generation of the Turn Updates On For Object Instance † service advisory can be controlled using the Enable/ Disable Attribute Relevance Advisory Switch services.
Specified by:
turnUpdatesOnForObjectInstance in interface FederateAmbassador
Tags copied from interface: FederateAmbassador
Parameters:
theObject - Object instance designator
theAttributes - Set of attribute designators type

pRTI™ v1.3

Visit the pRTI™ Website

pRTI is a trademark of Pitch Technologies AB

Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.