Class EventStreamConnectionCallback
- java.lang.Object
-
- io.streamthoughts.azkarra.http.sse.EventStreamConnectionCallback
-
- All Implemented Interfaces:
io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
public class EventStreamConnectionCallback extends Object implements io.undertow.server.handlers.sse.ServerSentEventConnectionCallback
- Since:
- 0.8.0
-
-
Constructor Summary
Constructors Constructor Description EventStreamConnectionCallback(AzkarraStreamsService service, Json json)
Creates a newEventStreamConnectionCallback
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connected(io.undertow.server.handlers.sse.ServerSentEventConnection connection, String lastEventId)
-
-
-
Constructor Detail
-
EventStreamConnectionCallback
public EventStreamConnectionCallback(AzkarraStreamsService service, Json json)
Creates a newEventStreamConnectionCallback
instance.- Parameters:
service
- theAzkarraStreamsService
instance.
-
-
Method Detail
-
connected
public void connected(io.undertow.server.handlers.sse.ServerSentEventConnection connection, String lastEventId)
- Specified by:
connected
in interfaceio.undertow.server.handlers.sse.ServerSentEventConnectionCallback
-
-