Interface LiveDataHandler.SuccessCallback

Enclosing class:
LiveDataHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LiveDataHandler.SuccessCallback
Notification that is called when a message is sucessfully sent
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(@NotNull io.undertow.server.handlers.sse.ServerSentEventConnection connection, @Nullable String data, @Nullable String event, @Nullable String id)
     
  • Method Details

    • apply

      void apply(@NotNull @NotNull io.undertow.server.handlers.sse.ServerSentEventConnection connection, @Nullable @Nullable String data, @Nullable @Nullable String event, @Nullable @Nullable String id)
      Parameters:
      connection - The connection
      data - The message data
      event - The message event
      id - The message id