Package | Description |
---|---|
io.undertow.server.handlers.sse |
Modifier and Type | Method and Description |
---|---|
Set<ServerSentEventConnection> |
ServerSentEventHandler.getConnections() |
Modifier and Type | Method and Description |
---|---|
void |
ServerSentEventConnectionCallback.connected(ServerSentEventConnection connection,
String lastEventId) |
void |
ServerSentEventConnection.EventCallback.done(ServerSentEventConnection connection,
String data,
String event,
String id)
Notification that is called when a message is sucessfully sent
|
void |
ServerSentEventConnection.EventCallback.failed(ServerSentEventConnection connection,
String data,
String event,
String id,
IOException e)
Notification that is called when a message send fails.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerSentEventConnection.addCloseTask(ChannelListener<ServerSentEventConnection> listener)
Adds a listener that will be invoked when the channel is closed
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.