Package no.marec.lsss.api.modules
Interface LsssModuleAccess
- All Known Subinterfaces:
EchogramOverlayAccess,LsssOverlayAccess,MapOverlayAccess,ViewModuleAccess
Access to the actual module.
-
Method Summary
Modifier and TypeMethodDescription<T> Consumer<T> coalescingInModuleThread(Consumer<T> observer) Wraps an observer in a new observer that delegates to this module's thread.<T> Consumer<T> inModuleThread(Consumer<T> observer) Wraps an observer in a new observer that delegates to this module's thread.
-
Method Details
-
inModuleThread
Wraps an observer in a new observer that delegates to this module's thread.- Type Parameters:
T- the observer value type- Parameters:
observer- an observer- Returns:
- a new observer that will delegate to this module's thread
-
coalescingInModuleThread
Wraps an observer in a new observer that delegates to this module's thread.Multiple notifications to the observer might be coalesced into a single notification.
- Type Parameters:
T- the observer value type- Parameters:
observer- an observer- Returns:
- a new observer that will delegate to this module's thread
-