Package org.eclipse.mosaic.rti.api
Interface Interactable
-
- All Known Subinterfaces:
RtiAmbassador
- All Known Implementing Classes:
MosaicRtiAmbassador
public interface Interactable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
triggerInteraction(Interaction interaction)
This method allows a caller to interact with other federates by sending an interaction.
-
-
-
Method Detail
-
triggerInteraction
void triggerInteraction(Interaction interaction) throws IllegalValueException, InternalFederateException
This method allows a caller to interact with other federates by sending an interaction. Responsible to forward the interaction subscribers is the interaction management. After this method is called, the callers last granted time advance request is canceled. Consequently, the caller is not allowed to advance its own time to any time later than the interaction time before a new time advance request is granted.- Parameters:
interaction
- the interaction object to send to the other ambassadors in the federation- Throws:
IllegalValueException
- if the interaction contains illegal valuesInternalFederateException
- if the interaction could not be published by theInteractionManagement
-
-