components/src/main/java/eu/internetofus/common/components/interaction_protocol_engine/WeNetInteractionProtocolEngine.java
/**
   * Add an interaction into the protocol engine.
   *
   * @param interaction to add.
   *
   * @return the future with the added interaction.
   */
Add an interaction into the protocol engine.
@param interaction to add.

@return the future with the added interaction.
Add an interaction into the protocol engine . @param interaction to add . @return the future with the added interaction .
@GenIgnore
  default Future<Interaction> addInteraction(@NotNull final Interaction interaction) {
    final Promise<JsonObject> promise = Promise.promise();
    this.addInteraction(interaction.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), Interaction.class);
  }
@ GenIgnore default Future < Interaction > addInteraction ( @ NotNull final Interaction interaction ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . addInteraction ( interaction . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , Interaction . class ) ; }
Add an interaction into the protocol engine.
Add an interaction into the protocol engine .