Package net.pl3x.map.core.httpd
Interface LiveDataHandler.FailureCallback
- 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.
Notification that is called when a message send fails.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(@NotNull io.undertow.server.handlers.sse.ServerSentEventConnection connection, @Nullable String data, @Nullable String event, @Nullable String id, @NotNull IOException exception)
-
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, @NotNull @NotNull IOException exception) - Parameters:
connection
- The connectiondata
- The message dataevent
- The message eventid
- The message idexception
- The exception
-