c

com.digitalasset.canton.participant.protocol

ParallelMessageDispatcher

class ParallelMessageDispatcher extends MessageDispatcher with NamedLogging with Spanning

Dispatches the incoming messages of the com.digitalasset.canton.sequencing.client.SequencerClient to the different processors. It also informs the com.digitalasset.canton.participant.protocol.conflictdetection.RequestTracker about the passing of time for messages that are not processed by the com.digitalasset.canton.participant.protocol.ProtocolProcessor.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParallelMessageDispatcher
  2. Spanning
  3. NamedLogging
  4. MessageDispatcher
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParallelMessageDispatcher(protocolVersion: ProtocolVersion, synchronizerId: SynchronizerId, participantId: ParticipantId, requestTracker: RequestTracker, requestProcessors: RequestProcessors, topologyProcessor: ParticipantTopologyProcessor, trafficProcessor: TrafficControlProcessor, acsCommitmentProcessor: ProcessorType, requestCounterAllocator: RequestCounterAllocator, recordOrderPublisher: RecordOrderPublisher, badRootHashMessagesRequestProcessor: BadRootHashMessagesRequestProcessor, inFlightSubmissionSynchronizerTracker: InFlightSubmissionSynchronizerTracker, processAsyncronously: (ViewType) => Boolean, loggerFactory: NamedLoggerFactory, metrics: ConnectedSynchronizerMetrics)(implicit ec: ExecutionContext, tracer: Tracer)

Type Members

  1. type ProcessingAsyncResult = AsyncResult[TickDecision]
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  2. type ProcessingResult = FutureUnlessShutdown[ProcessingAsyncResult]
    Attributes
    protected
    Definition Classes
    MessageDispatcher

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. val acsCommitmentProcessor: ProcessorType
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  5. def alarm(sc: SequencerCounter, ts: CantonTimestamp, msg: String)(implicit traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val badRootHashMessagesRequestProcessor: BadRootHashMessagesRequestProcessor
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  8. def checkSingleRootHashMessage(rootHashMessages: Seq[OpenEnvelope[RootHashMessage[SerializedRootHashMessagePayload]]], hasEncryptedViews: Boolean): Checked[FailedRootHashMessageCheck, String, OpenEnvelope[RootHashMessage[SerializedRootHashMessagePayload]]]
    Definition Classes
    MessageDispatcher
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. def doProcess(kind: MessageKind): ProcessingResult
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  11. implicit val ec: ExecutionContext
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. def filterBatchForSynchronizerId(batch: Batch[DefaultOpenEnvelope], sc: SequencerCounter, ts: CantonTimestamp)(implicit traceContext: TraceContext): Seq[DefaultOpenEnvelope]
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def handleAll(tracedEvents: Traced[Seq[WithOpeningErrors[PossiblyIgnoredProtocolEvent]]]): HandlerResult
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. val inFlightSubmissionSynchronizerTracker: InFlightSubmissionSynchronizerTracker
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def logDeliveryError(sc: SequencerCounter, ts: CantonTimestamp, msgId: MessageId, status: Status)(implicit traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  22. def logEvent(sc: SequencerCounter, ts: CantonTimestamp, msgId: Option[MessageId], evt: SignedContent[SequencedEvent[DefaultOpenEnvelope]])(implicit traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  23. def logFaultyEvent(sc: SequencerCounter, ts: CantonTimestamp, msgId: Option[MessageId], err: WithOpeningErrors[SequencedEvent[DefaultOpenEnvelope]])(implicit traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  24. def logTimeProof(sc: SequencerCounter, ts: CantonTimestamp)(implicit traceContext: TraceContext): Unit
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  25. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  26. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherNamedLogging
  27. val metrics: ConnectedSynchronizerMetrics
  28. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. def observeDeliverError(error: DeliverError)(implicit traceContext: TraceContext): ProcessingResult
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  34. def observeSequencing(events: Seq[RawProtocolEvent])(implicit traceContext: TraceContext): ProcessingResult
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  35. val participantId: ParticipantId
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  36. def processBatch(sequencerCounter: SequencerCounter, eventE: WithOpeningErrors[SignedContent[Deliver[DefaultOpenEnvelope]]])(implicit traceContext: TraceContext): ProcessingResult

    Rules for processing batches of envelopes:

    Rules for processing batches of envelopes:

    Attributes
    protected
    Definition Classes
    MessageDispatcher
  37. def processTopologyTransactions(sc: SequencerCounter, ts: SequencedTime, topologyTimestampO: Option[CantonTimestamp], envelopes: Seq[DefaultOpenEnvelope])(implicit traceContext: TraceContext): ProcessingResult
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  38. def processTraffic(ts: CantonTimestamp, timestampOfSigningKeyO: Option[CantonTimestamp], envelopes: Seq[DefaultOpenEnvelope])(implicit traceContext: TraceContext): ProcessingResult
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  39. implicit val processingAsyncResultMonoid: Monoid[ProcessingAsyncResult]
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  40. val protocolVersion: ProtocolVersion
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  41. def pureProcessingResult: ProcessingResult
    Attributes
    protected
    Definition Classes
    MessageDispatcher
  42. val recordOrderPublisher: RecordOrderPublisher
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  43. val requestCounterAllocator: RequestCounterAllocator
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  44. val requestProcessors: RequestProcessors
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  45. val requestTracker: RequestTracker
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. val synchronizerId: SynchronizerId
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. val topologyProcessor: ParticipantTopologyProcessor
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  50. val trafficProcessor: TrafficControlProcessor
    Attributes
    protected
    Definition Classes
    ParallelMessageDispatcherMessageDispatcher
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. def withNewTrace[A](description: String)(f: (TraceContext) => (SpanWrapper) => A)(implicit tracer: Tracer): A
    Attributes
    protected
    Definition Classes
    Spanning
  55. def withSpan[A](description: String)(f: (TraceContext) => (SpanWrapper) => A)(implicit traceContext: TraceContext, tracer: Tracer): A
    Attributes
    protected
    Definition Classes
    Spanning
  56. def withSpanFromGrpcContext[A](description: String)(f: (TraceContext) => (SpanWrapper) => A)(implicit tracer: Tracer): A
    Attributes
    protected
    Definition Classes
    Spanning

Deprecated Value Members

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

    (Since version 9)

Inherited from Spanning

Inherited from NamedLogging

Inherited from MessageDispatcher

Inherited from AnyRef

Inherited from Any

Ungrouped