public interface EventListener
onOpen(String)
,
onMessage(Event)
,
onError(AdfException)
Modifier and Type | Method and Description |
---|---|
void |
onError(AdfException error)
Called when there is an error
|
void |
onMessage(Event event)
Called when an event is delivered
|
void |
onOpen(String id)
Called when event source is ready to send events.
|
void onOpen(String id)
id
- unique string identifying the event sourceEventSource
void onMessage(Event event)
event
- event informationEvent
void onError(AdfException error)
error
- error detailsAdfException