Packages

trait ApplicationHandler[-Box[+_ <: Envelope[_]], -Env <: Envelope[_]] extends (BoxedEnvelope[Box, Env]) => HandlerResult

An application handler processes boxed envelopes and returns a HandlerResult

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApplicationHandler
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(v1: BoxedEnvelope[Box, Env]): HandlerResult
    Definition Classes
    Function1
  2. abstract def name: String

    Human-readable name of the application handler for logging and debugging

  3. abstract def subscriptionStartsAt(start: SubscriptionStart, domainTimeTracker: DomainTimeTracker)(implicit traceContext: TraceContext): FutureUnlessShutdown[Unit]

    Called by the com.digitalasset.canton.sequencing.client.SequencerClient before the start of a subscription.

    Called by the com.digitalasset.canton.sequencing.client.SequencerClient before the start of a subscription.

    domainTimeTracker

    The domain time tracker that listens to this application handler's subscription

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (HandlerResult) => A): (BoxedEnvelope[Box, Env]) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def combineWith[Box2[+X <: Envelope[_]] <: Box[X], Env2 <: Env](other: ApplicationHandler[Box2, Env2])(implicit ec: ExecutionContext): ApplicationHandler[Box2, Env2]

    Run the other ApplicationHandler after this.

  8. def compose[A](g: (A) => BoxedEnvelope[Box, Env]): (A) => HandlerResult
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def replace[Box2[+_ <: Envelope[_]], Env2 <: Envelope[_]](f: (BoxedEnvelope[Box2, Env2]) => HandlerResult): ApplicationHandler[Box2, Env2]

    Replaces the application handler's processing with f and leaves the subscriptionStartsAt logic and the name the same.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from (BoxedEnvelope[Box, Env]) => HandlerResult

Inherited from AnyRef

Inherited from Any

Ungrouped