Interface LiveCommandAnswer


  • public interface LiveCommandAnswer
    This interface defines an answer for a received LiveCommand.
    • Method Detail

      • getResponse

        @Nonnull
        Optional<org.eclipse.ditto.signals.commands.base.CommandResponse> getResponse()
        Returns the CommandResponse of this answer.
        Returns:
        the CommandResponse or an empty Optional.
      • getEvent

        @Nonnull
        Optional<org.eclipse.ditto.signals.events.base.Event> getEvent()
        Returns the Event of this answer.
        Returns:
        the Event or an empty Optional.