public static interface ServerSentEventConnection.EventCallback
Modifier and Type | Method and Description |
---|---|
void | done(ServerSentEventConnection connection, String data, String event, String id) Notification that is called when a message is sucessfully sent |
void | failed(ServerSentEventConnection connection, String data, String event, String id, IOException e) Notification that is called when a message send fails. |
void done(ServerSentEventConnection connection, String data, String event, String id)
connection
- The connectiondata
- The message dataevent
- The message eventid
- The message idvoid failed(ServerSentEventConnection connection, String data, String event, String id, IOException e)
connection
- The connectiondata
- The message dataevent
- The message eventid
- The message ide
- The exceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.