org.positronicnet.notifications

NotifierWithQuery

trait NotifierWithQuery [Q, R] extends BaseNotifierImpl[R]

Subclass of Notifier which typically represents a query on some underlying resource.

The query has a query type, Q, and a result type, R. Constructors typically take an initial query (of type Q) as an argument. The Requery action can be used to change the query; this is a change that causes all currently registered watchers (viz. AddWatcher in org.positronicnet.notifications.Actions) to get notified of the new results.

Linear Supertypes
BaseNotifierImpl[R], NotifierImpl[R], Notifier[R], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NotifierWithQuery
  2. BaseNotifierImpl
  3. NotifierImpl
  4. Notifier
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. val currentQuery : Q

    Attributes
    protected abstract
  2. def currentValue : R

    Attributes
    protected abstract
    Definition Classes
    BaseNotifierImpl
  3. def noteChange : Unit

    Attributes
    abstract
    Definition Classes
    BaseNotifierImplNotifierImpl
  4. def onThread (thunk: ⇒ Unit): Unit

    Attributes
    abstract
    Definition Classes
    BaseNotifierImpl

Concrete Value Members

  1. def ! (action: Action[R]): Unit

    Perform the action, usually on a worker thread associated with this notifier.

    Perform the action, usually on a worker thread associated with this notifier. Results may be posted back to the calling thread, viz. the conventions documented in org.positronicnet.notifications.Actions.

    Definition Classes
    BaseNotifierImplNotifier
  2. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  3. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  4. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. val changeHandlers : HashMap[AnyRef, (R) ⇒ Unit]

    Attributes
    protected
    Definition Classes
    BaseNotifierImpl
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def currentParams : Q

  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def fetchOnThisThread : R

    Synchronously fetch the value being monitored by this Notifier.

    Synchronously fetch the value being monitored by this Notifier.

    Definition Classes
    BaseNotifierImplNotifier
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def onThisThread (action: Action[R]): Unit

    Perform the action, synchronously on the calling thread.

    Perform the action, synchronously on the calling thread.

    Definition Classes
    NotifierWithQueryBaseNotifierImplNotifier
  22. def requery (q: Q): Unit

  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from BaseNotifierImpl[R]

Inherited from NotifierImpl[R]

Inherited from Notifier[R]

Inherited from AnyRef

Inherited from Any