Interface Interactable

    • 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 values
        InternalFederateException - if the interaction could not be published by the InteractionManagement