trait ApplicationHandler[-Box[+_ <: Envelope[_]], -Env <: Envelope[_]] extends (BoxedEnvelope[Box, Env]) => HandlerResult
An application handler processes boxed envelopes and returns a HandlerResult
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ApplicationHandler
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def apply(v1: BoxedEnvelope[Box, Env]): HandlerResult
- Definition Classes
- Function1
- abstract def name: String
Human-readable name of the application handler for logging and debugging
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[A](g: (HandlerResult) => A): (BoxedEnvelope[Box, Env]) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def combineWith[Box2[+X <: Envelope[_]] <: Box[X], Env2 <: Env](other: ApplicationHandler[Box2, Env2])(implicit ec: ExecutionContext): ApplicationHandler[Box2, Env2]
Run the
other
ApplicationHandler afterthis
. - def compose[A](g: (A) => BoxedEnvelope[Box, Env]): (A) => HandlerResult
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])