com.digitalasset.canton.sequencing.traffic
TrafficControlProcessor
Companion object TrafficControlProcessor
class TrafficControlProcessor extends UnsignedProtocolEventHandler with NamedLogging
- Alphabetic
- By Inheritance
- TrafficControlProcessor
- NamedLogging
- ApplicationHandler
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrafficControlProcessor(cryptoApi: SynchronizerCryptoClient, synchronizerId: SynchronizerId, maxFromStoreO: => Option[CantonTimestamp], loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)
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[UnsignedEnvelopeBox, DefaultOpenEnvelope]) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(tracedBatch: BoxedEnvelope[UnsignedEnvelopeBox, DefaultOpenEnvelope]): HandlerResult
- Definition Classes
- TrafficControlProcessor → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def combineWith[Box2[+X <: Envelope[_]] <: UnsignedEnvelopeBox[X], Env2 <: DefaultOpenEnvelope](other: ApplicationHandler[Box2, Env2])(implicit ec: ExecutionContext): ApplicationHandler[Box2, Env2]
Run the
other
ApplicationHandler afterthis
.Run the
other
ApplicationHandler afterthis
.- Definition Classes
- ApplicationHandler
- def compose[A](g: (A) => BoxedEnvelope[UnsignedEnvelopeBox, DefaultOpenEnvelope]): (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
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- TrafficControlProcessor → NamedLogging
- val name: String
Human-readable name of the application handler for logging and debugging
Human-readable name of the application handler for logging and debugging
- Definition Classes
- TrafficControlProcessor → ApplicationHandler
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def processSetTrafficPurchasedEnvelopes(ts: CantonTimestamp, topologyTimestampO: Option[CantonTimestamp], envelopes: Seq[OpenEnvelope[ProtocolMessage]])(implicit traceContext: TraceContext): FutureUnlessShutdown[Unit]
- 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.Replaces the application handler's processing with
f
and leaves the subscriptionStartsAt logic and the name the same.- Definition Classes
- ApplicationHandler
- def subscribe(subscriber: TrafficControlSubscriber): Unit
- def subscriptionStartsAt(start: SubscriptionStart, synchronizerTimeTracker: SynchronizerTimeTracker)(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.
- synchronizerTimeTracker
The synchronizer time tracker that listens to this application handler's subscription
- Definition Classes
- TrafficControlProcessor → ApplicationHandler
- 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])