Class

colossus.service

MappedCallback

Related Doc: package service

Permalink

case class MappedCallback[I, O](trigger: ((Try[I]) ⇒ Unit) ⇒ Unit, handler: (Try[I]) ⇒ Try[O]) extends Callback[O] with Product with Serializable

A Callback that has been mapped on. See the docs for Callback for more information

Linear Supertypes
Serializable, Serializable, Product, Equals, Callback[O], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedCallback
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Callback
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedCallback(trigger: ((Try[I]) ⇒ Unit) ⇒ Unit, handler: (Try[I]) ⇒ Try[O])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def execute(onComplete: (Try[O]) ⇒ Unit = _ => ()): Unit

    Permalink
    Definition Classes
    MappedCallbackCallback
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def flatMap[U](f: (O) ⇒ Callback[U]): Callback[U]

    Permalink
    Definition Classes
    MappedCallbackCallback
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val handler: (Try[I]) ⇒ Try[O]

    Permalink
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def map[U](f: (O) ⇒ U): Callback[U]

    Permalink
    Definition Classes
    MappedCallbackCallback
  14. def mapTry[U](f: (Try[O]) ⇒ Try[U]): Callback[U]

    Permalink
    Definition Classes
    MappedCallbackCallback
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def recover[U >: O](p: PartialFunction[Throwable, U]): Callback[U]

    Permalink
    Definition Classes
    MappedCallbackCallback
  19. def recoverWith[U >: O](p: PartialFunction[Throwable, Callback[U]]): Callback[U]

    Permalink
    Definition Classes
    MappedCallbackCallback
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toFuture(implicit ex: ExecutionContext): Future[O]

    Permalink

    Hook a future into the callback and execute the caller.

    Hook a future into the callback and execute the caller. Use this if you need to hand a callback to something out-of-thread

    Definition Classes
    Callback
  22. val trigger: ((Try[I]) ⇒ Unit) ⇒ Unit

    Permalink
  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def withFilter(f: (O) ⇒ Boolean): Callback[O]

    Permalink
    Definition Classes
    Callback
  27. def zip[B, C](b: Callback[B], c: Callback[C]): Callback[(O, B, C)]

    Permalink
    Definition Classes
    Callback
  28. def zip[B](b: Callback[B]): Callback[(O, B)]

    Permalink
    Definition Classes
    Callback

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Callback[O]

Inherited from AnyRef

Inherited from Any

Ungrouped