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 sourceEventSourcevoid onMessage(Event event)
event - event informationEventvoid onError(AdfException error)
error - error detailsAdfException