Package org.see.skf.core
Class SKBaseFederate
java.lang.Object
org.see.skf.core.SKBaseFederate
- All Implemented Interfaces:
SKFederateInterface
- Direct Known Subclasses:
SEEAbstractFederate
A rudimentary implementation of the SKFederateInterface that comes with object and interaction management functionality.
It is a good starting point for building SpaceFOM federates that require specialized behavior not provided by the
SEEAbstractFederate and its descendants.
- Since:
- 2.0
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSKBaseFederate(SKFederateAmbassador federateAmbassador, org.see.skf.conf.FederateConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddInteractionListener(InteractionListener listener) Register an interaction listener to be notified about the dispatch of interactions in the federation execution.voidRegister a remote object instance listener to be notified about the initialization of remote object instances created by another federate.abstract voidfinal voidconnectToRTI(hla.rti1516_2025.RtiConfiguration rtiConfig) Connect the federate to the RTI.final voiddeleteObjectInstance(Object objectInstance, boolean relinquishNameReservation) Delete the object instance from the RTI.final org.see.skf.conf.FederateConfigurationfinal voidJoin the federation execution.final voidpublishInteractionClass(Class<?> interactionClass) Declare to the RTI that interactions of the specified HLA interaction class will be published by the federate.final voidpublishObjectClass(Class<?> objectClass) Declare to the RTI that attribute information about the instances of the specified HLA object class will be published by the federate.final ObjectqueryRemoteObjectInstance(String instanceName) Finds the representation of a remote object instance if previously discovered and stored by the federate.final StringregisterObjectInstance(Object objectInstanceElement) Create an instance of an HLA object class that will be published by the federate.final StringregisterObjectInstance(Object objectInstanceElement, String requestedName) Create a named instance of an HLA object class that will be published by the federate.final voidremoveInteractionListener(InteractionListener listener) Remove a previously registered interaction listener to stop receiving events when interactions are sent.voidRegister a remote object instance listener to be notified about the deletion of remote object instances.final voidGracefully resign from the federation execution.final booleansendInteraction(Object interaction) Send an interaction of an HLA interaction class that has been previously declared as publishable by the federate to the RTI.final voidsubscribeInteractionClass(Class<?> interactionClass) Declare to the RTI that the federate wants to stop receiving interactions of the specified HLA interaction class.final voidsubscribeObjectClass(Class<?> objectClass) Declare to the RTI that the federate will subscribe to instance updates of the specified HLA object class.final voidunpublishInteractionClass(Class<?> interactionClass) Declare to the RTI that the federate will subscribe to interactions of the specified HLA interaction class.final voidunpublishObjectClass(Class<?> objectClass) Declare to the RTI that all information about instances of a previously published object class will no longer be sent by the federate.final voidunsubscribeInteractionClass(Class<?> interactionClass) Declare to the RTI that interactions of a previously published HLA interaction class will no longer be sent by the federate.final voidunsubscribeObjectClass(Class<?> objectClass) Declare to the RTI that the federate wants to stop receiving updates about the instances of the specified HLA object class.final voidupdateObjectInstance(Object objectInstance) Issue an update in the instance's attributes to the RTI for other federates to receive.
-
Constructor Details
-
SKBaseFederate
protected SKBaseFederate(SKFederateAmbassador federateAmbassador, org.see.skf.conf.FederateConfiguration config)
-
-
Method Details
-
configureAndStart
public abstract void configureAndStart() -
connectToRTI
public final void connectToRTI(hla.rti1516_2025.RtiConfiguration rtiConfig) throws hla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallback, hla.rti1516_2025.exceptions.Unauthorized, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.ConnectionFailed, hla.rti1516_2025.exceptions.UnsupportedCallbackModel Description copied from interface:SKFederateInterfaceConnect the federate to the RTI. In HLA 4, the local_settings_designator string has been supplanted by the RTIConfiguration class that encapsulates the information needed to connect to the RTI.- Specified by:
connectToRTIin interfaceSKFederateInterface- Parameters:
rtiConfig- An RTI configuration object.- Throws:
hla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallbackhla.rti1516_2025.exceptions.Unauthorizedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.ConnectionFailedhla.rti1516_2025.exceptions.UnsupportedCallbackModel
-
joinFederationExecution
public final void joinFederationExecution() throws hla.rti1516_2025.exceptions.ErrorReadingFOM, hla.rti1516_2025.exceptions.CouldNotCreateLogicalTimeFactory, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallback, hla.rti1516_2025.exceptions.InconsistentFOM, hla.rti1516_2025.exceptions.FederationExecutionDoesNotExist, hla.rti1516_2025.exceptions.Unauthorized, hla.rti1516_2025.exceptions.CouldNotOpenFOM, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.InvalidFOM, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.AsynchronousDeliveryAlreadyEnabledDescription copied from interface:SKFederateInterfaceJoin the federation execution.- Specified by:
joinFederationExecutionin interfaceSKFederateInterface- Throws:
hla.rti1516_2025.exceptions.ErrorReadingFOMhla.rti1516_2025.exceptions.CouldNotCreateLogicalTimeFactoryhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallbackhla.rti1516_2025.exceptions.InconsistentFOMhla.rti1516_2025.exceptions.FederationExecutionDoesNotExisthla.rti1516_2025.exceptions.Unauthorizedhla.rti1516_2025.exceptions.CouldNotOpenFOMhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.InvalidFOMhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.AsynchronousDeliveryAlreadyEnabled
-
resignFederationExecution
public final void resignFederationExecution() throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallback, hla.rti1516_2025.exceptions.InvalidResignAction, hla.rti1516_2025.exceptions.OwnershipAcquisitionPending, hla.rti1516_2025.exceptions.FederateOwnsAttributes, hla.rti1516_2025.exceptions.FederateIsExecutionMemberDescription copied from interface:SKFederateInterfaceGracefully resign from the federation execution.- Specified by:
resignFederationExecutionin interfaceSKFederateInterface- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.CallNotAllowedFromWithinCallbackhla.rti1516_2025.exceptions.InvalidResignActionhla.rti1516_2025.exceptions.OwnershipAcquisitionPendinghla.rti1516_2025.exceptions.FederateOwnsAttributeshla.rti1516_2025.exceptions.FederateIsExecutionMember
-
publishObjectClass
public final void publishObjectClass(Class<?> objectClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.NameNotFound, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.InvalidObjectClassHandle, hla.rti1516_2025.exceptions.AttributeNotDefined, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that attribute information about the instances of the specified HLA object class will be published by the federate.- Specified by:
publishObjectClassin interfaceSKFederateInterface- Parameters:
objectClass- The Java class representation of the HLA object class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.NameNotFoundhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.InvalidObjectClassHandlehla.rti1516_2025.exceptions.AttributeNotDefinedhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.SaveInProgress
-
unpublishObjectClass
public final void unpublishObjectClass(Class<?> objectClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.OwnershipAcquisitionPending, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.AttributeNotDefined Description copied from interface:SKFederateInterfaceDeclare to the RTI that all information about instances of a previously published object class will no longer be sent by the federate. Does nothing if the HLA object class has not been published by the federate beforehand.- Specified by:
unpublishObjectClassin interfaceSKFederateInterface- Parameters:
objectClass- The Java class representation of the HLA object class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.OwnershipAcquisitionPendinghla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.AttributeNotDefined- See Also:
-
subscribeObjectClass
public final void subscribeObjectClass(Class<?> objectClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.NameNotFound, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.InvalidObjectClassHandle, hla.rti1516_2025.exceptions.AttributeNotDefined, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that the federate will subscribe to instance updates of the specified HLA object class.- Specified by:
subscribeObjectClassin interfaceSKFederateInterface- Parameters:
objectClass- The Java class representation of the HLA object class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.NameNotFoundhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.InvalidObjectClassHandlehla.rti1516_2025.exceptions.AttributeNotDefinedhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.SaveInProgress
-
unsubscribeObjectClass
public final void unsubscribeObjectClass(Class<?> objectClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.AttributeNotDefined, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that the federate wants to stop receiving updates about the instances of the specified HLA object class. Does nothing is the object class was not subscribed to beforehand.- Specified by:
unsubscribeObjectClassin interfaceSKFederateInterface- Parameters:
objectClass- The Java class representation of the HLA object class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.AttributeNotDefinedhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgress- See Also:
-
publishInteractionClass
public final void publishInteractionClass(Class<?> interactionClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.NameNotFound, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.InvalidInteractionClassHandle, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.InteractionClassNotDefined, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that interactions of the specified HLA interaction class will be published by the federate.- Specified by:
publishInteractionClassin interfaceSKFederateInterface- Parameters:
interactionClass- The Java class representation of the HLA interaction class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.NameNotFoundhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.InvalidInteractionClassHandlehla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.InteractionClassNotDefinedhla.rti1516_2025.exceptions.SaveInProgress
-
unpublishInteractionClass
public final void unpublishInteractionClass(Class<?> interactionClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.InteractionClassNotDefined, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that the federate will subscribe to interactions of the specified HLA interaction class. Does nothing if the interaction class was not published beforehand.- Specified by:
unpublishInteractionClassin interfaceSKFederateInterface- Parameters:
interactionClass- The Java class representation of the HLA interaction class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.InteractionClassNotDefinedhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgress- See Also:
-
subscribeInteractionClass
public final void subscribeInteractionClass(Class<?> interactionClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.NameNotFound, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.InvalidInteractionClassHandle, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.InteractionClassNotDefined, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.FederateServiceInvocationsAreBeingReportedViaMOM Description copied from interface:SKFederateInterfaceDeclare to the RTI that the federate wants to stop receiving interactions of the specified HLA interaction class. Does nothing if the interaction class was not subscribed to beforehand.- Specified by:
subscribeInteractionClassin interfaceSKFederateInterface- Parameters:
interactionClass- The Java class representation of the HLA interaction class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.NameNotFoundhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.InvalidInteractionClassHandlehla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.InteractionClassNotDefinedhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.FederateServiceInvocationsAreBeingReportedViaMOM
-
unsubscribeInteractionClass
public final void unsubscribeInteractionClass(Class<?> interactionClass) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.InteractionClassNotDefined, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceDeclare to the RTI that interactions of a previously published HLA interaction class will no longer be sent by the federate.- Specified by:
unsubscribeInteractionClassin interfaceSKFederateInterface- Parameters:
interactionClass- The Java class representation of the HLA interaction class.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.InteractionClassNotDefinedhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgress
-
queryRemoteObjectInstance
Description copied from interface:SKFederateInterfaceFinds the representation of a remote object instance if previously discovered and stored by the federate.- Specified by:
queryRemoteObjectInstancein interfaceSKFederateInterface- Parameters:
instanceName- Name of the object instance to look for.- Returns:
- The object representing the HLA object instance or null if not found.
-
registerObjectInstance
public final String registerObjectInstance(Object objectInstanceElement) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.ObjectClassNotPublished, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.ObjectInstanceNotKnown, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress Description copied from interface:SKFederateInterfaceCreate an instance of an HLA object class that will be published by the federate.
The HLA object class that this instance belongs to must have been previously declared as publishable to the RTI.- Specified by:
registerObjectInstancein interfaceSKFederateInterface- Parameters:
objectInstanceElement- An object with attributes aligned with the attributes of its HLA object class equivalent in the FOM.- Returns:
- The name of the object instance assigned by the RTI.
- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.ObjectClassNotPublishedhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.ObjectInstanceNotKnownhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgress- See Also:
-
registerObjectInstance
public final String registerObjectInstance(Object objectInstanceElement, String requestedName) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.IllegalName, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.ObjectClassNotPublished, hla.rti1516_2025.exceptions.ObjectClassNotDefined, hla.rti1516_2025.exceptions.ObjectInstanceNotKnown, hla.rti1516_2025.exceptions.ObjectInstanceNameInUse, hla.rti1516_2025.exceptions.ObjectInstanceNameNotReserved Description copied from interface:SKFederateInterfaceCreate a named instance of an HLA object class that will be published by the federate. It should be noted that there is no guarantee the federate will be able to reserve the provided name. If this happens, the RTI will assign a unique name of its own, which wil be returned by the method for your reference.
The HLA object class that this instance belongs to must have been previously declared as publishable to the RTI.- Specified by:
registerObjectInstancein interfaceSKFederateInterface- Parameters:
objectInstanceElement- An object with attributes aligned with the attributes of its HLA object class equivalent in the FOM.requestedName- The requestedName for the object instance.- Returns:
- The name of the object instance at the RTI.
- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.IllegalNamehla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.ObjectClassNotPublishedhla.rti1516_2025.exceptions.ObjectClassNotDefinedhla.rti1516_2025.exceptions.ObjectInstanceNotKnownhla.rti1516_2025.exceptions.ObjectInstanceNameInUsehla.rti1516_2025.exceptions.ObjectInstanceNameNotReserved- See Also:
-
updateObjectInstance
Description copied from interface:SKFederateInterfaceIssue an update in the instance's attributes to the RTI for other federates to receive. The HLA object class must have already been declared as publishable by the federate to the RTI beforehand AND the object must have been previously created.- Specified by:
updateObjectInstancein interfaceSKFederateInterface- Parameters:
objectInstance- The object instance representation to be updated.- See Also:
-
deleteObjectInstance
public final void deleteObjectInstance(Object objectInstance, boolean relinquishNameReservation) throws hla.rti1516_2025.exceptions.FederateNotExecutionMember, hla.rti1516_2025.exceptions.RestoreInProgress, hla.rti1516_2025.exceptions.ObjectInstanceNotKnown, hla.rti1516_2025.exceptions.DeletePrivilegeNotHeld, hla.rti1516_2025.exceptions.NotConnected, hla.rti1516_2025.exceptions.RTIinternalError, hla.rti1516_2025.exceptions.SaveInProgress, hla.rti1516_2025.exceptions.ObjectInstanceNameNotReserved Description copied from interface:SKFederateInterfaceDelete the object instance from the RTI. The HLA object class that the instance belongs to must have already been declared as publishable by the federate to the RTI beforehand AND the object must have previously been created. It is possible to choose whether to release the name of the object instance if it uses a custom name that had to be reserved at the time of creation.- Specified by:
deleteObjectInstancein interfaceSKFederateInterface- Parameters:
objectInstance- The object instance representation to be deleted.relinquishNameReservation- true/false to release ownership of the instance name if reserved.- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.ObjectInstanceNotKnownhla.rti1516_2025.exceptions.DeletePrivilegeNotHeldhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgresshla.rti1516_2025.exceptions.ObjectInstanceNameNotReserved- See Also:
-
sendInteraction
public final boolean sendInteraction(Object interaction) 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 Description copied from interface:SKFederateInterfaceSend an interaction of an HLA interaction class that has been previously declared as publishable by the federate to the RTI. The HLA interaction class must have already been declared as publishable by the federate to the RTI beforehand.- Specified by:
sendInteractionin interfaceSKFederateInterface- Parameters:
interaction- An object with attributes aligned with the parameters of its HLA interaction class equivalent in the FOM.- Returns:
- true/false depending on the operation's success.
- Throws:
hla.rti1516_2025.exceptions.FederateNotExecutionMemberhla.rti1516_2025.exceptions.InteractionParameterNotDefinedhla.rti1516_2025.exceptions.RestoreInProgresshla.rti1516_2025.exceptions.InteractionClassNotDefinedhla.rti1516_2025.exceptions.InteractionClassNotPublishedhla.rti1516_2025.exceptions.NotConnectedhla.rti1516_2025.exceptions.RTIinternalErrorhla.rti1516_2025.exceptions.SaveInProgress- See Also:
-
addRemoteObjectInstanceListener
Description copied from interface:SKFederateInterfaceRegister a remote object instance listener to be notified about the initialization of remote object instances created by another federate.- Specified by:
addRemoteObjectInstanceListenerin interfaceSKFederateInterface- Parameters:
listener- The remote object instance listener to be added.
-
removeRemoteObjectInstanceListener
Description copied from interface:SKFederateInterfaceRegister a remote object instance listener to be notified about the deletion of remote object instances.- Specified by:
removeRemoteObjectInstanceListenerin interfaceSKFederateInterface- Parameters:
listener- The remote object instance listener to be removed.
-
addInteractionListener
Description copied from interface:SKFederateInterfaceRegister an interaction listener to be notified about the dispatch of interactions in the federation execution.- Specified by:
addInteractionListenerin interfaceSKFederateInterface- Parameters:
listener- The interaction listener.
-
removeInteractionListener
Description copied from interface:SKFederateInterfaceRemove a previously registered interaction listener to stop receiving events when interactions are sent.- Specified by:
removeInteractionListenerin interfaceSKFederateInterface- Parameters:
listener- The interaction listener.
-
getConfiguration
public final org.see.skf.conf.FederateConfiguration getConfiguration() -
getFederateAmbassador
-