|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Async<L extends Listener>
Marks a type to interact asynchroniously via a listener defining some callback methods. No presumptions about the order of notification can be made, as it will depend on the internally used datastructure.
| Method Summary | |
|---|---|
void |
addListener(L listener)
Add a listener to this Async type. |
void |
removeListener(L listener)
Add a listener to this Async type. |
| Method Detail |
|---|
void addListener(L listener)
Async type.
If listener was already added, nothing will happen (except of a warning showing up in the logs).
listener - which will be notified via onXyz() callbacks.void removeListener(L listener)
Async type.
If listener was already added, nothing will happen (except of a warning showing up in the logs).
listener - which will be notified via onXyz() callbacks.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||