public interface SourceListener<E extends SourceUpdatedEvent> extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
closedUnexpectedly(SourceClosedUnexpectedlyEvent e)
The method that gets called when the source is closed unexpectedly, like
when a connection to a server is lost.
|
void |
sourceUpdated(E event)
The method that gets called when the source is updated.
|
void sourceUpdated(E event)
event - a SourceUpdatedEvent.void closedUnexpectedly(SourceClosedUnexpectedlyEvent e)
e - a SourceClosedUnexpectedlyEvent.Copyright © 2012–2017 Emory University. All rights reserved.