|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
OTHER_EVENT - parameter coming from the source listenerOTHER_RESULT - return tuple coming from the source listenerEVENT - paramter returned by the adapterRESULT - return tuple returned by the adapterpublic interface EventListenerAdapter<OTHER_EVENT,OTHER_RESULT,EVENT,RESULT>
Adapter interface used to connect two EventManager instances with
EventManagerImpl#listenTo(EventListenerRegistration, EventListenerAdapter). Converts the source and event from another
EventListener to a current source and event. And the result and client coming from a current EventListener back
to the other EventListeners client and result.
EventListener,
EventManager,
EventListenerRegistration| Nested Class Summary | |
|---|---|
static class |
EventListenerAdapter.ClientResultContainer<CLIENT,RESULT>
|
static class |
EventListenerAdapter.SourceEventDataContainer<SOURCE,EVENT,DATA>
Container which allows storage of |
| Method Summary | |
|---|---|
List<EVENT> |
adaptEvent(OTHER_EVENT otherParameter)
Adapts a given source and its event listener. |
List<OTHER_RESULT> |
adaptResult(RESULT returninfo)
Adapts the given result from a given client. |
| Method Detail |
|---|
List<EVENT> adaptEvent(OTHER_EVENT otherParameter)
otherParameter -
List<OTHER_RESULT> adaptResult(RESULT returninfo)
returninfo -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||