Class SKFederateAmbassador

java.lang.Object
hla.rti1516_2025.NullFederateAmbassador
org.see.skf.core.SKFederateAmbassador
All Implemented Interfaces:
hla.rti1516_2025.FederateAmbassador
Direct Known Subclasses:
SEEFederateAmbassador

public class SKFederateAmbassador extends hla.rti1516_2025.NullFederateAmbassador
A rudimentary federate ambassador implementation designed to complement the SKFederateAmbassador with object and interaction management functionality.
Since:
2.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    final void
     
    void
    discoverObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.ObjectClassHandle objectClass, String objectInstanceName, hla.rti1516_2025.FederateHandle producingFederate)
     
    final boolean
    isRemoteEntity(org.see.skf.runtime.objects.ObjectClassEntity entity)
     
    void
     
    void
     
    void
    provideAttributeValueUpdate(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleSet attributes, byte[] userSuppliedTag)
     
    final void
    receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues)
     
    void
    receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions)
     
    void
    receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
     
    final void
    reflectAttributes(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues)
     
    void
    reflectAttributeValues(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions)
     
    void
    reflectAttributeValues(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
     
    final void
     
    void
    removeObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, byte[] userSuppliedTag, hla.rti1516_2025.FederateHandle producingFederate)
     
    void
    removeObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, byte[] userSuppliedTag, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
     
    final void
    removeRemoteEntity(hla.rti1516_2025.ObjectInstanceHandle objectInstance)
     
    final void
     
    final boolean
    sendInteraction(Object interactionClassElement)
     
    final void
    sendUpdatedAttributeValues(String entityName, hla.rti1516_2025.ObjectInstanceHandle instanceHandle, hla.rti1516_2025.AttributeHandleValueMap attributeValues)
     

    Methods inherited from class hla.rti1516_2025.NullFederateAmbassador

    announceSynchronizationPoint, attributeIsNotOwned, attributeIsOwnedByRTI, attributeOwnershipAcquisitionNotification, attributeOwnershipUnavailable, attributesInScope, attributesOutOfScope, confirmAttributeOwnershipAcquisitionCancellation, confirmAttributeTransportationTypeChange, confirmInteractionTransportationTypeChange, connectionLost, federateResigned, federationNotRestored, federationNotSaved, federationRestoreBegun, federationRestored, federationRestoreStatusResponse, federationSaved, federationSaveStatusResponse, federationSynchronized, flushQueueGrant, informAttributeOwnership, initiateFederateRestore, initiateFederateSave, initiateFederateSave, multipleObjectInstanceNameReservationFailed, multipleObjectInstanceNameReservationSucceeded, receiveDirectedInteraction, receiveDirectedInteraction, reportAttributeTransportationType, reportFederationExecutionDoesNotExist, reportFederationExecutionMembers, reportFederationExecutions, reportInteractionTransportationType, requestAttributeOwnershipAssumption, requestAttributeOwnershipRelease, requestDivestitureConfirmation, requestFederationRestoreFailed, requestFederationRestoreSucceeded, requestRetraction, startRegistrationForObjectClass, stopRegistrationForObjectClass, synchronizationPointRegistrationFailed, synchronizationPointRegistrationSucceeded, timeAdvanceGrant, timeConstrainedEnabled, timeRegulationEnabled, turnInteractionsOff, turnInteractionsOn, turnUpdatesOffForObjectInstance, turnUpdatesOnForObjectInstance, turnUpdatesOnForObjectInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SKFederateAmbassador

      public SKFederateAmbassador()
  • Method Details

    • isRemoteEntity

      public final boolean isRemoteEntity(org.see.skf.runtime.objects.ObjectClassEntity entity)
    • discoverObjectInstance

      public void discoverObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.ObjectClassHandle objectClass, String objectInstanceName, hla.rti1516_2025.FederateHandle producingFederate)
      Specified by:
      discoverObjectInstance in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      discoverObjectInstance in class hla.rti1516_2025.NullFederateAmbassador
    • removeObjectInstance

      public void removeObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, byte[] userSuppliedTag, hla.rti1516_2025.FederateHandle producingFederate)
      Specified by:
      removeObjectInstance in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      removeObjectInstance in class hla.rti1516_2025.NullFederateAmbassador
    • removeObjectInstance

      public void removeObjectInstance(hla.rti1516_2025.ObjectInstanceHandle objectInstance, byte[] userSuppliedTag, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
      Specified by:
      removeObjectInstance in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      removeObjectInstance in class hla.rti1516_2025.NullFederateAmbassador
    • removeRemoteEntity

      public final void removeRemoteEntity(hla.rti1516_2025.ObjectInstanceHandle objectInstance)
    • objectInstanceNameReservationSucceeded

      public void objectInstanceNameReservationSucceeded(String objectInstanceName)
      Specified by:
      objectInstanceNameReservationSucceeded in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      objectInstanceNameReservationSucceeded in class hla.rti1516_2025.NullFederateAmbassador
    • objectInstanceNameReservationFailed

      public void objectInstanceNameReservationFailed(String objectInstanceName)
      Specified by:
      objectInstanceNameReservationFailed in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      objectInstanceNameReservationFailed in class hla.rti1516_2025.NullFederateAmbassador
    • provideAttributeValueUpdate

      public void provideAttributeValueUpdate(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleSet attributes, byte[] userSuppliedTag)
      Specified by:
      provideAttributeValueUpdate in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      provideAttributeValueUpdate in class hla.rti1516_2025.NullFederateAmbassador
    • reflectAttributeValues

      public void reflectAttributeValues(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions)
      Specified by:
      reflectAttributeValues in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      reflectAttributeValues in class hla.rti1516_2025.NullFederateAmbassador
    • reflectAttributeValues

      public void reflectAttributeValues(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
      Specified by:
      reflectAttributeValues in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      reflectAttributeValues in class hla.rti1516_2025.NullFederateAmbassador
    • receiveInteraction

      public void receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions)
      Specified by:
      receiveInteraction in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      receiveInteraction in class hla.rti1516_2025.NullFederateAmbassador
    • receiveInteraction

      public void receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues, byte[] userSuppliedTag, hla.rti1516_2025.TransportationTypeHandle transportationType, hla.rti1516_2025.FederateHandle producingFederate, hla.rti1516_2025.RegionHandleSet optionalSentRegions, hla.rti1516_2025.time.LogicalTime<?,?> time, hla.rti1516_2025.OrderType sentOrderType, hla.rti1516_2025.OrderType receivedOrderType, hla.rti1516_2025.MessageRetractionHandle optionalRetraction)
      Specified by:
      receiveInteraction in interface hla.rti1516_2025.FederateAmbassador
      Overrides:
      receiveInteraction in class hla.rti1516_2025.NullFederateAmbassador
    • sendUpdatedAttributeValues

      public final void sendUpdatedAttributeValues(String entityName, hla.rti1516_2025.ObjectInstanceHandle instanceHandle, hla.rti1516_2025.AttributeHandleValueMap attributeValues)
    • reflectAttributes

      public final void reflectAttributes(hla.rti1516_2025.ObjectInstanceHandle objectInstance, hla.rti1516_2025.AttributeHandleValueMap attributeValues)
    • sendInteraction

      public final boolean sendInteraction(Object interactionClassElement) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.InteractionParameterNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.InteractionClassNotDefined, hla.rti1516_2025.exceptions.InteractionClassNotPublished, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress
      Throws:
      hla.rti1516_2025.exceptions.FederateNotExecutionMember
      hla.rti1516_2025.exceptions.InteractionParameterNotDefined
      hla.rti1516_2025.exceptions.RestoreInProgress
      hla.rti1516_2025.exceptions.InteractionClassNotDefined
      hla.rti1516_2025.exceptions.InteractionClassNotPublished
      hla.rti1516_2025.exceptions.NotConnected
      hla.rti1516_2025.exceptions.RTIinternalError
      hla.rti1516_2025.exceptions.SaveInProgress
    • receiveInteraction

      public final void receiveInteraction(hla.rti1516_2025.InteractionClassHandle interactionClass, hla.rti1516_2025.ParameterHandleValueMap parameterValues)
    • addRemoteObjectInstanceListener

      public final void addRemoteObjectInstanceListener(RemoteObjectInstanceListener listener)
    • removeRemoteObjectInstanceListener

      public final void removeRemoteObjectInstanceListener(RemoteObjectInstanceListener listener)
    • addInteractionListener

      public final void addInteractionListener(InteractionListener listener)
    • removeInteractionListener

      public final void removeInteractionListener(InteractionListener listener)