public interface EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
eventStreamClosed(int code,
java.lang.String phrase)
Notify the listener that the backing event stream was closed.
|
void |
notify(Event event)
Notify the listener of a new event.
|
void notify(Event event)
Event object.event - object representation of the latest stream eventvoid eventStreamClosed(int code,
java.lang.String phrase)
code - an integer code to represent the reason for closingphrase - a String representation of code