Interface LsssModuleAccess

All Known Subinterfaces:
EchogramOverlayAccess, LsssOverlayAccess, MapOverlayAccess, ViewModuleAccess

@DoNotImplement public interface LsssModuleAccess
Access to the actual module.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Consumer<T>
    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

      <T> Consumer<T> inModuleThread(Consumer<T> observer)
      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

      <T> Consumer<T> coalescingInModuleThread(Consumer<T> observer)
      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